HTTP Client Function
5.3.2 Setting with Instructions
• The destination server setting and file transfer setting are specified with instructions.
• Although they can be specified with only instructions, the setting to use the add-on in the
built-in ET-LAN setting is required. For details of the setting to use the add-on, refer to 4.4.2
Setting with Instructions of the FTP client function.
List of instructions
Instruction
HTTPcSV
HTTPcSET
5.3.2.1 Destination Server Setting (HTTPcSV)
• Sets the server to which the HTTP client is connected.
• CY (SR9) and SD29 are cleared to 0 when this instruction is executed. (They are set when
an incorrect IP address is specified or Ethernet is initialized.)
• Confirm if "X61: Ethernet initialization active" is OFF before executing the instruction.
• For details of the setting to use the add-on, refer to 4.4.2 Setting with Instructions of the FTP
client function.
Instruction format
R0
X61
HTTPcSV "SV=0,IPv4=192.168.1.1" "ID=user,PASS=pw"
Operation unit (i)
• There is no operation unit.
List of operands
Operand
Description
S1
Specify the starting address storing the server specification parameter or a character constant.
S2
Specify the starting address storing the login setting parameter or a character constant.
S3
Specify the starting address storing the detailed setting parameter or a character constant.
Available Devices (●: Available)
16-bit device
Operand
WX
WY
WR
S1
●
●
●
S2
●
●
●
S3
●
●
●
5-12
HTTP Server Settings
Transfer Settings
S1
WL
WS
SD
DT
LD
UM
●
●
●
●
●
●
●
●
●
Application
S2
32-bit
Integer
device
TS
TE
WI
WO
IX
K
CS
CE
"TOUT=10"
S3
Real
num-
String
ber
U
H
SF
DF
" "
●
●
●
Index
modifier