Chapter 8 Built-In Ethernet Function Instructions; Open/Close Processing Instructions; Opening A Connection - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

8
BUILT-IN ETHERNET FUNCTION
INSTRUCTIONS
8.1

Open/Close Processing Instructions

Opening a connection

SP.SOCOPEN
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
This instruction opens the specified connection.
Ladder
(U)
(s1)
(s2)
FBD/LD
EN
ENO
U
d
s1
s2
■Execution condition
Instruction
SP.SOCOPEN
Setting data
■Description, range, data type
Operand
Description
(U)
Dummy
(s1)
Connection number
(s2)
Start device where control data is stored
(d)
Device that turns on for one scan upon completion of the
instruction
When the instruction completes with an error, (d)+1 also
turns on.
EN
Execution condition
ENO
Execution result
RnSFCPU RnSFCPU
(Standard)
(Safety)
(d)
Execution condition
ST
ENO:=SP_SOCOPEN(EN,U,s1,s2,d);
Range
Data type
String
1 to 16
16-bit signed binary
Refer to the control data.
Word
Bit
Bit
Bit
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.1 Open/Close Processing Instructions
8
Data type (label)
ANYSTRING_SINGLE
ANY16
ANY16_ARRAY
(Number of elements: 10)
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
1085

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents