4 Understanding Programming
4-4
CP2E CPU Unit Software User’s Manual(W614)
z
Number of Times Bits Can be Used and Connection Method
•
There is no limit to the number of I/O bits, work bits, timers, and other input bits that can be used.
Program structure should be kept as clear and simple as possible to make the programs easier to
understand and maintain even if it means using more input bits.
•
There is no limit to the number of input conditions that can be connected in series or in parallel on
the rungs.
•
Two or more OUT instructions can be connected in parallel.
•
Output bits can also be used in input conditions.
z
Ladder Programming Restrictions
•
A rung error will occur if a ladder program is not connected to both bus bars.
The ladder program must be connected to both bus bars so that the execution condition will flow
from the left bus bar to the right bus bar.
If the rungs are not connected to both bus bars, a rung error will occur during the program check
on the CX-Programmer and program transfer will be impossible.
•
A rung error will occur if the instruction shown below is made to directly connect to the bus bar
without an input condition.
OUT instructions, timers, counters, and other output instructions cannot be connected directly to
the left bus bar.
If one of these instructions is connected directly to the left bus bar, a rung error will occur and pro-
gram transfer will be impossible.
0.00
0.05
102.00
TIM
0000
#100
102.00
102.00
MOV
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: ......