Double-click the PWMG instruction to display the following dialog box. In the following dialog box, specify each of the settings.
For details on the special I/O, refer to the following.
31.5 Controlling External I/O in LT3000 / LT4000 / STC6000 Series
Setting |
Operand |
Description |
Setting Range |
---|---|---|---|
CH |
S1 |
Specify the channel number. |
CH1 - CH4 |
D1: Instruction Status |
D1 |
Specify the integer variable for storing the status of instruction execution. |
Integer variable only |
Output frequency |
D2 |
Specify the variable for storing the pulse output frequency (Hz). The value of #L_PWM*_WHZ is stored in the variable specified here. |
Integer variable only |
ON duty value |
D3 |
Specify the variable for storing the PWM ON duty value (%). The value of #L_PWM*_DTY is stored in the variable specified here. |
Integer variable only |