Automation_Builder Configuration

For use of DC541-CM as a X4 counting device, the operating mode of the device has to be configured:

  1. In the device tree, add a new object to the DC541-CM node and select DC541 Encoder X4 mode from the list.

  2. Double-click the added object and configure the I/O channels:

    ../_images/ef0b69c945fefab60a33139000eba54e

The channels C0..C3 are to be used for the encoder mode. In the module parameters, the channels C4..C7 can be configured as:

Input -Input
Output -Output

To do so, select the corresponding value for each channel.

Note

The channels C1..C3 are automatically used, too. In the PLC configuration, these channels are left at the default setting “Input”.

The specified configuration can be read using the Function Block DC541_GET_CFG: DC541_GET_CFG