Hello all,
I am trying to read data from an invertek ODE3 drive that has a OPC-3-MTPIG-IN modbus TCP converter.
I am using a siemens 1510SP and the MB client.
This is what the code looks like:
"MB_FO_P03_CLIENT"(REQ:="MB_FO_P03_Comms".GetData,
DISCONNECT:=false,
MB_MODE:=0,
MB_DATA_ADDR:=40008,
MB_DATA_LEN:=2,
DONE=>"MB_FO_P03_CLIENT".DONE,
BUSY=>"MB_FO_P03_CLIENT".BUSY,
ERROR=>"MB_FO_P03_CLIENT".ERROR,
STATUS=>"MB_FO_P03_CLIENT".STATUS,
MB_DATA_PTR:="MB_FO_P03_Data".DataBuffFloat,
CONNECT:="MB_FO_P03_Comms".Connection);
The PLC connects fine and it sends and recieves data, but I get the error message 16#8381 (Function code is not supported)
The address that I'm trying to read is hold register 8, so I think I should use 40008 for the address.
Anyone any idea, or has anyone worked with a setup like this before?
The logic I'm using works on other branded drives, i just can't get this setup to work.