Panasonic FP7 Series Command Reference Manual page 924

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

Advertisement

17.6 CONSET (User Connection Setting)
Operating mode setting: MEWTOCOL-COM, Option setting: Option not available,
Settings
Open type (Server/Client): Client, Open type (Automatic/Manual): Open automatically,
Communication type: TCP/IP
Operand [S2] setting
● Specify the starting address of the device area that stores the string data that indicates the
parameters for port setting, or a character constant. Setting items differ between specifying
Client and specifying Server. It is prohibited to specify the same setting parameter
redundantly. An error is caused in the case of redundant specification.
<When specifying Client (when connecting from FP7)>
● The partner unit IP address is set by being incremented by one for each connection from the
setting start connection number to the setting end connection number. The increment range
is the lower one block only.
● Partner unit port numbers and unused connection disconnect time are not incremented.
● An error occurs if the value of IPv4 address exceeds 255 or the value of IPv6 address
exceeds FFFFh when they are incremented.
Setting
Settings
item
Partner unit
IP address
(Essential)
S2
Partner unit
Port No.
(Essential)
Unused
connection
disconnect
time
(Essential)
(Note 1)
Both upper and lower cases can be used for specifying keywords.
(Note 2)
All the items cannot be omitted. Specify them in the order of the above table.
Setting example
Examp
S2
"IPv4=192.255.2.10,PORT=9000,DISCONT=0"
le 1
Partner unit IP address: 192.255.2.10, Partner unit port number: 9000, Unused connection
Settings
disconnect time: 0
Examp
S2
"IPv6=1111:1222::1555:0:0:1999,PORT=10000,DISCONT=30000"
le 2
17-36
Specify the destination unit IP address of the setting start connection.
Specify the keyword "IPv4=" or "IPv6=" at the beginning.
● For an IPv4 address
IPv4=111.122.133.144
● For an IPv6 address
IPv6=1111:1222::1555:0:0:1888
* 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 partner 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
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents