9
Program
 
9.4.  Memory Maps 
The memory maps of this program are shown below.   
 
9.4.1.  Lists 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 
Make sure that there is no duplicated address when changing the addresses. 
 
●Input memory 
The address below 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 
changes from OFF to ON.   
 
●Output memory 
The execution results of the program 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 occur.   
(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 Destination Device.   
5502  WORD  ReceiveData[1] (4-digit hex)  Stores the 3rd and 4th bytes of the data 
received from Destination Device.   
:  :  :  : 
5550  WORD  ReceiveData[49] (4-digit hex)  Stores bytes the 99th and 100th bytes of the 
data received from 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 an error occurs in 
Destination Device.