admin管理员组

文章数量:1395248

I am using a CX8050 with CANopen and have an issue with a CAN device that can operate at a baud rate of either 250k or 500k. In order for the device to start functioning (i.e., sending data), I first need to send a specific telegram to a specific address, which I do via TwinCAT PLC Control.

However, the problem is that the CAN device does not send any signals in return. I have noticed the following behavior:

  1. If I set up the configuration file in TwinCAT System Manager

  2. Load my program into the PLC (log in and start), I receive signals from the CAN device

  3. This can be seen in TwinCAT System Manager by starting the monitoring and updating CAN messages

  4. If I then recreate the configuration file, the connection to the PLC program is interrupted (which is expected)

  5. Load my program into the PLC again (log in and start), I receive signals from the CAN device again

  6. This can also be observed in TwinCAT System Manager (monitoring and updating CAN messages)

  7. However, after a power cycle (turning the power off and on), I no longer receive signals unless I repeat these steps from the beginning.

Does anyone have an idea why the communication is only allowed on the second attempt and how to resolve this issue?

本文标签: