(0X05) Force (Write) Single Coil - Thermo Scientific 49i Instruction Manual

Uv photometric o3 analyzer
Table of Contents

Advertisement

(0x05) Force (Write) Single
Thermo Fisher Scientific
The force (write) single coil function simulates the activation of the digital
inputs in the instrument, which triggers the respective action.
Coil
This function code is used to set a single action to either ON or OFF. The
request specifies the address of the action to be forced. Actions are addressed
starting at zero. Therefore, action number 1 is addressed as 0. The requested
ON/OFF state is specified by a constant in the request data field. A value of
0xFF00 requests the action to be ON. A value of 0x0000 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 state has been written.
Request
Function code
Output Address
Output Value
Response
Function code
Output Address
Output Value
Error Response
Function code
Exception code
Here is an example of a request to write Coil 5 ON:
Request
Field Name
Function
Output Address Hi
Output Address Lo
Output Value Hi
Output Value Lo
1 Byte
0x05
2 Bytes
0x0000 to maximum allowed by instrument
2 Bytes
0x0000 or 0xFF00
1 Byte
0x05
2 Bytes
0x0000 to maximum allowed by instrument
2 Bytes
0x0000 or 0xFF00
1 Byte
Function code + 0x80
1 Byte
01=Illegal Function, 02=Illegal Address,
03=Illegal Data, 04=Slave Device Failure
(Hex)
05
00
05
FF
00
MODBUS Protocol
Function Codes
Model 49i Instruction Manual
C-7

Advertisement

Table of Contents
loading

Table of Contents