Page: 99
4.5.5. 05 (0x05) Write Single Coil
This function code is used to write a single digital output to either ON or OFF in an
OME-ET-7000/OME-PET-7000 module. The requested ON/OFF state is specified
by a constant in the request data field. A value of FF 00 hex requests the output to
be ON. A value of 00 00 requests it to be OFF. All other values are illegal and will not
affect the output.
The normal response is an echo of the request, returned after the coil state has
been written.
Here is an example of a request to write DO1 of OME-ET-7026/OME-PET-7026 ON:
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
05
Function Code
05
Output Address Hi
00
Output Address Hi
00
Output Address Lo
01
Output Address Lo
01
Output Value Hi
FF
Output Value Hi
FF
Output Value Lo
00
Output Value Lo
00
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: ......