Panasonic FP7 User Manual page 201

Cpu unit enthernet expansion function
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

 Setting status when parameters are omitted
IPv4 address is essential. It must be described. "Subnet mask" and "Default gateway" can be
omitted. Omitted parameters are not changed.
Parameter
IP
MASK
Required
Omitted
Required
Set
Required
Omitted
Setting example
Example 1
S
"IP=192168.1.5,,GWIP=192168.1.1"
Settings
IP address: 192.168.1.5, Subnet mask: Not change, Default gateeway: 192.168.1.1
Example 2
S
"IP=192168.1.5,MASK=255.255.255.0"
Settings
IP address: 192.168.1.5, Subnet mask: 255.255.255.0, Default gateeway: Not change
Example 3
S
"IP=192168.1.5"
Settings
IP address: 192.168.1.5, Subnet mask: Not change, Default gateeway: Not change
 Flag operation
Name
Description
Set when an out-of-range value is specified for parameters.
Latest error
Set when the same keyword is specified redundatnly.
(SR7)
Set when the slot number specified with UNITSEL is not [S1]=100 (built-in ET-LAN).
Set when the setting is other than IPv4.
Hold error
Set when executed in an interrupt program.
(SR8)
Set when the number of characters for operand specifying character constant exceeds 256.
Set when executed with an incorrect IP address. The detail code set in SD29 is "1: Specification
of incorrect IP address".
Set when executed with an incorrect subnet mask. The detail code set in SD29 is "2:
Specification of incorrect subnet mask".
Set when executed with an incorrect default gateway. The detail code set in SD29 is "3:
CY flag (SR9)
Specification of incorrect default gateway".
Set when executed in combination with incorrect IP addresses. The detail code set in SD29 is
"4: Combination of incorrect IP addresses".
Set when executed during the initialization of Ethernet. The detail code set in SD29 is "11:
Ethernet initialization active".
(Note): For information of the error codes stored in the system data SD29, refer to 8.1.1 List of SD29 Detail Codes.
 Precautions during programming
• If the IP address setting is changed during communication, the process performed during
communication will fail.
• Execute the instruction only once when starting the PLC. (Do not execute it repeatedly.)
• It takes approximately three seconds to complete the initialization after the setting.
Communication is disconnected until the completion of the initialization.
• All connections with the Ethernet function are disconnected during the execution.
Specification method
GWIP
Set
"IP=****,GWIP=*****"
Omitted
"IP=****,MASK=****"
Omitted
"IP=****"
7.2 IP Address and Connection Setting Instructions
Result reflected in parameters
IP address
Change
Change
Change
Subnet
Default
emask
gateway
Not change
Change
Change
Not change
Not change
Not change
7-7

Advertisement

Table of Contents
loading

Table of Contents