Configuration of modules and association with IODDT
(Original Document)
The PLC structure
The diagram below shows the composition of the PLC.
NOTE: the CTY 2C module in position 2 is not used in this example.
Configuration of the processor
The diagram below shows the processor configuration.
Configuration of the Mast task
The diagram below shows the configuration of the MAST task.
Configuration of the counting module
The diagram below shows the configuration of the counting model.
The C sensor (for counting the objects) is mated with the 0 channel.
Configuration of discrete module
The diagram below shows the configuration of the discrete model.
The assignments of the inputs are as follows:
NOTE: this module is only used for input.
Assignment of the internal bits and words
The example uses the assignments of the following internal variables:
Assignment of down counting channel to the IODDT
Take the IODDT T_COUNT_STD Compt0variable. The Compt0 variable is associated with channel 0 of the CTY 2A module.
The diagram below shows the variable editor.