Ip Address And Connection Setting Instructions; Ipv4Set - Panasonic FP7 User Manual

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

Advertisement

7.2 IP Address and Connection Setting Instructions

7.2.1 IPv4SET

• Configures the IP adddress (IPv4) setting.
• CY (SR9) and SD29 are cleared to 0 when this instruction is executed.
(They are set when an specified IP address is outside of the addressable range or Ethernet
is initialized.)
• Confirm if "X61: Ethernet initialization active" is OFF before executing the instruction.
 Instruction format
R0
X61
 Operation unit (i)
• There is no operation unit.
 List of operands
Operand
Description
Specify the starting address storing the parameter of IPv4 address setting or a character constant.
S
 Available devices (●: Available)
16-bit device
Operand
WX
WY
WR
S
 Precautions during programming
• When specifying a device for an operand in which character constant can be specified, set
string data beforehand with SSET instruction.
• When specifying string data, the number of characters should not execeed 256.
• Upper and lower case characters can be used for operands which character constant can be
specified.
("Abcd", "ABCD" and "abcd" are synonymous, however, the file names are differentiated.)
• A target unit for the instruction is specified with UNITSEL beforehand.
• This instruction is not available in interrupt programs.
IPv4SET
"IP=192.168.1.5,MASK=255.255.255.0,GWIP=192.168.1.1"
WL
WS
SD
DT
LD
7.2 IP Address and Connection Setting Instructions
S
32-bit
device
TS
TE
UM
WI
WO
IX
CS
CE
Real
Integer
num-
String
ber
K
U
H
SF
DF
" "
Index
modifier
7-3

Advertisement

Table of Contents
loading

Table of Contents