3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-159
API Mnemonic
Operands
Function
58
PWM
S
1
, S
2
, D
Pulse Width Modulation
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C D E
F
S
1
*
*
*
*
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
*
*
*
*
D *
PWM: 7 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32 16
P
32 16
P
32 16
P 32 16 P 32 16
P
Operands:
S
1
: Pulse output width
S
2
: Pulse output period
D
: Pulse output address
Description:
1.
S
1
is the pulse output width with a range of 0~32,767ms.
S
2
is specified as pulse output
period with a range of 1~32,767ms, where
S
1
≦
S
2
.
2.
D
for all ELC controllers:
ELC
ELC-PB/PC/PA/PH, ELCB-PB
ELC-PV
ELCM-PH/PA
Output point
Y1
Y0, Y2, Y4, Y6
Y1, Y3
3.
For the ELC-PB, ELCB-PB models, The output specified in
D
cannot be the same as the
output used in a PLSY or PLSR instruction. The PWM instruction can only be used once in the
program.
4.
When several pulse output instructions (PLSY, PWM, PLSR) use Y1 (ELC-PC/PA/PH), Y0, Y2,
Y4, Y6 (ELC-PV), Y1 or Y3 (ELCM-PH/PA) as the output address in the same scan cycle, the
ELC will perform the instruction which is executed first.
5. When
S
1
≦
0,
S
2
≦
0 or
S
1
>
S
2
, the ELC controller will fault (M1067 and M1068 will not be ON)
and no output will be generated from the pulse output instruction..
When
S
1
=
S
2
, the pulse
output device will be ON continuously.
6.
S
1
,
S
2
can be changed during the execution of PWM instruction.
7.
For ELC-PC/PA/PH, ELCM-PH/PA series, when M1070 = ON, the units for the output pulses
sent to Y1 are 100
μ
s. When M1070 = OFF, the units are 1ms. When M1071 = ON, the units for
the output pulses sent to Y3 are 100
μ
s. When M1070 = OFF, the units are 1ms.
8.
For ELC-PV series, setting the time units for CH0 is determined by the contents of D1371.
Setting the time units for CH1 is determined by the contents of D1372.
9. For
ELC-PC/PA/PH/PV,
ELCM-PH/PA series, there is no limit on the number of times this
instruction can be used in the program. For ELC-PV series, four instructions are allowed to be
executed at the same time. For ELCM-PH/PA series, two instructions are allowed to be
executed at the same time.
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...