CD522 Used as Frequency Output DeviceΒΆ
The Function Block CD522_FREQ_OUT: CD522_FREQ_OUT
The module CD522 can be used to control one output pulses signals with an fixed duty cycle (ON/OFF ratio 50 %).The PWM operating mode is configured in PLC Configuration using module parameters:
After that, it is activated during the initialization phase (power-on, cold start, warm start).
The data exchange to and from the user program is performed using input and output operands. These necessary operands are created and reserved automatically, when one module CD522 is added in I/O-Bus configuration.
The module CD522 provides two independent outputs which can be used in PWM mode (O0 and O1). Both have the same specification and can work completely separated.
The Function Block CD522_FREQ_OUT should be used to control with input EN_FREQ and configure the frequency with input FREQ of frequency outputs (1 kHz to 100 kHz).