CD522 Used as Pulse Output DeviceΒΆ

The Function Block CD522_PULSE_OUT: CD522_PULSE_OUT

The module CD522 can be used to control one output pulses signals with a fixed duty cycle (ON/OFF ratio 50 %) and number of pulses sent with a fixed frequency (can be modified) .The PULSE operating mode is configured in PLC Configuration using module parameters:

../_images/2a90434ae38b4bc50a33139000eba54e2

After that, it is activated during the initialization phase (power-on, cold start, warm start).

The data exchange from and to the user program is performed by using input and output operands. These necessary operands are created and reserved automatically, when one CD522 module is added into the I/O-Bus configuration.

The module CD522 provides two independents outputs used in PULSE mode (O0 and O1). Both have the same specification and can work completely separated.

The Function Block CD522_PULSE_OUT should be used to control the pulse output, with input EN_FREQ, configure the frequency with input FREQ and the number of pulses with input NUM. The number of pulses sent can be displayed in percentage (from 0 % to 100%).

On the fast outputs O0 or O1, the brightness of yellow LED depends on the number of pulse emitted (from 0 and 100%), When the value 100% is obtained, the yellow LED status is off.