Panasonic FP7 Series Command Reference Manual page 976

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

Advertisement

17.17 HTTPcSET (HTTP Client Transfer Setting)
● Before executing this instruction, use the
Setting)"
instruction or the programming tool software "FPWIN GR7" to configure the settings
of the destination server.
Processing
● The HTTP client transfer settings of [S2] to [S4] are stored in the transfer setting area that is
specified by [S1].
● 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.
● Data is actually sent or acquired when the HTTP client transfer request (HTTPcREQ)
instruction is executed after the completion of the HTTP client transfer settings.
● 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 [S4], 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. However, the folder name and the file name that are included in a path name
are case-sensitive.
● This instruction is not available in interrupt programs.
Operand [S1] setting
● Specify the starting address of the device area that stores the string data that indicates a
transfer setting number, or a character constant.
17-88
"17.16 HTTPcSV (HTTP Client Connected Server
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