Simply Modbus logo

 


Home

About
MODBUS


About
Enron
MODBUS

fc01
fc03
fc05
fc06
op event
alm event
event ack
history

RTU Master

RTU Slave

TCP Client

Download

Purchase

Contact

 

Enron Modbus

Set Single Boolean (Function Code=05)

Request

This command is writing the contents of boolean variable  # 1073 to ON
to the slave device with address 17.

11 05 0431 FF00 DE55

11: The Slave Address (11 hex = address17 )
05: The Function Code (Force Single Boolean)
0431: The Data Address of the boolean variable. (0431 hex = 1073 )
FF00: The status to write ( FF00 = ON,  0000 = OFF ) 
DE55: The CRC (cyclic redundancy check) for error checking.

Response

The normal response is an echo of the query, returned after the boolean has been written.

11 05 0431 FF00 DE55

11: The Slave Address (11 hex = address17 )
05: The Function Code (Force Single Boolean)
0431: The Data Address of the boolean variable.. (0431 hex = 1073 )
FF00: The status written ( FF00 = ON,  0000 = OFF ) 
DE55: The CRC (cyclic redundancy check) for error checking.

HomeFAQEnronDownloadPurchaseContact

Copyright © 2024 Simply Modbus. All rights reserved