4 Understanding Programming
4-14
CP2E CPU Unit Software User’s Manual(W614)
4-4
Programming Instructions
Programs consist of instructions. The conceptual structure of the inputs to and outputs from an instruc-
tion is shown in the following diagram.
z
Power Flow
The power flow is the execution condition that is used to control the execution and instructions when
programs are executing normally. In a ladder program, power flow represents the status of the exe-
cution condition.
Input Instructions
• Load instructions indicate a logical start and outputs the execution condition.
• Intermediate instructions input the power flow as an execution condition and output the power flow
to an intermediate or output instruction.
Output Instructions
Output instructions execute all functions, using the power flow as an execution condition.
4-4-1
Basic Understanding of Instructions
Structure of Instructions
Flags
Instruction
Flag
Power flow (P.F., execution condition)
Instruction condition
Power flow (P.F., execution condition)
*
1
Instruction condition*
2
Operands
(sources)
Operands
(destinations)
I/O memory
*1: Input instructions only.
*2: Not output for all instructions.
Outputs the execution
condition.
=
D0
#1215
Outputs the execution
condition.
Input block
Output block
Power flow for
output instruction
LD power flow
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: ......