Panasonic FP7 Series Command Reference Manual page 921

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

Advertisement

Processing
● This instruction sets the connection setting parameters that are specified by [S1] and [S2],
for the connections which are in the range specified by [D1] and [D2].
● If an incorrect IP address is specified, the system relay SR9 (carry flag CY) is set and the
instruction is terminated without being executed.
● This instruction can be executed when the IP address establishment flag (X62) is ON. As an
execution condition of the instruction, insert a program that checks the status of the flag
(X62). If this instruction is executed when the flag (X62) is OFF, 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.
● After this instruction is executed, the PLC operates as shown in the following table.
Condition
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.
● For [S1] and [S2], specify the starting address of the device area that stores the string data
that indicates the set parameters, or a character constant. 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. Both upper and lower case
characters can be used. "Abcd", "ABCD" and "abcd" are all synonymous.
● Set to make [D1] be equal to or smaller than [D2].
● The maximum number that can be set for connection numbers for [D1] and [D2] is "Number
of user connection information settings" in the Ethernet unit configuration data.
● When the open method is by client connection, the partner unit IP address is set
incrementally one by one for each connection from the setting start connection to the setting
end connection.
● When the open method is by server connection, the master unit port number is set
incrementally one by one for each connection from the setting start connection to the setting
end connection.
● Specify [D1] and [D2] so that the IP address of the partner unit or the master unit port does
not exceed the available range.
● An operation error occurs when a connection is open or a connection with the automatic
open setting exists at the time of the execution. However, when multiple connections are set,
the settings for the connections before the connection in which an operation error occurs will
change. The settings for the connections after the connection in which an operation error
occurs will not change.
● An operation error occurs if a set of connections in the range that is specified by [D1] and
[D2] contains connections for a multi connection server.
● This instruction is not available in interrupt programs.
WUME-FP7CPUPGR-12
17.6 CONSET (User Connection Setting)
Changes to RUN mode without rewriting the
configuration.
Changes to RUN mode after rewriting the
configuration.
Operation
Setting using the
configuration
Settings with Instructions
Setting using the
configuration
17-33

Advertisement

Table of Contents
loading

Table of Contents