Specifications

sigmadue - IEC 61131-3 Function Block Library
70
Output
Special
Function
PWM Signal Generation
For the channel 3 and channel 4 it is possible to activate the function of PWM
signal generation. The module is able to generate two different digital PWM
signals with variable duty cyle (PWM_DutyCycleX) using the same frequency
(PWM_Frequency).
To activate this function the user must:
- set for the channel used as output with ChMode
- set the proper value to the Output_Option parameter (see the table below)
- provide the value of the desired frequency with the PWM_Frequency
parameter
- give the start command to the STARTPMWx parameters.
Pulse Generation
For the channel 3 it is possible to activate the function of pulse signal generation.
The module is able to generate a digital pulse signal with a predefined length
(PulseX).
To activate this function the user must:
- set for the channel used as output with ChMode
- set the proper value to the Output_Option parameter (see the table below)
- provide the value of the desired pulse length with the PulseX parameter
- give the start command to the STARTPULSEx parameters every time
the pulse is needed
Output Option Table
Val Channel 3 Channel 4
0
No Option Active –
General purpose channel
No Option Active –
General purpose channel
1PWM
No Option Active –
General purpose channel
2PWM PWM
3PULSE
No Option Active –
General purpose channel