St Program - Omron E5*D Series Connection Manual

General-purpose serial. rs-485 compoway/f. machine automation controller,
Hide thumbs Also See for E5*D Series:
Table of Contents

Advertisement

9.5.

ST Program

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
1.Communications
processing
2.Initialization
processing
3.CompoWay/F
communications
processing
4.Processing
number error
process
Minor classification
1.1. Starting the communications processing
1.2. Clearing the communications processing
status flags
1.3. Communications processing in progress
status
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
3.1. Determining the communications
processing status and setting the execution
flag
3.2. Executing the communications instruction
-
9.Program
Description
The communications processing
is started.
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)
The SendCmd instruction
(CompoWay/F) is executed.
A normal end or an error end of
the execution is detected.
The error processing is performed
when a non-existent number is
detected.
46

Advertisement

Table of Contents
loading

Table of Contents