Changes for page LX5V-2RS485-BD
Last modified by Jim on 2023/05/29 16:00
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -L X5V-2RS485-BD1 +LV5V-2RS485-BD - Content
-
... ... @@ -172,12 +172,12 @@ 172 172 **Example:** 173 173 174 174 (% style="text-align:center" %) 175 -[[image:image-20220913154229-5.png ||class="img-thumbnail"]]175 +[[image:image-20220913154229-5.png]] 176 176 177 177 When M1 is ON, the sending and receiving data of communication after instruction execution are stored as follows: 178 178 179 179 (% style="text-align:center" %) 180 -[[image:image-20220913154229-6.jpeg ||class="img-thumbnail"]]180 +[[image:image-20220913154229-6.jpeg]] 181 181 182 182 == Modbus protocol == 183 183 ... ... @@ -186,7 +186,7 @@ 186 186 **Example:** 187 187 188 188 (% style="text-align:center" %) 189 -[[image:image-20220913154229-7.png ||class="img-thumbnail"]]189 +[[image:image-20220913154229-7.png]] 190 190 191 191 |=(% scope="row" style="width: 97px;" %)**(S)**|(% style="width:978px" %)The high byte stores the station number of the slave station, and the low byte stores the Modbus function code. 192 192 |=(% style="width: 97px;" %)**(M)**|(% style="width:978px" %)Slave station address The address provided by the slave station will read or write data from the address of slave station. ... ... @@ -205,86 +205,86 @@ 205 205 206 206 **Error code** 207 207 208 -|=(% scope="row" style="width: 99px;" %)**Error code**|=(% style="width: 976px;" %)**Content**209 -|=(% style="width: 99px;" %)4085H|(% style="width:976px" %)(S), (M), (D) and (N) read address out of range of the device.210 -|=(% style="width: 99px;" %)4084H|(% style="width:976px" %)Parameter value is out of the specified range.208 +|=(% scope="row" style="width: 107px;" %)**Error code**|=(% style="width: 968px;" %)**Content** 209 +|=(% style="width: 107px;" %)4085H|(% style="width:968px" %)(S), (M), (D) and (N) read address out of range of the device. 210 +|=(% style="width: 107px;" %)4084H|(% style="width:968px" %)Parameter value is out of the specified range. 211 211 |=(% colspan="2" %)**COM3** 212 -|=(% style="width: 99px;" %)3280H|(% style="width:976px" %)COM3 data reception error. There may be interference on the communication cable, it is recommended to connect GND.213 -|=(% style="width: 99px;" %)3281H|(% style="width:976px" %)COM3 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval".214 -|=(% style="width: 99px;" %)3282H|(% style="width:976px" %)COM3 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND.215 -|=(% style="width: 99px;" %)3283H|(% style="width:976px" %)COM3 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND.216 -|=(% style="width: 99px;" %)3284H|(% style="width:976px" %)COM3 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave.217 -|=(% style="width: 99px;" %)3285H|(% style="width:976px" %)COM3 send buffer overflow. If this error appears, please contact your technician.218 -|=(% style="width: 99px;" %)3286H|(% style="width:976px" %)COM3 function code error. Check whether the set function code is supported by PLC.219 -|=(% style="width: 99px;" %)3287H|(% style="width:976px" %)COM3 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02).220 -|=(% style="width: 99px;" %)3288H|(% style="width:976px" %)COM3 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol.221 -|=(% style="width: 99px;" %)3289H|(% style="width:976px" %)COM3 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03).222 -|=(% style="width: 99px;" %)328AH|(% style="width:976px" %)COM3 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06).223 -|=(% style="width: 99px;" %)328BH|(% style="width:976px" %)COM3 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01).224 -|=(% style="width: 99px;" %)328CH|(% style="width:976px" %)COM3 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed (Please refer to Modbus exception 04).225 -|=(% style="width: 99px;" %)328DH|(% style="width:976px" %)COM3 slave confirmation. Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05).226 -|=(% style="width: 99px;" %)328EH|(% style="width:976px" %)COM 3 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function.227 -|=(% style="width: 99px;" %)328FH|(% style="width:976px" %)COM3 sending timed out. If this error appears, please contact your technician.228 -|=(% style="width: 99px;" %)32A0H|(% style="width:976px" %)COM3 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A).229 -|=(% style="width: 99px;" %)32A1H|(% style="width:976px" %)COM3 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B).212 +|=(% style="width: 107px;" %)3280H|(% style="width:968px" %)COM3 data reception error. There may be interference on the communication cable, it is recommended to connect GND. 213 +|=(% style="width: 107px;" %)3281H|(% style="width:968px" %)COM3 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval". 214 +|=(% style="width: 107px;" %)3282H|(% style="width:968px" %)COM3 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 215 +|=(% style="width: 107px;" %)3283H|(% style="width:968px" %)COM3 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 216 +|=(% style="width: 107px;" %)3284H|(% style="width:968px" %)COM3 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave. 217 +|=(% style="width: 107px;" %)3285H|(% style="width:968px" %)COM3 send buffer overflow. If this error appears, please contact your technician. 218 +|=(% style="width: 107px;" %)3286H|(% style="width:968px" %)COM3 function code error. Check whether the set function code is supported by PLC. 219 +|=(% style="width: 107px;" %)3287H|(% style="width:968px" %)COM3 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02). 220 +|=(% style="width: 107px;" %)3288H|(% style="width:968px" %)COM3 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol. 221 +|=(% style="width: 107px;" %)3289H|(% style="width:968px" %)COM3 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03). 222 +|=(% style="width: 107px;" %)328AH|(% style="width:968px" %)COM3 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06). 223 +|=(% style="width: 107px;" %)328BH|(% style="width:968px" %)COM3 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01). 224 +|=(% style="width: 107px;" %)328CH|(% style="width:968px" %)COM3 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed (Please refer to Modbus exception 04). 225 +|=(% style="width: 107px;" %)328DH|(% style="width:968px" %)COM3 slave confirmation. Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05). 226 +|=(% style="width: 107px;" %)328EH|(% style="width:968px" %)COM 3 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function. 227 +|=(% style="width: 107px;" %)328FH|(% style="width:968px" %)COM3 sending timed out. If this error appears, please contact your technician. 228 +|=(% style="width: 107px;" %)32A0H|(% style="width:968px" %)COM3 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A). 229 +|=(% style="width: 107px;" %)32A1H|(% style="width:968px" %)COM3 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B). 230 230 |=(% colspan="2" %)**COM4** 231 -|=(% style="width: 99px;" %)3380H|(% style="width:976px" %)COM4 data reception error. There may be interference on the communication cable, it is recommended to connect GND.232 -|=(% style="width: 99px;" %)3381H|(% style="width:976px" %)COM4 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval".233 -|=(% style="width: 99px;" %)3382H|(% style="width:976px" %)COM4 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND.234 -|=(% style="width: 99px;" %)3383H|(% style="width:976px" %)COM4 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND.235 -|=(% style="width: 99px;" %)3384H|(% style="width:976px" %)COM4 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave.236 -|=(% style="width: 99px;" %)3385H|(% style="width:976px" %)COM4 send buffer overflow. If this error appears, please contact your technician.237 -|=(% style="width: 99px;" %)3386H|(% style="width:976px" %)COM4 function code error. Check whether the set function code is supported by PLC.238 -|=(% style="width: 99px;" %)3387H|(% style="width:976px" %)COM4 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02).239 -|=(% style="width: 99px;" %)3388H|(% style="width:976px" %)COM4 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol.240 -|=(% style="width: 99px;" %)3389H|(% style="width:976px" %)COM4 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03).241 -|=(% style="width: 99px;" %)338AH|(% style="width:976px" %)COM4 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06).242 -|=(% style="width: 99px;" %)338BH|(% style="width:976px" %)COM4 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01).243 -|=(% style="width: 99px;" %)338CH|(% style="width:976px" %)COM4 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed. (Please refer to Modbus exception 04).244 -|=(% style="width: 99px;" %)338DH|(% style="width:976px" %)COM4 slave confirmation Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05).245 -|=(% style="width: 99px;" %)338EH|(% style="width:976px" %)COM4 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function.246 -|=(% style="width: 99px;" %)338FH|(% style="width:976px" %)COM4 send timed out. If this error appears, please contact your technician.247 -|=(% style="width: 99px;" %)33A0H|(% style="width:976px" %)COM4 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A).248 -|=(% style="width: 99px;" %)33A1H|(% style="width:976px" %)COM4 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B).231 +|=(% style="width: 107px;" %)3380H|(% style="width:968px" %)COM4 data reception error. There may be interference on the communication cable, it is recommended to connect GND. 232 +|=(% style="width: 107px;" %)3381H|(% style="width:968px" %)COM4 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval". 233 +|=(% style="width: 107px;" %)3382H|(% style="width:968px" %)COM4 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 234 +|=(% style="width: 107px;" %)3383H|(% style="width:968px" %)COM4 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 235 +|=(% style="width: 107px;" %)3384H|(% style="width:968px" %)COM4 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave. 236 +|=(% style="width: 107px;" %)3385H|(% style="width:968px" %)COM4 send buffer overflow. If this error appears, please contact your technician. 237 +|=(% style="width: 107px;" %)3386H|(% style="width:968px" %)COM4 function code error. Check whether the set function code is supported by PLC. 238 +|=(% style="width: 107px;" %)3387H|(% style="width:968px" %)COM4 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02). 239 +|=(% style="width: 107px;" %)3388H|(% style="width:968px" %)COM4 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol. 240 +|=(% style="width: 107px;" %)3389H|(% style="width:968px" %)COM4 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03). 241 +|=(% style="width: 107px;" %)338AH|(% style="width:968px" %)COM4 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06). 242 +|=(% style="width: 107px;" %)338BH|(% style="width:968px" %)COM4 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01). 243 +|=(% style="width: 107px;" %)338CH|(% style="width:968px" %)COM4 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed. (Please refer to Modbus exception 04). 244 +|=(% style="width: 107px;" %)338DH|(% style="width:968px" %)COM4 slave confirmation Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05). 245 +|=(% style="width: 107px;" %)338EH|(% style="width:968px" %)COM4 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function. 246 +|=(% style="width: 107px;" %)338FH|(% style="width:968px" %)COM4 send timed out. If this error appears, please contact your technician. 247 +|=(% style="width: 107px;" %)33A0H|(% style="width:968px" %)COM4 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A). 248 +|=(% style="width: 107px;" %)33A1H|(% style="width:968px" %)COM4 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B). 249 249 250 250 |=(% colspan="2" scope="row" %)**COM5** 251 -|=(% style="width: 9 9px;" %)3480H|(% style="width:976px" %)COM5 data reception error. There may be interference on the communication cable, it is recommended to connect GND.252 -|=(% style="width: 9 9px;" %)3481H|(% style="width:976px" %)COM5 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval".253 -|=(% style="width: 9 9px;" %)3482H|(% style="width:976px" %)COM5 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND.254 -|=(% style="width: 9 9px;" %)3483H|(% style="width:976px" %)COM5 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND.255 -|=(% style="width: 9 9px;" %)3484H|(% style="width:976px" %)COM5 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave.256 -|=(% style="width: 9 9px;" %)3485H|(% style="width:976px" %)COM5 send buffer overflow. If this error appears, please contact your technician.257 -|=(% style="width: 9 9px;" %)3486H|(% style="width:976px" %)COM5 function code error. Check whether the set function code is supported by PLC.258 -|=(% style="width: 9 9px;" %)3487H|(% style="width:976px" %)COM5 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02).259 -|=(% style="width: 9 9px;" %)3488H|(% style="width:976px" %)COM5 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol.260 -|=(% style="width: 9 9px;" %)3489H|(% style="width:976px" %)COM5 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03).261 -|=(% style="width: 9 9px;" %)348AH|(% style="width:976px" %)COM5 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06).262 -|=(% style="width: 9 9px;" %)348BH|(% style="width:976px" %)COM5 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01).263 -|=(% style="width: 9 9px;" %)348CH|(% style="width:976px" %)COM5 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed. (Please refer to Modbus exception 04).264 -|=(% style="width: 9 9px;" %)348DH|(% style="width:976px" %)COM5 slave station confirmation Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05).265 -|=(% style="width: 9 9px;" %)348EH|(% style="width:976px" %)COM5 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function.266 -|=(% style="width: 9 9px;" %)348FH|(% style="width:976px" %)COM5 send timed out. If this error appears, please contact your technician.267 -|=(% style="width: 9 9px;" %)34A0H|(% style="width:976px" %)COM5 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A).268 -|=(% style="width: 9 9px;" %)34A1H|(% style="width:976px" %)COM5 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B).251 +|=(% style="width: 139px;" %)3480H|(% style="width:936px" %)COM5 data reception error. There may be interference on the communication cable, it is recommended to connect GND. 252 +|=(% style="width: 139px;" %)3481H|(% style="width:936px" %)COM5 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval". 253 +|=(% style="width: 139px;" %)3482H|(% style="width:936px" %)COM5 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 254 +|=(% style="width: 139px;" %)3483H|(% style="width:936px" %)COM5 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 255 +|=(% style="width: 139px;" %)3484H|(% style="width:936px" %)COM5 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave. 256 +|=(% style="width: 139px;" %)3485H|(% style="width:936px" %)COM5 send buffer overflow. If this error appears, please contact your technician. 257 +|=(% style="width: 139px;" %)3486H|(% style="width:936px" %)COM5 function code error. Check whether the set function code is supported by PLC. 258 +|=(% style="width: 139px;" %)3487H|(% style="width:936px" %)COM5 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02). 259 +|=(% style="width: 139px;" %)3488H|(% style="width:936px" %)COM5 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol. 260 +|=(% style="width: 139px;" %)3489H|(% style="width:936px" %)COM5 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03). 261 +|=(% style="width: 139px;" %)348AH|(% style="width:936px" %)COM5 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06). 262 +|=(% style="width: 139px;" %)348BH|(% style="width:936px" %)COM5 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01). 263 +|=(% style="width: 139px;" %)348CH|(% style="width:936px" %)COM5 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed. (Please refer to Modbus exception 04). 264 +|=(% style="width: 139px;" %)348DH|(% style="width:936px" %)COM5 slave station confirmation Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05). 265 +|=(% style="width: 139px;" %)348EH|(% style="width:936px" %)COM5 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function. 266 +|=(% style="width: 139px;" %)348FH|(% style="width:936px" %)COM5 send timed out. If this error appears, please contact your technician. 267 +|=(% style="width: 139px;" %)34A0H|(% style="width:936px" %)COM5 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A). 268 +|=(% style="width: 139px;" %)34A1H|(% style="width:936px" %)COM5 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B). 269 269 |=(% colspan="2" %)COM6 270 -|=(% style="width: 9 9px;" %)3580H|(% style="width:976px" %)COM6 data reception error. There may be interference on the communication cable, it is recommended to connect GND.271 -|=(% style="width: 9 9px;" %)3581H|(% style="width:976px" %)COM6 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval".272 -|=(% style="width: 9 9px;" %)3582H|(% style="width:976px" %)COM6 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND.273 -|=(% style="width: 9 9px;" %)3583H|(% style="width:976px" %)COM6 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND.274 -|=(% style="width: 9 9px;" %)3584H|(% style="width:976px" %)COM6 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave.275 -|=(% style="width: 9 9px;" %)3585H|(% style="width:976px" %)COM6 send buffer overflow. If this error appears, please contact your technician.276 -|=(% style="width: 9 9px;" %)3586H|(% style="width:976px" %)COM6 function code error. Check whether the set function code is supported by PLC.277 -|=(% style="width: 9 9px;" %)3587H|(% style="width:976px" %)COM6 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02).278 -|=(% style="width: 9 9px;" %)3588H|(% style="width:976px" %)COM6 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol.279 -|=(% style="width: 9 9px;" %)3589H|(% style="width:976px" %)COM6 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03).280 -|=(% style="width: 9 9px;" %)358AH|(% style="width:976px" %)COM6 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06).281 -|=(% style="width: 9 9px;" %)358BH|(% style="width:976px" %)COM6 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01).282 -|=(% style="width: 9 9px;" %)358CH|(% style="width:976px" %)COM6 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed. (Please refer to Modbus exception 04).283 -|=(% style="width: 9 9px;" %)358DH|(% style="width:976px" %)COM6 slave station acknowledges. Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05).284 -|=(% style="width: 9 9px;" %)358EH|(% style="width:976px" %)COM6 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function.285 -|=(% style="width: 9 9px;" %)358FH|(% style="width:976px" %)COM6 send timed out. If this error appears, please contact your technician.286 -|=(% style="width: 9 9px;" %)35A0H|(% style="width:976px" %)COM6 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A).287 -|=(% style="width: 9 9px;" %)35A1H|(% style="width:976px" %)COM6 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B).270 +|=(% style="width: 139px;" %)3580H|(% style="width:936px" %)COM6 data reception error. There may be interference on the communication cable, it is recommended to connect GND. 271 +|=(% style="width: 139px;" %)3581H|(% style="width:936px" %)COM6 data reception timed out. Check the wiring, whether the serial port parameter settings correspond to master and slave, and whether there is interference. Check whether the response from the station is too late. It is recommended to increase the “sending interval". 272 +|=(% style="width: 139px;" %)3582H|(% style="width:936px" %)COM6 CRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 273 +|=(% style="width: 139px;" %)3583H|(% style="width:936px" %)COM6 LRC validation error. There may be interference on the communication cable, it is recommended to connect GND. 274 +|=(% style="width: 139px;" %)3584H|(% style="width:936px" %)COM6 station number is incorrectly configured. Check the slave station number setting, and check whether there is any problem with the receiving and sending mechanism from slave. 275 +|=(% style="width: 139px;" %)3585H|(% style="width:936px" %)COM6 send buffer overflow. If this error appears, please contact your technician. 276 +|=(% style="width: 139px;" %)3586H|(% style="width:936px" %)COM6 function code error. Check whether the set function code is supported by PLC. 277 +|=(% style="width: 139px;" %)3587H|(% style="width:936px" %)COM6 address error. Check whether the slave station has this address. (Please refer to Modbus exception 02). 278 +|=(% style="width: 139px;" %)3588H|(% style="width:936px" %)COM6 length error. Check whether the communication length exceeds the length range specified by Modbus protocol or user-defined protocol. 279 +|=(% style="width: 139px;" %)3589H|(% style="width:936px" %)COM6 data error. Check the parameters of the instruction for errors. Check whether the set value is supported by the slave station. (Please refer to Modbus exception 03). 280 +|=(% style="width: 139px;" %)358AH|(% style="width:936px" %)COM6 slave station is busy. Message returned from slave station: Slave station is busy. (Please refer to Modbus exception 06). 281 +|=(% style="width: 139px;" %)358BH|(% style="width:936px" %)COM6 slave does not support function codes. Check whether this function code is supported by the slave station. (Please refer to Modbus exception 01). 282 +|=(% style="width: 139px;" %)358CH|(% style="width:936px" %)COM6 slave failure. Message returned from slave station: Slave station failed, please check whether slave station failed. (Please refer to Modbus exception 04). 283 +|=(% style="width: 139px;" %)358DH|(% style="width:936px" %)COM6 slave station acknowledges. Message returned from slave station: slave station confirmation. (Please refer to Modbus exception 05). 284 +|=(% style="width: 139px;" %)358EH|(% style="width:936px" %)COM6 does not currently support this instruction or function. When set to slave protocol, the communication instructions related to master station or master station functions cannot be used. Please change the protocol or close the contact before the corresponding instruction or close the corresponding communication function. 285 +|=(% style="width: 139px;" %)358FH|(% style="width:936px" %)COM6 send timed out. If this error appears, please contact your technician. 286 +|=(% style="width: 139px;" %)35A0H|(% style="width:936px" %)COM6 unavailable gateway Message returned from the station: unavailable gateway. (Please refer to Modbus exception 0A). 287 +|=(% style="width: 139px;" %)35A1H|(% style="width:936px" %)COM6 indicates that no response was obtained from the target device. Message returned from the station: The device is not in the network. (Please refer to Modbus Exception 0B). 288 288 289 289 **6 Address mapping** 290 290 ... ... @@ -291,27 +291,27 @@ 291 291 When the BD board configures the serial port protocol as Modbus slave station protocol, the address mapping relationship accessed by the master station is as follows: 292 292 293 293 |=(% colspan="5" %)**Word address** 294 -| (% style="width:213px" %)**Address type**|(% style="width:212px" %)**Occupation**|(% style="width:226px" %)**Address range**|(% style="width:173px" %)**Decimal address**|(% style="width:252px" %)**Total reserved address size**295 -| (% style="width:213px" %)T0 to T511|(% style="width:212px" %)512 WORD|(% style="width:226px" %)0x0000 to 0x01ff|(% style="width:173px" %)0|(% style="width:252px" %)1536296 -| (% style="width:213px" %)C0 to C255|(% style="width:212px" %)256 WORD|(% style="width:226px" %)0x0600 to 0x06ff|(% style="width:173px" %)1536|(% style="width:252px" %)1024297 -| (% style="width:213px" %)LC0 to LC255|(% style="width:212px" %)512 WORD|(% style="width:226px" %)0x0A000 to 0x0BFF|(% style="width:173px" %)2560|(% style="width:252px" %)1024298 -| (% style="width:213px" %)HSC0 to HSC15|(% style="width:212px" %)128 WORD|(% style="width:226px" %)0x0E00 to 0x0E1F|(% style="width:173px" %)3584|(% style="width:252px" %)512299 -| (% style="width:213px" %)D0 to D7999|(% style="width:212px" %)8000 WORD|(% style="width:226px" %)0x1000 to 0x2F3F|(% style="width:173px" %)4096|(% style="width:252px" %)16384300 -| (% style="width:213px" %)SD0 to SD4095|(% style="width:212px" %)4096 WORD|(% style="width:226px" %)0x5000 to 0x5FFF|(% style="width:173px" %)20480|(% style="width:252px" %)12288301 -| (% style="width:213px" %)R0 to R30000|(% style="width:212px" %)30000 WORD|(% style="width:226px" %)0x8000 to 0xF52F|(% style="width:173px" %)32768|(% style="width:252px" %)30000294 +|**Address type**|(% style="width:172px" %)**Occupation**|(% style="width:239px" %)**Address range**|(% style="width:208px" %)**Decimal address**|(% style="width:271px" %)**Total reserved address size** 295 +|T0 to T511|(% style="width:172px" %)512 WORD|(% style="width:239px" %)0x0000 to 0x01ff|(% style="width:208px" %)0|(% style="width:271px" %)1536 296 +|C0 to C255|(% style="width:172px" %)256 WORD|(% style="width:239px" %)0x0600 to 0x06ff|(% style="width:208px" %)1536|(% style="width:271px" %)1024 297 +|LC0 to LC255|(% style="width:172px" %)512 WORD|(% style="width:239px" %)0x0A000 to 0x0BFF|(% style="width:208px" %)2560|(% style="width:271px" %)1024 298 +|HSC0 to HSC15|(% style="width:172px" %)128 WORD|(% style="width:239px" %)0x0E00 to 0x0E1F|(% style="width:208px" %)3584|(% style="width:271px" %)512 299 +|D0 to D7999|(% style="width:172px" %)8000 WORD|(% style="width:239px" %)0x1000 to 0x2F3F|(% style="width:208px" %)4096|(% style="width:271px" %)16384 300 +|SD0 to SD4095|(% style="width:172px" %)4096 WORD|(% style="width:239px" %)0x5000 to 0x5FFF|(% style="width:208px" %)20480|(% style="width:271px" %)12288 301 +|R0 to R30000|(% style="width:172px" %)30000 WORD|(% style="width:239px" %)0x8000 to 0xF52F|(% style="width:208px" %)32768|(% style="width:271px" %)30000 302 302 303 303 |=(% colspan="5" %)**Bit address** 304 -| (% style="width:212px" %)**Address type**|(% style="width:214px" %)**Occupation**|(% style="width:229px" %)**Address range**|(% style="width:170px" %)**Decimal address**|(% style="width:251px" %)**Total reserved address size**305 -| (% style="width:212px" %)T0 to T511|(% style="width:214px" %)512 bits|(% style="width:229px" %)0x0000 to 0x01ff|(% style="width:170px" %)0|(% style="width:251px" %)1536306 -| (% style="width:212px" %)C0 to C255|(% style="width:214px" %)256 bits|(% style="width:229px" %)0x0600 to 0x06ff|(% style="width:170px" %)1536|(% style="width:251px" %)1024307 -| (% style="width:212px" %)LC0 to LC255|(% style="width:214px" %)256 bits|(% style="width:229px" %)0x0A00 to 0x0AFF|(% style="width:170px" %)2560|(% style="width:251px" %)1024308 -| (% style="width:212px" %)HSC0 to HSC15|(% style="width:214px" %)64 bits|(% style="width:229px" %)0x0E00 to 0x0E0F|(% style="width:170px" %)3584|(% style="width:251px" %)512309 -| (% style="width:212px" %)M0 to M8000|(% style="width:214px" %)8192 bits|(% style="width:229px" %)0x1000 to 0x2F3F|(% style="width:170px" %)4096|(% style="width:251px" %)16384310 -| (% style="width:212px" %)SM0 to SM4095|(% style="width:214px" %)4096 bits|(% style="width:229px" %)0x5000 to 0x5FFF|(% style="width:170px" %)20480|(% style="width:251px" %)12288311 -| (% style="width:212px" %)Reserved|(% style="width:214px" %) |(% style="width:229px" %)0x8000 to 0xBFFF|(% style="width:170px" %) |(% style="width:251px" %)16383312 -| (% style="width:212px" %)S0 to S4095|(% style="width:214px" %)4096 bits|(% style="width:229px" %)0xC000 to 0xCFFF|(% style="width:170px" %)49152|(% style="width:251px" %)8192313 -| (% style="width:212px" %)X0 to X1023|(% style="width:214px" %)1024 bits|(% style="width:229px" %)0xE000 to 0xE3FF|(% style="width:170px" %)57344|(% style="width:251px" %)4096314 -| (% style="width:212px" %)Y0 to Y1023|(% style="width:214px" %)1024 bits|(% style="width:229px" %)0xF000 to 0xF3FF|(% style="width:170px" %)61440|(% style="width:251px" %)4096304 +|**Address type**|(% style="width:168px" %)**Occupation**|(% style="width:238px" %)**Address range**|(% style="width:210px" %)**Decimal address**|(% style="width:270px" %)**Total reserved address size** 305 +|T0 to T511|(% style="width:168px" %)512 bits|(% style="width:238px" %)0x0000 to 0x01ff|(% style="width:210px" %)0|(% style="width:270px" %)1536 306 +|C0 to C255|(% style="width:168px" %)256 bits|(% style="width:238px" %)0x0600 to 0x06ff|(% style="width:210px" %)1536|(% style="width:270px" %)1024 307 +|LC0 to LC255|(% style="width:168px" %)256 bits|(% style="width:238px" %)0x0A00 to 0x0AFF|(% style="width:210px" %)2560|(% style="width:270px" %)1024 308 +|HSC0 to HSC15|(% style="width:168px" %)64 bits|(% style="width:238px" %)0x0E00 to 0x0E0F|(% style="width:210px" %)3584|(% style="width:270px" %)512 309 +|M0 to M8000|(% style="width:168px" %)8192 bits|(% style="width:238px" %)0x1000 to 0x2F3F|(% style="width:210px" %)4096|(% style="width:270px" %)16384 310 +|SM0 to SM4095|(% style="width:168px" %)4096 bits|(% style="width:238px" %)0x5000 to 0x5FFF|(% style="width:210px" %)20480|(% style="width:270px" %)12288 311 +|Reserved|(% style="width:168px" %) |(% style="width:238px" %)0x8000 to 0xBFFF|(% style="width:210px" %) |(% style="width:270px" %)16383 312 +|S0 to S4095|(% style="width:168px" %)4096 bits|(% style="width:238px" %)0xC000 to 0xCFFF|(% style="width:210px" %)49152|(% style="width:270px" %)8192 313 +|X0 to X1023|(% style="width:168px" %)1024 bits|(% style="width:238px" %)0xE000 to 0xE3FF|(% style="width:210px" %)57344|(% style="width:270px" %)4096 314 +|Y0 to Y1023|(% style="width:168px" %)1024 bits|(% style="width:238px" %)0xF000 to 0xF3FF|(% style="width:210px" %)61440|(% style="width:270px" %)4096 315 315 316 316 When using the Modbus master station to access the slave station, the RS2 instruction specifies the following address: 317 317 ... ... @@ -318,7 +318,7 @@ 318 318 **Example 1:** Read 10 registers starting from slave station (station NO.1) D0 and store them in 10 devices starting from local D0: 319 319 320 320 (% style="text-align:center" %) 321 -[[image:image-20220913154229-8.png ||class="img-thumbnail"]]321 +[[image:image-20220913154229-8.png]] 322 322 323 323 The function code of this instruction is 3, which indicates reading register, and the address H1000 in it is the starting address of "D0 to D7999" by inquiring the "word address table", which corresponds to the address of D0. 324 324 ... ... @@ -325,7 +325,7 @@ 325 325 **Example 2:** Read 10 bit devices starting from slave station (station NO.1) M0 and store them in local D0 device (because D0 can store the value of 16 bit devices, zero padding will be performed): 326 326 327 327 (% style="text-align:center" %) 328 -[[image:image-20220913154229-9.png ||class="img-thumbnail"]]328 +[[image:image-20220913154229-9.png]] 329 329 330 330 The function code of the instruction is 1, which indicates read coil, and the address H1000 in it is the starting address of “M0 to M8000" by inquiring the "bit address table", which corresponds to the address of M0. If slave stations M0 and M1 are 1, and the rest are 0, the value in D0 is H0300 (not H0003). 331 331 ... ... @@ -333,31 +333,31 @@ 333 333 334 334 **BD1:** 335 335 336 -|=(% scope="row" style="width: 111px;" %)**SD label**|=(% style="width: 317px;" %)**Content**|=(% style="width: 132px;" %)**SD label**|=(% style="width: 516px;" %)**Content**337 -|=(% style="width: 111px;" %)SM2000|(% style="width: 317px" %)COM3 sending control on|(% style="width:132px" %)SD2000|(% style="width:516px" %)Display 0x1062 after 485BD is recognized after power-on.338 -|=(% style="width: 111px;" %)SM2001|(% style="width: 317px" %)COM3 send control/send prompt|(% style="width:132px" %)SD2001|(% style="width:516px" %)Display 485BD version information after 485BD is recognized after power-on.339 -|=(% style="width: 111px;" %)SM 2002|(% style="width: 317px" %)COM3 reception control on|(% style="width:132px" %)SD 2002|(% style="width:516px" %)BD1 last error340 -|=(% style="width: 111px;" %)SM 2003|(% style="width: 317px" %)COM3 accept control/receive prompt|(% style="width:132px" %)SD 2003|(% style="width:516px" %)BD1 current error341 -|=(% style="width: 111px;" %)SM2004|(% style="width: 317px" %)COM3 communication complete flag|(% style="width:132px" %)SD2004|(% style="width:516px" %)BD1 error times342 -|=(% style="width: 111px;" %)SM 2005|(% style="width: 317px" %)COM4 sending control on|(% style="width:132px" %)SD 2005|(% style="width:516px" %)BD1 error communication port.343 -|=(% style="width: 111px;" %)SM 2006|(% style="width: 317px" %)COM4 send control/send prompt|(% style="width:132px" %)SD2006|(% style="width:516px" %)BD1 communication timeout (1ms).344 -|=(% style="width: 111px;" %)SM 2007|(% style="width: 317px" %)COM4 reception control on|(% style="width:132px" %) |(% style="width:516px" %)345 -|=(% style="width: 111px;" %)SM2008|(% style="width: 317px" %)COM4 accept control/receive prompt|(% style="width:132px" %) |(% style="width:516px" %)346 -|=(% style="width: 111px;" %)SM2009|(% style="width: 317px" %)COM4 communication complete flag|(% style="width:132px" %) |(% style="width:516px" %)336 +|=(% scope="row" style="width: 111px;" %)**SD label**|=(% style="width: 291px;" %)**Content**|=(% style="width: 115px;" %)**SD label**|=(% style="width: 559px;" %)**Content** 337 +|=(% style="width: 111px;" %)SM2000|(% style="width:291px" %)COM3 sending control on|(% style="width:115px" %)SD2000|(% style="width:559px" %)Display 0x1062 after 485BD is recognized after power-on. 338 +|=(% style="width: 111px;" %)SM2001|(% style="width:291px" %)COM3 send control/send prompt|(% style="width:115px" %)SD2001|(% style="width:559px" %)Display 485BD version information after 485BD is recognized after power-on. 339 +|=(% style="width: 111px;" %)SM 2002|(% style="width:291px" %)COM3 reception control on|(% style="width:115px" %)SD 2002|(% style="width:559px" %)BD1 last error 340 +|=(% style="width: 111px;" %)SM 2003|(% style="width:291px" %)COM3 accept control/receive prompt|(% style="width:115px" %)SD 2003|(% style="width:559px" %)BD1 current error 341 +|=(% style="width: 111px;" %)SM2004|(% style="width:291px" %)COM3 communication complete flag|(% style="width:115px" %)SD2004|(% style="width:559px" %)BD1 error times 342 +|=(% style="width: 111px;" %)SM 2005|(% style="width:291px" %)COM4 sending control on|(% style="width:115px" %)SD 2005|(% style="width:559px" %)BD1 error communication port. 343 +|=(% style="width: 111px;" %)SM 2006|(% style="width:291px" %)COM4 send control/send prompt|(% style="width:115px" %)SD2006|(% style="width:559px" %)BD1 communication timeout (1ms). 344 +|=(% style="width: 111px;" %)SM 2007|(% style="width:291px" %)COM4 reception control on|(% style="width:115px" %) |(% style="width:559px" %) 345 +|=(% style="width: 111px;" %)SM2008|(% style="width:291px" %)COM4 accept control/receive prompt|(% style="width:115px" %) |(% style="width:559px" %) 346 +|=(% style="width: 111px;" %)SM2009|(% style="width:291px" %)COM4 communication complete flag|(% style="width:115px" %) |(% style="width:559px" %) 347 347 348 348 **BD2:** 349 349 350 -|=(% scope="row" style="width: 1 13px;" %)**SD label**|=(% style="width:314px;" %)**Content**|=(% style="width: 131px;" %)**SD label**|=(% style="width: 518px;" %)**Content**351 -|=(% style="width: 1 13px;" %)SM2020|(% style="width:314px" %)COM5 sending control on|(% style="width:131px" %)SD2020|(% style="width:518px" %)Display 0x1062 after 485BD is recognized after power-on.352 -|=(% style="width: 1 13px;" %)SM2021|(% style="width:314px" %)COM5 send control/send prompt|(% style="width:131px" %)SD2021|(% style="width:518px" %)Display 485BD version information after 485BD is recognized after power-on.353 -|=(% style="width: 1 13px;" %)SM 2022|(% style="width:314px" %)COM5 reception control on|(% style="width:131px" %)SD2022|(% style="width:518px" %)BD2 last error354 -|=(% style="width: 1 13px;" %)SM2023|(% style="width:314px" %)COM5 accept control/receive prompt|(% style="width:131px" %)SD2023|(% style="width:518px" %)BD2 current error355 -|=(% style="width: 1 13px;" %)SM2024|(% style="width:314px" %)COM5 communication complete flag|(% style="width:131px" %)SD2024|(% style="width:518px" %)BD2 error times356 -|=(% style="width: 1 13px;" %)SM2025|(% style="width:314px" %)COM6 sending control on|(% style="width:131px" %)SD2025|(% style="width:518px" %)BD2 error communication port.357 -|=(% style="width: 1 13px;" %)SM2026|(% style="width:314px" %)COM6 send control/send prompt|(% style="width:131px" %)SD2026|(% style="width:518px" %)BD2 communication timeout (1ms).358 -|=(% style="width: 1 13px;" %)SM2027|(% style="width:314px" %)COM6 reception control on|(% style="width:131px" %) |(% style="width:518px" %)359 -|=(% style="width: 1 13px;" %)SM2028|(% style="width:314px" %)COM6 accept control/receive prompt|(% style="width:131px" %) |(% style="width:518px" %)360 -|=(% style="width: 1 13px;" %)SM2029|(% style="width:314px" %)COM6 communication complete flag|(% style="width:131px" %) |(% style="width:518px" %)350 +|=(% scope="row" style="width: 107px;" %)**SD label**|=(% style="width: 294px;" %)**Content**|=(% style="width: 114px;" %)**SD label**|=(% style="width: 561px;" %)**Content** 351 +|=(% style="width: 107px;" %)SM2020|(% style="width:294px" %)COM5 sending control on|(% style="width:114px" %)SD2020|(% style="width:561px" %)Display 0x1062 after 485BD is recognized after power-on. 352 +|=(% style="width: 107px;" %)SM2021|(% style="width:294px" %)COM5 send control/send prompt|(% style="width:114px" %)SD2021|(% style="width:561px" %)Display 485BD version information after 485BD is recognized after power-on. 353 +|=(% style="width: 107px;" %)SM 2022|(% style="width:294px" %)COM5 reception control on|(% style="width:114px" %)SD2022|(% style="width:561px" %)BD2 last error 354 +|=(% style="width: 107px;" %)SM2023|(% style="width:294px" %)COM5 accept control/receive prompt|(% style="width:114px" %)SD2023|(% style="width:561px" %)BD2 current error 355 +|=(% style="width: 107px;" %)SM2024|(% style="width:294px" %)COM5 communication complete flag|(% style="width:114px" %)SD2024|(% style="width:561px" %)BD2 error times 356 +|=(% style="width: 107px;" %)SM2025|(% style="width:294px" %)COM6 sending control on|(% style="width:114px" %)SD2025|(% style="width:561px" %)BD2 error communication port. 357 +|=(% style="width: 107px;" %)SM2026|(% style="width:294px" %)COM6 send control/send prompt|(% style="width:114px" %)SD2026|(% style="width:561px" %)BD2 communication timeout (1ms). 358 +|=(% style="width: 107px;" %)SM2027|(% style="width:294px" %)COM6 reception control on|(% style="width:114px" %) |(% style="width:561px" %) 359 +|=(% style="width: 107px;" %)SM2028|(% style="width:294px" %)COM6 accept control/receive prompt|(% style="width:114px" %) |(% style="width:561px" %) 360 +|=(% style="width: 107px;" %)SM2029|(% style="width:294px" %)COM6 communication complete flag|(% style="width:114px" %) |(% style="width:561px" %) 361 361 362 362 = **8 Examples** = 363 363