4-5
4 Understanding Programming
CP2E CPU Unit Software User’s Manual(W614)
4-
1
P
rog
ra
m
m
in
g
4
4-1-
3
Basics of Prog
ra
mming
•
A location error will occur if an instruction is not connected directly to the right bus bar.
An input condition cannot be inserted after an OUT instruction or other output instruction. The
input condition must be inserted before an OUT instruction or other output instruction. If it is
inserted after an output instruction, then a location error will occur during the program check in the
CX-Programmer.
•
A warning will occur if the same output bit is used more than once in an OUT instruction.
One output bit can be used in one instruction only. Instructions in a ladder program are executed
in order from the top rung in each cycle. The result of an OUT instruction in a lower rung will be
eventually saved in the output bit. The results of any previous instructions controlling the same bit
will be overwritten and not output.
0.00
0.03
0.04
0.01
102.01
102.01
O
u
tp
u
t
b
it CIO 100.00
O
u
tp
u
t
b
it CIO 100.00
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: ......