10/13/2014 10:30 AM | |
Posts: 3093 Rating: (323)
|
Hello Gerhard, due to the screenshot I would use MB_DATA_ADDR = 30845 MB_DATA_LEN = 2 Regards, Kaulquappe |
This contribution was helpful to1 thankful Users |
10/15/2014 6:54 PM | ||
Posts: 3093 Rating: (323)
|
Hello Gerhard, the Connect ID is a logical number used by the CPU to specify a connection. The CPU has got several instances, one for each connect ID. This instance contains IP-address, port number, protocol and so on. This number is not sent on the line. The MB_Unit_ID is a byte in the Modbus frame. It is especially used when a protocol gateway/converter is connected. E.g. a ModbusTCP / ModbusRTU converter has got one IP address and several serial slaves. These serial slaves are addressed with MB_Unit_ID. You must use 3 in MB_Unit_ID. Error 8383 means that the server answers with exception code 2:
Both errors 8383 and 8384 indicate that the server can't process the request. This FAQ may be of interest for you. The documentation of the 3rd party device looks like they use the addressing of the application layer. If not, you won't be able to read the battery status with S7-1200/1500. It would only be possible with the Modbus blocks for S7-300/400. Regards,
Kaulquappe |
|
This contribution was helpful to1 thankful Users |
Follow us on