Search FAQs
READ_VAR error 512
Issue
READ_VAR is returning error 512 (200 Hex) for a 3rd party device.
Product line
Control Expert, Unity Pro, Modicon M340, Modicon M580, Modicon Premium
Resolution
A value of 2 in the Most Significant Byte of the second word of the GEST management parameter is defined as Incorrect response.
1. It is possible that the device does not support the command that you sent it.
2. Make sure that you are reading the correct address type. Sometimes the OBJ needs to be '%IW' instead of '%MW' or vice versa. (can also be %I or %M)
3. If using Ethernet, it is possible that the index (device number) needs to be changed or added in the READ_VAR for the device. Sometimes the device will require an index of 255 (or some other number). You can add this after the Ip address 'Ethernet_port{xxx.xxx.xxx.xxx}255'
READ_VAR is returning error 512 (200 Hex) for a 3rd party device.
Product line
Control Expert, Unity Pro, Modicon M340, Modicon M580, Modicon Premium
Resolution
A value of 2 in the Most Significant Byte of the second word of the GEST management parameter is defined as Incorrect response.
1. It is possible that the device does not support the command that you sent it.
2. Make sure that you are reading the correct address type. Sometimes the OBJ needs to be '%IW' instead of '%MW' or vice versa. (can also be %I or %M)
3. If using Ethernet, it is possible that the index (device number) needs to be changed or added in the READ_VAR for the device. Sometimes the device will require an index of 255 (or some other number). You can add this after the Ip address 'Ethernet_port{xxx.xxx.xxx.xxx}255'
Released for:Schneider Electric USA
Explore more