-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Tested 1.2.0 and bleeding edge.
v1.1.0:
$:~/dev/modbus/pymodbus/examples/contrib$ ./message-parser.py -b -m 000112340006ff076d
================================================================================
Decoding Message 000112340006ff076d
================================================================================
ServerDecoder
--------------------------------------------------------------------------------
name = ReadExceptionStatusRequest
check = 0x0
skip_encode = 0x0
unit_id = 0xff
transaction_id = 0x1
protocol_id = 0x1234
documentation =
This function code is used to read the contents of eight Exception Status
outputs in a remote device. The function provides a simple method for
accessing this information, because the Exception Output references are
known (no output reference is needed in the function).
ClientDecoder
--------------------------------------------------------------------------------
name = ReadExceptionStatusResponse
status = 0x6d
protocol_id = 0x1234
unit_id = 0xff
skip_encode = 0x0
check = 0x0
transaction_id = 0x1
documentation =
The normal response contains the status of the eight Exception Status
outputs. The outputs are packed into one data byte, with one bit
per output. The status of the lowest output reference is contained
in the least significant bit of the byte. The contents of the eight
Exception Status outputs are device specific.
v1.2.0 and current master:
$:~/dev/modbus/pymodbus/examples/contrib$ ./message-parser.py -b -m 000112340006ff076d
================================================================================
Decoding Message 000112340006ff076d
================================================================================
ServerDecoder
--------------------------------------------------------------------------------
ClientDecoder
--------------------------------------------------------------------------------
I dug around a bit to see what was changed between versions but I'm very new to this codebase. Any help would be appreciated.