Program Example - Omron E5AK PROGRAMMABLE TYPE User Manual

Digital controller (programmable type)
Hide thumbs Also See for E5AK PROGRAMMABLE TYPE:
Table of Contents

Advertisement

6.6 Program Example

J How to use programs
The program described below obtains corresponding response frame data when
some of the command frame data is input.
The input format is as follows. The FCS and terminator are automatically gener-
ated, and need not be input.
@
The output format is as follows. The content of the response frame is displayed as it
is.
@
F Procedure
(1) Read the program.
(2) Enter "RUN".
(3) When "send data:" is displayed, enter the command data (from @ to the com-
(4) The content of the response frame is displayed following "receive data:".
F Conditions when running a program
• Set the communications conditions as follows:
• Make sure that the communications cable is properly connected.
2B
1B
2B
Unit
Command
code
No.
Command type
Input these data.
2B
1B
2B
2B
Unit
End
Command
code
No.
code
Command type
mand string).
Baud rate
:
9600 bps
Bit length
:
7 bits
Parity
:
Even
Stop bit
:
2
4B
2B
FCS
Data
*
These are automatically
generated.
4B
FCS
Data

6.6 Program Example

2B
CR
2B
2B
*
CR
6--17

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5ak-t

Table of Contents