CM CanOpen - RDREC does not read process image data

Hello everyone,

What’s the correct way to read a process image with RDREC?
I test CM CANopen module with the STP-075-07 motor driver.
Process image is created using CM CANopen Cofiguration Studio and uploaded to the CM CANopen module. I expect CM CANopen module to be able to access “Status word” and “Control word” of the motor driver:


RDRREC function is used to read the Process Image (as described in the CM CANopen user manual):

Data record number (INDEX) is 0090h as specified in the CM CANopen module manual. But there are only zeroes coming in the CanProcessImageIn and CanProcessImageOut arrays.
PS. CANopen network itself works because i’m receiving heartbeat signal from the step motor driver and network indicators are green.

Any ideas what could have gone wrong?

Hi All,

Maybe will be useful for someone.
Size of the “CanProcessImageIn” and “CanProcessImageOut” arrays must correspond to the size of the data being read from the device or written to the device as it was configured in “CM CANopen Cofiguration Studio”. Otherwise you have a read/write access error. That was my mistake.

So, this issue is closed.