We are trying to using Codesys softmotion rte to control delta CIA402 compatible drive.
The Codesys setting as below shows EtherCAT task/ EtherCAT master/ drive and system error/alarm log.
The initializing of the slave seems OK but when we using PLCOpen MC_POWER function block to servo on the drive, there are alarms in Codesys system log and there is an error show on the drive. The drive says "sync. signal transmit too fast". BTW, we have monitor the system jitter, it is below 50us(+-25us).
Is there expert from Codesys softmotion side could give us some parameter adjust recommendation/ direction? For sure, we would also ask support from Delta for this. We think it would be better to have some advice from both sides.
Any comment is appreciated and thanks in advance.
OS environment: Win7 SP1 + Softmotion RTE V3 X64(188.8.131.52)
why using 500us Task but on the ethercat master you specif 1000us?
This should be the same cycle time (would use 1000us)
You need to check the emergency info in the log from the drive.
Please call the PLC_PRG where the moition fb's are calle in the EthercatMaster task context. (remove MainTask)
(maybe this is related to the cycle time)
Thanks for your advice and I also got some recommendation from delta automation. After doing some trial, finally...we could servo on the drive and move with simple postion command but the Sync 0 cycle was set up to 40ms(please check attached picture) => a crazy number, isn't it??? If we are running position cam or position gearing in this cycle setting, is that means every 40ms the slave driver could get the updated master driver position information and do the response? And if that is true, we could have 40ms position error depends on previous command speed. Please correct me if I'm wrong.
I agree Looks strange... could I get the ESI file of the drive?
Please check the attached file. If you find something wrong, please do not hesitate to share with me and thanks in advance.
ASDA2 E rev3.32.xml [177.73 KiB]
I would use the default sync sttings then it should work.
For what reason you Change this to 10x?
The reason is the first post(top) here. When I try to using MC_POWER FB to servo on the driver, both of them shows an error message.
Log in to post a comment.