PWM for PLC-S
PLC-S Special Program for PWM Setting.
Registering the IO Input Filter
Select [File] -> [New Program] -> [PWM for PLC-S] program.
*Only one special program can be registered in the project.
Enter the Program Name, Program ID and Program Free Space (Online Edit Buffer).
Click the [OK] button.
Configuring the PWM for PLC-S Program
Channel : PWM channel can be set in total of 12, and it is composed of 3 groups of 1~4 / 5 ~ 8 / 9 ~ 12, and the notation is changed according to the group when clicked.
Parameter :
The following parameters can be set using the PLC-S PWM special program.
The setting parameters are saved in the same space as the memory where the sequence program is stored (flash memory),
So the settings are preserved even when the power is removed.
Address |
content |
R / W | Address |
content |
R / W | ||
Hex | Dec | Hex | Dec | ||||
0H | 0 | High-speed output enable | R / W | 16H | 22 |
|
|
1H | 1 | CH 1,2,3,4 frequency | R / W | 17H | 23 |
|
|
2H | 2 | CH 5,6,7,8 frequency | R / W | 18H | 24 |
|
|
3H | 3 | CH 9,10,11,12 frequency | R / W | 19H | 25 |
|
|
4H | 4 |
|
| 1AH | 26 |
|
|
5H | 5 | CH 1,2,3,4 Frequency change time(10ms) | R / W | 1BH | 27 |
|
|
6H | 6 | CH 5,6,7,8 Frequency change time(10ms) | R / W | 1CH | 28 |
|
|
7H | 7 | CH 9,10,11,12 Frequency change time(10ms) | R / W | 1DH | 29 |
|
|
8H | 8 |
|
| 1EH | 30 | CH1 DUTY ratio change time (10ms) | R / W |
9H | 9 | Error Code | R | 1FH | 31 | CH2 DUTY ratio change time (10ms) | R / W |
AH | 10 | CH1 DUTY ratio | R / W | 20H | 32 | CH3 DUTY ratio change time (10ms) | R / W |
BH | 11 | CH2 DUTY ratio | R / W | 21H | 33 | CH4 DUTY ratio change time (10ms) | R / W |
CH | 12 | CH3 DUTY ratio | R / W | 22H | 34 | CH5 DUTY ratio change time (10ms) | R / W |
DH | 13 | CH4 DUTY ratio | R / W | 23H | 35 | CH6 DUTY ratio change time (10ms) | R / W |
EH | 14 | CH5 DUTY ratio | R / W | 24H | 36 | CH7 DUTY ratio change time (10ms) | R / W |
FH | 15 | CH6 DUTY ratio | R / W | 25H | 37 | CH8 DUTY ratio change time (10ms) | R / W |
10H | 16 | CH7 DUTY ratio | R / W | 26H | 38 | CH9 DUTY ratio change time (10ms) | R / W |
11H | 17 | CH8 DUTY ratio | R / W | 27H | 39 | CH10 DUTY ratio change time (10ms) | R / W |
12H | 18 | CH9 DUTY ratio | R / W | 28H | 40 | CH11 DUTY ratio change time (10ms)) | R / W |
13H | 19 | CH10 DUTY ratio | R / W | 29H | 41 | CH12 DUTY ratio change time (10ms) | R / W |
14H | 20 | CH11 DUTY ratio | R / W | 2AH | 42 |
|
|
15H | 21 | CH12 DUTY ratio | R / W | 3FH | 63 | OS VERSION | R |
Setting items
Frequency value: It can be set by channel group (1 to 4 / 5 to 8 / 9 to 12) and can be input within the range of 0 to 4000.
Frequency change time: It can be set by channel group (1 to 4/5 to 8/9 to 12) and can be input within the range of 0 to 65535.
High-speed output operation: Each channel can be set individually, and the corresponding channel is changed to high-speed PWM output method.
Duty ratio: It is activated when high speed output operation is enabled and it can be input within the range of 0 ~ 1000. (Word device input is possible.)
Duty change time: It is activated when High speed output operation is enabled and it can be input within the range of 0 ~ 65535. (Word device input possible