Delta AS Series Programming Manual page 1007

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
1902
Device
X
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
Explanation
_6
1.
This instruction outputs every pulse with a width specified by S
specified by D.
2.
The pulse width specified by S
3.
The pulse cycle specified by S
4.
The S
+1 and S
2
5.
If S
is less than 0, there is no pulse output. If S
1
6.
You can change S
7.
If the conditional contact is not enabled, there is no pulse output.
8.
When using on-line editing, please reset the conditional contact to initialize the instruction.
Example
When the program is executed, the values in D0 and D2 are 1000 and 2000 respectively. When X0.0 is ON, the device
Y0.0 outputs the pulses illustrated below. When X0.0 is OFF, Y0.0 is OFF.
6 - 7 2 8
GPWM
Y
M
S
T
C
is t. t must be between 0–3276 milliseconds.
1
is T. T must be between 1–32767 milliseconds, and S
2
+2 parameters are for system use. Please do not change them.
2
and S
during the execution of this instruction.
1
2
Operand
S
, S
, D
1
2
HC
D
FR
SM
Pulse instruction
16-bit instruction
: Pulse width
S
1
: Pulse cycle
S
2
D : Output device
and with a cycle specified by S
1
is larger than S
, the output device stays ON.
1
2
Function
General pulse width modulation
SR
E
K
16#
"$"
32-bit instruction
AS
from the device
2
should be less than S
1
F
.
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents