Panasonic FP7 Series Command Reference Manual page 912

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

17.4 IPv4SET (IP Address Setting)
● If this instruction is executed with an IP address that is out of the available range, the system
relay SR9 (carry flag CY) is set and the instruction is terminated without being executed.
Refer to the range of available IP addresses.
● This instruction can be executed when the Ethernet initialization active flag (X61) is OFF. As
an execution condition of the instruction, insert a program that checks the status of the flag
(X61). If this instruction is executed when the flag (X61) is ON, the system relay SR9 (carry
flag CY) is set and the instruction is terminated without being executed.
● When the instruction is completed successfully, the system relay SR9 (carry flag CY) and the
system data register SD29 (Ethernet communication error code) are cleared.
● The content set by this instruction is not held in the case of power outage. When the unit is
switched back from PROG. mode to RUN mode, the configuration information set by the tool
software will be preset.
● After this instruction is executed, the PLC operates as shown in the following table.
Conditions
The power supply for the PLC is switched from OFF to ON.
The PLC is changed to
PROG mode.
Precautions for programming
● Insert the UNITSEL instruction immediately before this instruction and specify the unit (built-
in ET-LAN in the CPU unit) and the connection number.
● If the IP address setting is changed during communication, the process in progress will fail.
● Execute this instruction only once at the startup of PLC. Do not execute it repeatedly.
● It takes three seconds or longer to complete initialization following setting. Communication is
disconnected until the completion of the initialization. All connections using the Ethernet
function are disconnected during execution.
● This instruction is not available in interrupt programs.
Operand [S] setting
● Specify the starting address of a device that stores string data representing the parameter to
be set, or a character constant.
● Both upper and lower case characters can be used. "Abcd", "ABCD" and "abcd" are all
synonymous.
● When specifying a device area for an operand, set string data using the SSET instruction in
advance. However, the ESSET instruction cannot be used because the format is different.
● A part of parameters can be omitted. The settings are not changed when parameters are
omitted partially.
● When omitting the part before a specified keyword, omit only "keyword" without omitting ",".
● When omitting the part after a specified keyword, omit both "," and "keyword".
● It is prohibited to specify the same keyword redundantly. An error is caused in the case of
redundant specification.
Setting item
Settings
IPv4 address
S
17-24
Changes to RUN mode without rewriting the
configuration.
Changes to RUN mode after rewriting the
configuration.
Specify IP address (IPv4). Specify the keyword "IP=" at the beginning.
IP=111.122.133.144
Operation
Setting using the
configuration
Setting using instructions
Setting using the
configuration
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents