196
9440300990 Rev J
Modbus™ Communication
DECS-250
•
Function 08 (08 hex), subfunction 04 - diagnostics: force listen only mode
•
Function 16 (10 hex) - preset multiple registers
Data Block Field
The query data block contains additional information needed by the slave to perform the requested
function. The response data block contains data collected by the slave for the queried function. An error
response will substitute an exception response code for the data block. The length of this field varies with
each query.
Error Check Field
The error check field provides a method for the slave to validate the integrity of the query message
contents and allows the master to confirm the validity of response message contents. This field is 2 bytes.
Modbus Modes of Operation
A standard Modbus network offers the remote terminal unit (RTU) transmission mode and Modbus/TCP
mode for communication. DECS-250 systems support the Modbus/TCP mode and RS-485 mode at the
same time. To enable editing over Modbus TCP, or RS-485, the unsecured access level for the port must
be configured to the appropriate access level. See the
Security
chapter of this manual for more
information on security and access levels. These two modes of operation are described below.
A master can query slaves individually or universally. A universal ("broadcast") query, when allowed,
evokes no response from any slave device. If a query to an individual slave device requests actions
unable to be performed by the slave, the slave response message contains an exception response code
defining the error detected. Exception response codes are quite often enhanced by the information found
in the "Error Details" block of holding registers.
The Modbus protocol defines a simple Protocol Data Unit (PDU) independent of the underlying
communication layers. The mapping of the Modbus protocol on specific buses or networks can introduce
some additional fields on the Application Data Unit (ADU). See Figure 165.
Figure 165. General Modbus Frame
The client that initiates a Modbus transaction builds the Modbus Application Data Unit. The function code
indicates to the server which kind of action to perform.
Modbus
™
Over Serial Line
Message Structure
Master initiated queries and DECS-250 responses share the same message structure. Each message is
comprised of four message fields. They are:
•
Device Address
(1 byte)
•
Function Code
(1 byte)
•
Data Block
(n bytes)
•
Error Check field
(2 bytes)
Each 8-bit byte in a message contains two 4-bit hexadecimal characters. The message is transmitted in a
continuous stream with the LSB of each byte of data transmitted first. Transmission of each 8-bit data
byte occurs with one start bit and either one or two stop bits. Parity checking is performed, when enabled,
and can be either odd or even. The transmission baud rate is user-selectable, and can be set at
installation and altered during real-time operation. The DECS-250 Modbus supports baud rates up to
115200. The factory default baud rate is 19200.
PDU
ADU
Function code
Data
Additional address
Error Check
Summary of Contents for DECS-250
Page 2: ......
Page 6: ...iv 9440300990 Rev J Revision History DECS 250 ...
Page 16: ...xiv 9440300990 Rev J Contents DECS 250 ...
Page 20: ...4 9440300990 Rev J Introduction DECS 250 ...
Page 28: ...12 9440300990 Rev J Power Stage DECS 250 ...
Page 32: ...16 9440300990 Rev J Voltage and Current Sensing DECS 250 ...
Page 40: ...24 9440300990 Rev J Synchronizer DECS 250 ...
Page 52: ...36 9440300990 Rev J Auxiliary Control DECS 250 ...
Page 56: ...40 9440300990 Rev J Contact Inputs and Outputs DECS 250 ...
Page 84: ...68 9440300990 Rev J Limiters DECS 250 ...
Page 114: ...98 9440300990 Rev J Power System Stabilizer DECS 250 Figure 96 PSS Parameter Settings ...
Page 124: ...108 9440300990 Rev J Stability Tuning DECS 250 ...
Page 126: ...110 9440300990 Rev J Mounting DECS 250 Figure 103 Overall and Projection Mounting Dimensions ...
Page 127: ...9440300990 Rev J 111 DECS 250 Mounting Figure 104 DECS 250 Escutcheon Plate Dimensions ...
Page 198: ...182 9440300990 Rev J Timekeeping DECS 250 ...
Page 210: ...194 9440300990 Rev J CAN Communication DECS 250 ...
Page 304: ...288 9440300990 Rev J Maintenance DECS 250 ...
Page 316: ...300 9440300990 Rev J Specifications DECS 250 ...
Page 334: ...318 9440300990 Rev J Analog Expansion Module DECS 250 ...
Page 351: ......