Panasonic FP7 User Manual page 206

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

Advertisement

Instruction References
 Operand [S2] setting
• Specify the starting address storing the port setting parameter or a character constant.
Setting items differ between specifying Client and specifying Server. It is prohibited to
specify the same setting parameter redundantly. If specified, an error occurs.
<When specifying Client (when connection from FP7)>
• Set it by incrementing the destination IP address by one from the setting start connection to
the setting end connection. The increment range is the lower one block only.
• Destination unit port numbers and unused connection disconnect time are not incremented.
• An error occurs when the value of IPv4 address exceeds 255 and the value of IPv6 address
exceeds FFFFh when being incremented.
Setting
Settings
item
Destination unit
IP address
(Essential)
S2
Destination port
number
(Essential)
Unused
connection
disconnect time
(Essential)
(Note 1): Upper and lower case characters can be used for sepcifying keywords.
(Note 2): All the items cannot be omitted. Specify them in the order of the above table.
Setting example
Example 1
S2
"IPv4=192.255.2.10,PORT=9000,DISCONT=0"
Destination unit IP address: 192.155.2.10, Destination port number: 9000, Unused
Settings
connection disconnect time: 0
Example 2
S2
"IPv6=1111:1222::1555:0:0:1999,PORT=10000,DISCONT=30000"
Destination unit IP address: 111:1222::1555:0:0:1999, Destination port number: 10000,
Settings
Unused connection disconnect time: 30000
Example 3
S2
"IPv4=192.255.100.11,PORT=2500,DISCONT=50"
Destination unit IP address: 192.255.100.11, Destination port number: 2500, Unused
Settings
connection disconnect time: 50
7-12
Specify the destination unit IP address of the setting start connection.
Specify the keyword "IPv4=" or "IPv6=" at the beginning.
・For IPv4 address
IPv4=111.122.133.144
* When specifying IPv4, 000.000.000.000(0.0.0.0) cannot be specified.
* When specified, CY flag (SR9) turns ON and 1 (IP address error) is set to
SD29, and the process is terminated.
* An operation error does not occur. The setting is not made.
Specify the port number (1 to 65535) of destination unit.
Specify the keyword "PORT=" at the beginning.
PORT=xxxx
Specify unused connection disconnect time (0 to 4294967295: 10 ms unit)
However, when 0 is specified, connection is not automatically disconnected.
Specify the keyword "DISCOUNT=" at the beginning.
DISCONT=xxxx
・For IPv6 address
IPv6=1111:1222::1555:0:0:1888

Advertisement

Table of Contents
loading

Table of Contents