Hi archie,
The given code helped me a bit further, i'm able to read and write values to the drive.
Only 1 piece won't give....
I need to write different bits in different stages of the drive.
The parameter is 6914:
DCOMcontrol
-
-
Drivecom control word (165)
For bit coding, see Chapter on operation,
operating states
Bit0: Switch On
Bit1: Enable Voltage
Bit2: Quick Stop
Bit3: Enable Operation
Bit4..6: op. mode specific
Bit7: Fault Reset
Bit8: Halt
Bit9..15: reserved (must be 0)
-
-
0
-
UINT16
UINT16
R/W
-
-
CANopen 6040:0h
Modbus 6914
Normaly i would write a value of "0 15" which is in bitcode "0000 1111"
I tried this with a modbus.write action but it keeps writing the wrong value
On the bus monitor i can see this value:
01 10 1B 02 00 02 04 00 00 41 70 FD 32
while it should be:
01 10 1B 02 00 02 04 00 00 00 0F 8C 82
Where am i making a thinking error
Greets
Martinus