PreviousNext
Help > Modbus Steps Reference > Standard Functions > Write Multiple Coils (F15)
Write Multiple Coils (F15)

This function is used to force each coil in a sequence of coils to either ON (true) or OFF (false) state in a remote device. You can specify the coil references to be forced. Coils are addressed starting at zero. Therefore coil numbered 1 is addressed as 0.

A maximum of 1,968 coils can be written at once, due to size limitations of the Modbus protocol data unit.

To configure this step open the Edit Step window from Sequence editor.

In the configuration dialog box, you can change the following settings:

·          Connection Name: connection used to communicate with the device.

·          Address: starting address of the coils to set.

·          Nb Registers: Number of register to write.

·          Index: Index of the first register visible in the table.

·          Coils State: state of coils to set (1 to 1968 coils) from the starting address.

Note  Please read Execution Trace and Steps Variables chapter to learn more about accessing configuration of this step.

 

See Also

Open/Close Functions

Custom Functions