9
.
Program
61
9.5. Ladder Program
9.5.1. Functional Components of the Ladder Program
The functional components of this program are given below.
Major
classification
Minor classification
Description
1. Initialization
processing
1.1. Response code clear
1.2. Operand setting for
PMCR instruction
1.3. Send/receive symbol
setting
The area of use is cleared, and the
initialization setting is performed as a
preparation for communications.
2. PMCR
instruction
execution
management
2.1. PMCR instruction
executing
2.2. PMCR instruction
execution processing
2.3. Normal/error
judgement processing
The communications sequence registered
in SCU is identified and executed.
A normal end or an error end of the
processing is detected based on the
related flags and receive data after the
execution.
3. Normal end
state
management
3.1. Normal end processing
3.2. Response code setting
The normal completion flag is turned ON.
The response code for a normal end is
set.
4. Error end
state
management
4.1. Error end processing
4.2. Response code setting
The error end flag is turned ON.
The response code corresponding to the
error cause is set.
Содержание OMRON CJ Series
Страница 82: ...2020 0120 0120 P732 E1 01...