Panasonic FP7 Series Command Reference Manual page 970

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

Advertisement

17.16 HTTPcSV (HTTP Client Connected Server Setting)
● The instruction can be executed when the transfer request relays of the HTTPc control relay
and the HTTPc logging/trace control relay are OFF (0: No request). As an execution
condition of the instruction, insert a program that checks the state of the transfer request
relay. The states of the transfer request relay and the logging transfer request relay can be
read with the ETSTAT instruction. Store the state that is read in a device such as an internal
relay. An operation error occurs if the instruction is executed when one of the transfer
request relays is ON.
● After this instruction is executed, the PLC operates as shown in the following table.
Conditions
The power supply for the PLC is switched from OFF to ON.
The PLC is changed to
PROG mode.
● 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 Ethernet initialization active flag (X61) is OFF. As
an execution condition of the instruction, insert a program that checks the status of the flag
(X61). If this instruction is executed when the flag (X61) is ON, 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.
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] to [S3], 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.
● The number of characters should not exceed 256.
● Both upper and lower case characters can be used. "Abcd", "ABCD" and "abcd" are all
synonymous.
● This instruction is not available in interrupt programs.
Operand [S1] setting
● Specify the starting address storing the server specification parameter or a character
constant.
● A part of parameters can be omitted. The settings are not changed when parameters are
omitted partially.
● When omitting the part before a specified keyword, omit only "keyword" without omitting ",".
● When omitting the part after a specified keyword, omit both "," and "keyword".
● Specify the HTTP server setting from SV0 in order. When the right order is skipped, an error
occurs. It is possible to specify by overwriting when the setting has been already registered.
● Only one server can be specified at the same time.
● Specify an HTTP server number, the IP address or host name of an HTTP server, a port
number, an open method, and the SSL3/TLS1 authentication setting within 256 one-byte
characters in total.
17-82
Changes to RUN mode without rewriting the
configuration.
Changes to RUN mode after rewriting the
configuration.
Operation
Setting using the
configuration
Setting using instructions
Setting using the
configuration
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents