10.5.1.23. PULSE
10.5.1.23. PULSE
Explanation | Statement for outputting pulse type signals. Outputting pulses of On (High) type during the Ton time and Off (Low) type during the Toff time in the number of CNT | |
Syntax | PULSE <Output variable>=<Default>,Ton=<On time>,Toff=<Off time>, CNT=<Output count> | |
Parameter | Output variable | Y1~Y8192 FN1.Y1~FN64.Y128 DO1~DO4096 FB1.Y1~FB1.Y960 FB2.Y1~FB2.Y960 FB3.Y1~FB3.Y960 FB5.Y1~FB5.Y960 |
Default | Arithmetic expression Constant (Pulse output is Off (Low) when the initial value is 0(Low) If not 0, it starts with On(High) | |
On time | 0.01~60.00[sec] | |
Off time | 0.01~60.00[sec] | |
Output count | 0~65535 | |
Example | PULSE DO1=1,Ton=0.2,Toff=0.3,CNT=3 PULSE FB1.Y1=&H7F,Ton=0.3,Toff=0.2,CNT=1 |