I'm writing some C code to read values from Codesys Raspberry Pi PLC using CIP Class 3 connected explicit messages. I can already connect to Ethernet/IP adapter and register session but I still can not read variable values.
I'm using CIP Read Tag Service (0x4C) and passing a symbol (tag) with syntax "Application.PLC_PRG.varname".
Ethernet/IP adapter responds with error status == 0x04 that CIP specs explains with: "The path segment identifier or the segment syntax was not understood by the processing node. Path processing shall stop when a path segment error is encountered"
Are Class 3 explicit messages and service 0x4C implemented ?
Am I using the correct syntax?
I already marked for export the variables in the Symbol Configuration.
Thanks in advanced !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I'm writing some C code to read values from Codesys Raspberry Pi PLC using CIP Class 3 connected explicit messages. I can already connect to Ethernet/IP adapter and register session but I still can not read variable values.
I'm using CIP Read Tag Service (0x4C) and passing a symbol (tag) with syntax "Application.PLC_PRG.varname".
Ethernet/IP adapter responds with error status == 0x04 that CIP specs explains with: "The path segment identifier or the segment syntax was not understood by the processing node. Path processing shall stop when a path segment error is encountered"
Are Class 3 explicit messages and service 0x4C implemented ?
Am I using the correct syntax?
I already marked for export the variables in the Symbol Configuration.
Thanks in advanced !