9440300990 Rev J
197
DECS-250
Modbus™ Communication
DECS-250 systems support RS-485 compatible serial interfaces. This interface is accessible from the left
side panel of the DECS-250.
Message Framing and Timing Considerations
When receiving a message via the RS-485 communication port, the DECS-250 requires an inter-byte
latency of 3.5 character times before considering the message complete.
Once a valid query is received, the DECS-250 waits a specified amount of time before responding. This
time delay is set on the Modbus Setup screen under Communications in BESTCOMS
Plus
®
. This
parameter contains a value from 10 - 10,000 milliseconds. The default value is 10 milliseconds.
Table 19 provides the response message transmission time (in seconds) and 3.5 character times (in
milliseconds) for various message lengths and baud rates.
Table 19. Timing Considerations
Baud Rate
3.5 Character Time
(ms)
Message Tx Time(s)
128 Bytes
256 Bytes
2400
16.04
0.59
1.17
4800
8.021
0.29
0.59
9600
4.0104
0.15
0.29
19200
2.0052
0.07
0.15
Modbus on TCP/IP
Application Data Unit
The following describes the encapsulation of a Modbus request or response when it is carried on a
Modbus TCP/IP network. See Figure 166.
Figure 166. Modbus Request/Response Over TCP/IP
A dedicated header is used on TCP/IP to identify the Modbus Application Data Unit. It is called the MBAP
header (Modbus Application Protocol header).
This header provides some differences compared to the Modbus RTU application data unit used on a
serial line:
•
The Modbus ‘slave address’ field usually used on Modbus Serial Line is replaced by a single byte
‘Unit Identifier’ within the MBAP header. The ‘Unit Identifier’ is used to communicate via devices
such as bridges, routers, and gateways that use a single IP address to support multiple
independent Modbus end units.
•
All Modbus requests and responses are designed in such a way that the recipient can verify that
a message is finished. For function codes where the Modbus PDU has a fixed length, the function
code alone is sufficient. For function codes carrying a variable amount of data in the request or
response, the data field includes a byte count.
•
When Modbus is carried over TCP, additional length information is carried in the MBAP header to
allow the recipient to recognize message boundaries even if the message has been split into
multiple packets for transmission. The existence of explicit and implicit length rules and use of a
CRC-32 error check code (on Ethernet) results in an infinitesimal chance of undetected corruption
to a request or response message.
PDU
Modbus TCP/IP ADU
Function code
Data
MBAP Header
Содержание DECS-250
Страница 2: ......
Страница 6: ...iv 9440300990 Rev J Revision History DECS 250 ...
Страница 16: ...xiv 9440300990 Rev J Contents DECS 250 ...
Страница 20: ...4 9440300990 Rev J Introduction DECS 250 ...
Страница 28: ...12 9440300990 Rev J Power Stage DECS 250 ...
Страница 32: ...16 9440300990 Rev J Voltage and Current Sensing DECS 250 ...
Страница 40: ...24 9440300990 Rev J Synchronizer DECS 250 ...
Страница 52: ...36 9440300990 Rev J Auxiliary Control DECS 250 ...
Страница 56: ...40 9440300990 Rev J Contact Inputs and Outputs DECS 250 ...
Страница 84: ...68 9440300990 Rev J Limiters DECS 250 ...
Страница 108: ...92 9440300990 Rev J Power System Stabilizer DECS 250 Figure 85 PSS Function Blocks and Software Switches ...
Страница 114: ...98 9440300990 Rev J Power System Stabilizer DECS 250 Figure 96 PSS Parameter Settings ...
Страница 124: ...108 9440300990 Rev J Stability Tuning DECS 250 ...
Страница 126: ...110 9440300990 Rev J Mounting DECS 250 Figure 103 Overall and Projection Mounting Dimensions ...
Страница 127: ...9440300990 Rev J 111 DECS 250 Mounting Figure 104 DECS 250 Escutcheon Plate Dimensions ...
Страница 128: ...112 9440300990 Rev J Mounting DECS 250 Figure 105 Panel Cutting and Drilling Dimensions for DECS 250 Panel Mounting ...
Страница 198: ...182 9440300990 Rev J Timekeeping DECS 250 ...
Страница 210: ...194 9440300990 Rev J CAN Communication DECS 250 ...
Страница 304: ...288 9440300990 Rev J Maintenance DECS 250 ...
Страница 316: ...300 9440300990 Rev J Specifications DECS 250 ...
Страница 334: ...318 9440300990 Rev J Analog Expansion Module DECS 250 ...
Страница 341: ...9440300990 Rev J 325 DECS 250 Contact Expansion Module Figure 188 CEM 2020 Input Contact and Output Contact Terminals ...
Страница 351: ......