0% found this document useful (0 votes)
19 views

Simply Modbus - Enron Modbus Function Code 01 - Read Boolean Variables

The document describes a Modbus function code 01 request to read the ON/OFF status of 37 boolean variables from addresses 1020 to 1056 on a slave device with address 17, including the request and response packet contents and data format.

Uploaded by

saberleffi1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Simply Modbus - Enron Modbus Function Code 01 - Read Boolean Variables

The document describes a Modbus function code 01 request to read the ON/OFF status of 37 boolean variables from addresses 1020 to 1056 on a slave device with address 17, including the request and response packet contents and data format.

Uploaded by

saberleffi1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

17/11/2020 Simply Modbus - Enron Modbus Function Code 01 - Read Boolean Variables

Home
Enron Modbus
About
MODBUS
Read Boolean Variables (FC=01)
Request
About
Enron This command is requesting the ON/OFF status of boolean variables # 1020 to 1056
from the slave with address 17.
MODBUS
fc01 11 01 03FC 0025 3F35
fc03
fc05
11: The Slave Address (11 hex = address17 )
01: The Function Code (read Boolean variables)
fc06
03FC: The Data Address of the first boolean to read. (1020 = 03FC hex)
op event ( 03FC hex = 1020 decimal )
alm event 0025: The total number of booleans requested. (25 hex = 37, inputs 1020 to 1056
event ack )
history 3F35: The CRC (cyclic redundancy check) for error checking.

Response
RTU Master
11 01 05 CD6BB20E1B 45E6
RTU Slave
11: The Slave Address (11 hex = address17 )
01: The Function Code (read Boolean variables)
TCP Client 05: The number of data bytes to follow (37 Coils / 8 bits per byte = 5 bytes)
CD: Boolean variables 1020 - 1027 (1100 1101)
Download 6B: Boolean variables 1028 - 1035 (0110 1011)
B2: Boolean variables 1036 - 1043 (1011 0010)
Purchase 0E: Boolean variables 1044 - 1051 (0000 1110)
1B: Boolean variables 1052 - 1056 (0001 1011)
45E6: The CRC (cyclic redundancy check).
Contact
The more significant bits contain the higher coil variables. This shows that coil 1036
is off ( 0) and 1043 is on ( 1). Due to the number of coils requested, the last data
field 1B contains the status of only 5 coils. The three most significant bits in this
data field are filled in with zeroes.

Home • FAQ • Enron • Download • Purchase • Contact

Copyright © 2020 Simply Modbus. All rights reserved

https://www.simplymodbus.ca/enron_FC01.htm 1/1

You might also like