9
.
Program
46
ST Program
9.5.
9.5.1. Functional Components of the Program
The program used in this guide is written in the ST language.
The functional components are as follows:
Major
classification
Minor classification
Description
1.Communications
processing
1.1. Starting the communications processing
1.2. Clearing the communications processing
status flags
1.3. Communications processing in progress
status
The communications processing
is started.
2.Initialization
processing
2.1. Initializing the communications instruction
2.2. Initializing the communications instruction
execution flag
2.3. Initializing the error code storage areas
2.4. Setting the SendCmd instruction control
data
2.5. Setting the send variables
2.6. Initializing the receive data storage areas
2.7. Initialization setting end processing
The receive data storage areas
and the error code storage areas
are initialized.
The parameters and send data
are set for the SendCmd
instruction. (CompoWay/F)
3.CompoWay/F
communications
processing
3.1. Determining the communications
processing status and setting the execution
flag
3.2. Executing the communications instruction
The SendCmd instruction
(CompoWay/F) is executed.
A normal end or an error end of
the execution is detected.
4.Processing
number error
process
-
The error processing is performed
when a non-existent number is
detected.
Содержание E5*D series
Страница 51: ...9 Program 48 2 Initialization processing ...
Страница 52: ...9 Program 49 3 CompoWay F communications processing ...
Страница 53: ...9 Program 50 4 Processing number error process ...
Страница 60: ...2013 2018 0618 0113 P E1 0 ...