Socopen Instruction - Mitsubishi MELSEC-L series Programming Manual

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

SP_SOCOPEN
7.1

SOCOPEN Instruction

SP_SOCOPEN
Structured ladder
SP_SOCOPEN
EN
ENO
Un
s1
s2
Input argument
EN:
Un:
s1:
s2:
Output argument
ENO:
d:
Function
This instruction establishes a connection.
7.1 SOCOPEN Instruction
7-2
ST
ENO:=
SP_SOCOPEN
d
Executing condition
Dummy ("U0")
Connection number (1 to 16)
Variable that stores control data
Output status
Variable that turns ON during one scan upon completion of the
instruction
d[1] also turns ON at the time of error completion.
Internal device
Setting
data
Bit
Word
s1
*1
s2
*1
d
SP_SOCOPEN
(EN, Un, s1,s2,d);
:Bit
:String
:ANY16
:Array of ANY16 [0..9]
:Bit
:Array of bit [0..1]
J
\
R, ZR
Bit
Word
*1
*1
*1: Local devices and file registers per program cannot be used as setting data.
SP_SOCOPEN
QnUDE(H)
Executing condition :
indicates the following instruction.
Constant
Zn
U
\G
K, H
L CPU
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents