Download Print this page

Chapter 10 Built-In Ethernet Function Instructions - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

10
BUILT-IN ETHERNET FUNCTION
INSTRUCTIONS
10.1
Open/Close Processing Instructions
Opening a connection
SP.SOCOPEN
This instruction opens a connection.
Ladder diagram
(U)
(s1)
FBD/LD
EN
ENO
U0
d
s1
s2
("SP_SOCOPEN" enters .)
Setting data
■Descriptions, ranges, and data types
Operand
Description
*1
(U)
Dummy (Input the character string ['U0'].)
(s1)
Connection number
(s2)
Head device number for storing the control data
(d)
Head device number which turns ON when the execution of
the instruction is completed and remains ON for 1 scan.
If the instruction is completed with an error, (d)+1 is also
turned on.
EN
Execution condition
ENO
Execution result
*1 In the case of the ST language and the FBD/LD language, U displays as U0.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(U)
(s1)
(s2)
(d)
*1 T, ST, C cannot be used.
10 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
738
10.1 Open/Close Processing Instructions
(s2)
(d)
Word
T, ST, C, D, W,
U\G
SD, SW, R
*1
Structured text
ENO:=SP_SOCOPEN(EN,U0,s1,s2,d);
Range
Data type
Character string
1 to 8
16-bit unsigned binary
Refer to Control data
Word
(Page 739)
Bit
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANYSTRING_SINGLE
ANY16
ANY16_ARRAY
(Number of elements:
10)
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
Constant
Others
K, H
E
$

Hide quick links:

Advertisement

loading