CANOpen PLC

4 years 9 months ago #29531471 by Dman
CANOpen PLC was created by Dman
I would like to read and write values to the Roboteq through the CANOpen. I am new to using CANOpen. I am using a Delta Automation PLC with the DVPCOPM-LS to communicate. The CANopen builder shows the Roboteq on Node 2. I installed the Roboteq SDO table. I was able to monitor the values with the CANopen builder from Delta. What is the proper setup to send a request to the Roboteq to receive the joystick integer value at the Index 2101 sub 1 and the index 2101 sub 2 for the Y joystick? I also want to receive the Index 210e sub 1 to monitor the DIGITAL INPUTs. I need to know the ladder logic for the PLC program. I attached an image of what does not work!
Attachments:

Please Log in or Create an account to join the conversation.

4 years 9 months ago #29531485 by niko
Replied by niko on topic CANOpen PLC
CANOpen protocol in our controllers works as the standard dictates. We have no knowledge of the PLC you use and we cannot help you in that.

Just to mention that in order to see the digital inputs you need index 0x210e and subindex 0.

Please Log in or Create an account to join the conversation.

4 years 9 months ago #29531494 by Dman
Replied by Dman on topic CANOpen PLC
The problem is above example is that CANOPen must request the proper number of data bytes or it will have a time-out error. The Roboteq joystick is saved to a 4 bytes. It you try to read it with 2 bytes or 8 bytes it will not work. The joystick value will be received into the D6005 address after posting a zero reset all and then send the CANOpen request using the setup from D6250 to D6254. That attached PLC ladder logic for the Delta Automation PLC works. It checks the Index 2101 sub 1 every second using M1013.

Attachments:
The following user(s) said Thank You: niko

Please Log in or Create an account to join the conversation.

2 years 3 months ago #29533813 by redado74
Replied by redado74 on topic CANOpen PLC
Dear Dman, where can I contact you for a Delta CanOpen issue?

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.417 seconds