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
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......