![background image](http://html1.mh-extra.com/html/omron/cj2h-cpu64/cj2h-cpu64_connection-manual_742078063.webp)
9
.
Program
60
9.5. Ladder Program
9.5.1. Functional Components of the Ladder Program
The functional components of this program are shown 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 detection
processing
The communications sequence registered
in SCU is identified and executed. A normal
end or an error end is detected based on
the related flags and receive data.
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.
Содержание CJ2H-CPU64 -
Страница 81: ...78...
Страница 82: ...2016 0616 P652 E1 01...