Write Operation To Ip Address Storage Area; Ip Address Storage Area Write Procedure - Mitsubishi Electric FX5 User Manual

Melsec iq-f series, ethernet communication
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

12.3

Write operation to IP address storage area

Set the IP address and other data to be set to special registers (SD8492 to SD8497), and turn the special relay (SM8492)
from OFF to ON to write the data to the IP address storage area (CPU module internal FRAM).
Set the IP address, etc. to the special registers (SD8492 to SD8497) as hexadecimal values.
Special register
SD8492
IP Address
SD8493
SD8494
Subnet mask
*1
pattern
SD8495
SD8496
Default gateway
IP address
SD8497
*1 It is possible to specify no setting (0.0.0.0) for the subnet mask pattern and default gateway IP address. However, it is necessary to
specify no setting (0.0.0.0) for both the subnet mask pattern and the default gateway IP address. If no setting (0.0.0.0) is specified for
only one, an error will occur and the IP address will not be changed.
It is possible to write data to the IP address storage area without regard to the CPU module mode (RUN or STOP). To reflect
the setting stored in the IP address storage area on the CPU module, it is necessary to turn OFF and ON the power or
perform reset of the CPU module.

IP address storage area write procedure

The figure below shows the procedure to write data to the IP address storage area and change the IP address of the CPU
module.
Write operation
■Operations
1.
Store the value to be changed in SD8492 to SD8497 (IP address setting or other).
2.
Turn off and on SM8492 (IP address storage area write request).
3.
Check the write results with the following special relays and special registers.
Device No.
Name
SM8492
IP address storage area write request
SM8493
IP address storage area write completed
SM8494
IP address storage area write error
SD8498
IP address storage area write error code
4.
When the write is completed normally, power off and on or reset the CPU module.
5.
If the IP address stored in the IP address storage area (CPU module internal FRAM) is a valid value, the stored IP
address is set as the CPU module's IP address.
6.
The IP address or other setting of the CPU module can be checked with the following special register.
Device No.
SD10050, SD10051
SD10060, SD10061
SD10064, SD10065
■Error code at error occurrence
If the data is not written correctly into the IP address storage area (CPU module internal FRAM), the error code is stored in IP
address storage area write error code (SD8498).
Value of SD8498
1920H
12 IP ADDRESS CHANGE FUNCTION
140
12.3 Write operation to IP address storage area
IP address storage area
(CPU module internal FRAM)
Perform writing
SM8492 is ON
*1
Name
IP address
Subnet mask
Default gateway IP address
Error details and causes
IP address setting or other (SD8492 to SD8497) value
exceeds the setting range.
IP Address
Subnet mask
*1
pattern
Default gateway
*1
IP address
At normal completion
Off
On
Off
Description
The IP address currently set in the CPU module is stored.
The subnet mask currently set in the CPU module is stored.
The default gateway IP address currently set in the CPU module is stored.
Action
Correct the IP address setting or other (SD8492 to SD8497) value.
At abnormal completion
Off
On
On
Stores the error code

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents