9
Program
 
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 
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 
4.1. Error end processing 
4.2. Response code setting 
The error end flag is turned ON.   
The response code corresponding to the