12-43
12 Pulse Outputs
CP2E CPU Unit Software User’s Manual(W614)
1
2-6 Def
inin
g
Origin
P
o
sitio
n
12
12
-6-7
Changing the Present
V
alue of the
P
u
lse Output
The present value of the pulse output can be changed by using the INI instruction. To define the present
value as the origin, set the pulse output PV to 0 using the INI instruction.
z
Example: Setting the Present Position as the Origin
12-6-7 Changing the Present Value of the Pulse Output
Operands
Settings
C1
Port specifier
#0000
Pulse output 0
#0001
Pulse output 1
#0002
Pulse output 2
#000
3
Pulse output
3
C2
Control data
#0002
Changes PV
S
First word with new PV
Store the new PV in S and S+1 (
3
2 bits).
I
N
I instr
u
ction exec
u
ted
P
u
lse o
u
tp
u
t
PV
N
e
w
origin
Present origin
#0000
#0002
D100
D100
D101
@I
N
I
15
0
#0 0 0 0
#0 0 0 0
Exec
u
tion condition
C1: Port specifier (example for p
u
lse o
u
tp
u
t 0)
C2: Control data (example for changing PV)
S:First
w
ord
w
ith ne
w
PV
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......