9. Program
56
9.4. Memory Maps
This section
9.4.1. 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
shows the memory map
s of this program.
Lists of
Make sure there is no duplicated address when changing addresses.
●Input address
This address is used to operate the program.
Address Data type Symbol name Explanation
5000.00 BOOL Input_Start Starts the program when this address changes from OFF to ON.
●Output addresses
The execution results of the program are stored in these addresses.
Address Data
type
Symbol name Explanation
5000.02 BOOL Output_NormalEnd Turns ON when the program ends normally.
5000.03 BOOL Output_ErrorEnd Turns ON when one or more of the following errors
occur.
(1) PMCR instruction error
(2) Communications error
(3) Destination device error
5502 WORD Receive data [0] (4-digit Hex) Stores bytes 1 and 2 of the identification code that were
received from the destination device.
5503 WORD Receive data [1] (4-digit Hex) Stores bytes 3 and 4 of the identification code that were
received from the destination device.
: : :
5511 WORD Receive data [9] (4-digit Hex) Stores bytes 19 and 20 of the identification code that
were received from the destination device.
H400 UINT Output_PMCR_ErrorCode Stores the error code when a PMCR instruction error or
communications error occurs.
H402 UINT Output_DestinationDeviceErro
rCode
Stores the error code received from a destination
device when an error occurs in a destination device.