14 Serial Communications
14-22
CP2E CPU Unit Software User’s Manual(W614)
z
Programming Example
Initi
a
l
Fre
qu
ency
S
etting
Fre
qu
ency
s
etting
a
t
oper
a
tion
s
t
a
rt
u
p
Write 60.00 Hz (1770 Hex)
to regi
s
ter n
u
m
b
er 0002
(Hex)
D1300
MOV(021)
#1
S
l
a
ve
a
ddre
ss
01 Hex
FUNCTION code
06 Hex
Comm
u
nic
a
tion d
a
t
a
4
b
yte
s
(Hex)
Fre
qu
ency
s
etting 60.00 Hz
1770 Hex
S
l
a
ve
a
ddre
ss
01 Hex
FUNCTION code
05 Hex
Comm
u
nic
a
tion d
a
t
a
4
b
yte
s
(Hex)
ON
FF00 Hex
Regi
s
ter n
u
m
b
er 0001 Hex
(Regi
s
ter n
u
m
b
er -1)
0001 Hex
Regi
s
ter n
u
m
b
er 0002 Hex
(Regi
s
ter n
u
m
b
er -1)
0001 Hex
D1301
MOV(021)
#6
D1302
MOV(021)
#4
D1303
MOV(021)
#1
D1304
MOV(021)
#1770
RUN
Comm
a
nd
S
t
a
rt oper
a
tion
Write ON (FF00 Hex) to coil
n
u
m
b
er 0001 (Hex)
D1300
MOV(021)
#1
D1301
MOV(021)
#5
MOV(021)
#4
D1303
MOV(021)
#0
D1304
MOV(021)
#FF00
W0.00
W1.00
D1302
Содержание 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: ......