Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
7-16
7.6 SOCCINF Instruction
SP_SOCCINF
7.6 SOCCINF Instruction
SP_SOCCINF
Function
This instruction reads connection information of a specified connection.
SP_SOCCINF
Executing condition
:
indicates the following instruction.
SP_SOCCINF
Input argument EN:
Executing condition :Bit
Un:
Dummy ("U0") :String
s1:
Connection number (1 to 16) :ANY16
s2:
Variable that stores control data :Array of ANY16 [0..1]
Output argument ENO:
Execution result :Bit
d:
Variable that stores connection information :Array of ANY16 [0..4]
Setting
data
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word



QnUDE(H)
LCPU
SP_SOCCINF
EN ENO
d
s1
s2
ST
SP_SOCCINF
(EN, Un, s1, s2, d);ENO:=
Un
Structured ladder/FBD
s1
s2
d