Page: 101
4.5.7. 15 (0x0F) Write Multiple Coils
This function code is used to force each coil in a sequence of coils to either ON or
OFF in an OME-ET-7000/OME-PET-7000 module. The Request PDU specifies the
coil references to be forced. Coils are addressed starting at zero.
The requested ON/OFF states are specified by contents of the request data field. A
logical ‘1’ in a bit position of the field requests the corresponding output to be ON. A
logical ‘0’ requests it to be OFF.
The normal response returns the function code, starting address, and quantity of
coils forced.
Here is an example of a request to write a series of 2 digital outputs starting at DO0:
The request data content is one byte: 02 hex (0000 0010 binary). The binary bits
correspond to the outputs in the following way:
Bit
0
0
0
0
0
0
1
0
Output
-
-
-
-
-
-
DO1
DO0
Request
Response
Field Name
(Hex)
Field Name
(Hex)
MBAP Header
01
MBAP Header
01
02
02
00
00
00
00
00
00
06
06
Unit Identifier
01
Unit Identifier
01
Function Code
0F
Function Code
0F
Starting Address Hi
00
Starting Address Hi
00
Starting Address Lo
00
Starting Address Lo
00
Quantity of Outputs Hi
00
Quantity Value Hi
00
Quantity of Outputs Lo
02
Quantity Value Lo
02
Byte Count
01
Outputs Value Lo
02
Summary of Contents for OME-ET-7000 Series
Page 1: ......
Page 2: ......
Page 37: ...Page 32 The lower section of the page provides a brief introduction to the web interface...
Page 86: ...Page 81 After completing the configuration click the Submit button to save the settings 1 2...
Page 92: ...Page 87 The default URL that the More Information item will link to http www omega com...
Page 158: ......
Page 159: ......