How to pack / unpack single BIT
s in PDO input
/ output
#141
Labels
help wanted
Extra attention is needed
BIT
s in PDO input
/ output
#141
Today I have been struggling to control a stepper motor using a Beckhoff EL7031-0030 terminal.
The problem I'm facing now I don't know how to unpack the EtherCAT slave outputs and how to pack the slave inputs, so I'm not sure if I'm correctly interfacing with the device.
I'm sticking with the default PDO entries for now, which include many
BIT
types. And I can't find how those translate to the bytes in the input and output.If somebody can point me to another full working example, in pysoem or SOEM itself, I'd also appreciated it.
The full code I have now:
The slave inputs as displayed in TwinCAT:
The text was updated successfully, but these errors were encountered: