Read coil
This operation reads the values from the coils of Modbus protocol-compatible equipment.
You can display the read coil operation screen by displaying the script canvas on the Designer screen, clicking the following items in the following order, and then dragging and dropping the component icon onto the script canvas:
-
Tool palette > Industrial equipment > Modbus > Read coil

Figure 5.1 Read coil operation screen
(1) Field list
This is a list of the fields to configure for the read coil operation.
Field Name |
Initial Value |
Setting Value |
Omission |
Notes |
|
---|---|---|---|---|---|
Name |
|
Single-byte alphanumeric characters and certain symbols (*1) |
- |
A value that begins with a single-byte alphabetic character |
|
Required settings |
|||||
|
Destination |
|
|
- |
|
Slave ID |
01 |
From 01 to FF |
- |
Select hexadecimal |
|
Starting address |
|
From 0 to 65535 |
- |
Set as integer |
|
Number of data |
|
From 1 to 999 |
- |
|
|
Interval |
1 |
From 0.01 to 1314000.0 |
- |
Unit: seconds |
|
Comment |
|||||
|
Comment |
|
Characters |
✓ |
|
✓ |
: |
Possible to omit |
- |
: |
Impossible to omit |
*1 |
: |
Only "_" (underscore) can be specified. |
(2) Description of each field
This section explains each of the fields to configure for the read coil operation.
After changing these settings, click Finish to save the settings.
Click Cancel to discard the changes.
- Name
-
Name of the read coil operation component
Single-byte alphanumeric characters and "_" (underscore) can be used.
Use a value that begins with a single-byte alphabetic character.
Required settings
- Destination
-
Modbus destination
Select the Modbus destination for the coil reading.
When you click Add, the Modbus TCP connection settings screen appears.
For details on the Modbus TCP connection settings screen, refer to Modbus TCP connection settings.
When you click Edit list..., the editing screen for the resource list appears.
For details on the editing screen for the resource list, refer to Edit resource list.
- Slave ID
-
Slave ID
Select the slave ID for the coil reading.
- Starting address
-
Starting address
Specify a numerical value from "0" through "65535" for the starting address for the coil reading.
- Number of data
-
Number of data items
Specify a numerical value from "1" through "999" for the number of data items for the coil reading.
- Interval
-
Interval to read coil (seconds)
Specify the interval at which to read coil as a numerical value from "0.01" through "1314000.0".
Comment
- Comment
-
Comment regarding the read coil operation
You can enter a comment.