Hi,
I want to use an Windows PC with Setup_CODESYSControlRTE64V3.5SP10.exe installed as an EtherCAT Master with two Nanotec motor controls as slaves:
When i log in my Device an Error pops up:
It says, that i have different versions of my device on my pc and in my project. i have to upgrade or downgrade the version in my project.
But i am using "CODESYS Softmotion RTE V3 x64 3.5.10.0" in my project and "CODESYS Control RTE V3 Version 3.5.10.0" an my pc. So i don't understand, why there is a version conflict.
After the error pops up, i have 8 errors of unresolved references, as you can see in the first picture.
Can someone help me please?
should work that way... on Intel driver you need really a reboot (with switching off the pc) because of the CODESYS nic driver..
please do this and try it again... it should from my point of view work.
After reboot please check the plc logger.... (scan the ethercat net work with rightclick on the master in the device tree and then check the plc logger)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i created a new project and scanned with the master for slaves. He detected them without problems and i was able to add them to my device tree. as you can see in the picture i added all the checkmarks in the PDO configuration.
Unfortunatelly the plc log puts out the same errors and warnings like before:
"AL Status from slave address 1001 status 16#1E
AL Status from slave address 1002 status 16#1E
...."
"Warning: number of slaves has changed or is different to the configuration!"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i finally solved the problem by resetting the Motor Controls. After that, the EtherCAT autoconfig worked and i can control the motors with the function blocks MC_POWER and MC_MoveAbsolute.
When i do this, the motors start to move, but they are shaking unusually. I uploaded a video of this behavior in my dropbox:
When i did the Auto-Setup in the Web Interface of the Motor Controls, they were moving "normally" (not shaking). So i guess the error is in the codesys settings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
you need to use an own low priority task which calls the TCP server stuff beside your Ethercat/Motion Task.
This will solve the problem/noise on the motor.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had this problem before, when I just tested the soft motion blocks without anything else. The tcp stuff wasn't even part of the program at this time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
did you check your RTE realtime capabilities?
If you are online with CODESYS in the Task configuration you see this jitter measurements.
Is this in a good shape? (Usually you should see 30-40us jitter on the Ethercat/MotionTask after doing a reset by righclick on this line)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I put the C6 in the main task, because if i put it in the task below, the axis disconnect when the first move function block is enabled.
I just recognized that, - as you can see in the picture at the top- codesys says, that the Ethercat is running, but in the online configuration interface of the motor control there is displayed : "No Sync" and distributed Clocks is not running:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
reset by righclick to the line the jitter measurement.
Are you now on BeagleBone or is this SoftMotion RTE?
I want to see <+/-100us here for BBB with attached rt_preemt patch which is mandatory... to have applied (and disabled governer)
For RTE on Windows it is +/-50us with proper bios settings (Speedstep off, C-States off - checked by CPUZ - Google it)
For both platforms a mandatory requirement is a stable CPU Clock
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I want to use an Windows PC with Setup_CODESYSControlRTE64V3.5SP10.exe installed as an EtherCAT Master with two Nanotec motor controls as slaves:
When i log in my Device an Error pops up:
It says, that i have different versions of my device on my pc and in my project. i have to upgrade or downgrade the version in my project.
But i am using "CODESYS Softmotion RTE V3 x64 3.5.10.0" in my project and "CODESYS Control RTE V3 Version 3.5.10.0" an my pc. So i don't understand, why there is a version conflict.
After the error pops up, i have 8 errors of unresolved references, as you can see in the first picture.
Can someone help me please?
here is my project archive:
https://www.dropbox.com/sh/gx9sg0buwafa ... Zwmqa?dl=0 m
Hi,
you need to install the CODESYS ethercat Driver (Windows device manager), see the RTE manual.
Ethercat is supported by the following Β network interfaces:
Realtek 8139 (CmpRTL81x9Mpd)
Realtek RTL8139 (and compatible nic's) Ethernet-Contoller.
the 8100 und 8110 are compatible too.
Realtek 8169 (CmpRTL8169Mpd)
Realtek 8169/810
Realtek RTL8111B / RTL8111D
Intel EtherExpressPro1000 (CmpEt1000Drv )
Intel 82541,82547,82567,82571,82573,82574,82583V, i210, i217-LM
Intel EtherExpress PRO/100 (CmpEt100Drv)
Intel 82551,82557,82559, 82558, 82557 and 82550
BR
Edwin
Ok, thank you. Now i can log in and Start.
But the Status of the EtherCAT Master says: "Bus not running".
I have no idea how to configure EtherCAT correctly. The only thing i did was choosing the sorce mac adress:
Hi,
should work that way... on Intel driver you need really a reboot (with switching off the pc) because of the CODESYS nic driver..
please do this and try it again... it should from my point of view work.
After reboot please check the plc logger.... (scan the ethercat net work with rightclick on the master in the device tree and then check the plc logger)
BR
Edwin
even though i rebooted the pc, the bus is still not running...
the plc logger says:
i also uploaded the plc_logger in my dropbox: (i also updated my project archive)
https://www.dropbox.com/sh/gx9sg0buwafa ... Zwmqa?dl=0 m
Hi,
but know from RTE driver side it is ok now.
Please try to execute a scan by rightclick on the master, does the scan reconize your slaves?
AL Status Error Code 0x001D Meaning:
Invalid Output Configuration
So I would recommend to check the PDO configuration of the slave. (In the CODESYS slave tab)
BR
Edwin
Hi,
i created a new project and scanned with the master for slaves. He detected them without problems and i was able to add them to my device tree. as you can see in the picture i added all the checkmarks in the PDO configuration.
Unfortunatelly the plc log puts out the same errors and warnings like before:
"AL Status from slave address 1001 status 16#1E
AL Status from slave address 1002 status 16#1E
...."
"Warning: number of slaves has changed or is different to the configuration!"
Hi,
i finally solved the problem by resetting the Motor Controls. After that, the EtherCAT autoconfig worked and i can control the motors with the function blocks MC_POWER and MC_MoveAbsolute.
When i do this, the motors start to move, but they are shaking unusually. I uploaded a video of this behavior in my dropbox:
https://www.dropbox.com/sh/gx9sg0buwafa ... Zwmqa?dl=0
When i did the Auto-Setup in the Web Interface of the Motor Controls, they were moving "normally" (not shaking). So i guess the error is in the codesys settings.
Hi,
Need the projectarchive to check...
BR
Edwin
ok i uploaded the archive to my dropbox
Hi,
you need to use an own low priority task which calls the TCP server stuff beside your Ethercat/Motion Task.
This will solve the problem/noise on the motor.
BR
Edwin
I had this problem before, when I just tested the soft motion blocks without anything else. The tcp stuff wasn't even part of the program at this time.
Hi,
did you check your RTE realtime capabilities?
If you are online with CODESYS in the Task configuration you see this jitter measurements.
Is this in a good shape? (Usually you should see 30-40us jitter on the Ethercat/MotionTask after doing a reset by righclick on this line)
BR
Edwin
Most of the Jitter values are between -15 and 35.
I put the C6 in the main task, because if i put it in the task below, the axis disconnect when the first move function block is enabled.
I just recognized that, - as you can see in the picture at the top- codesys says, that the Ethercat is running, but in the online configuration interface of the motor control there is displayed : "No Sync" and distributed Clocks is not running:
Hi,
reset by righclick to the line the jitter measurement.
Are you now on BeagleBone or is this SoftMotion RTE?
I want to see <+/-100us here for BBB with attached rt_preemt patch which is mandatory... to have applied (and disabled governer)
For RTE on Windows it is +/-50us with proper bios settings (Speedstep off, C-States off - checked by CPUZ - Google it)
For both platforms a mandatory requirement is a stable CPU Clock
BR
Edwin
Will realtek 8111G work with CoDeSys.
Hi,
yes should work with
CmpRTL8169driver...
BR
Edwin