9
.
Program
58
9.4.
Memory Maps
The memory maps of this program are shown below.
9.4.1.
List of Addresses
The tables below list the addresses necessary to execute this program.
You can change the allocations below to any addresses.
Precautions for Correct Use
When you change the addresses, make sure there is no duplication.
Input memory
The below address is used to operate this program.
Address
Data type
Variable name
Description
5000.00
BOOL
Input_Start
Starts the send/receive processing when this flag is
turned ON.
Output memory
The program execution results are stored in these addresses.
Address
Data type
Variable name
Description
5000.02
BOOL
Output_NormalEnd
Turns ON when the send/receive processing
ends normally.
5000.03
BOOL
Output_ErrorEnd
Turns ON when one or more of the following
errors occurs.
(1) PMCR instruction error
(2) Communications error
(3) Destination Device error
5501
WORD
ReceiveData[0] (4-digit hex)
Stores the 1st and 2nd bytes of the data
received from the Destination Device.
5502
WORD
ReceiveData[1] (4-digit hex)
Stores the 3rd and 4th bytes of the data
received from the Destination Device.
:
:
:
:
5510
WORD
ReceiveData[49] (4-digit hex)
Stores the 19th and 20th bytes of the
data received from the Destination Device.
H400
UINT
Output_PMCR_ErrorCode
Stores an error code when a PMCR instruction
error or a communications error occurs.
H402
UINT
Output_DestinationDeviceErrorCode Stores an error code when a Destination
Device error occurs.
Содержание OMRON CJ Series
Страница 82: ...2020 0120 0120 P732 E1 01...