![Mitsubishi Electric MELSEC System Q Скачать руководство пользователя страница 273](http://html.mh-extra.com/html/mitsubishi-electric/melsec-system-q/melsec-system-q_special-instructions-manual_239154273.webp)
7 SOCKET COMMUNICATION FUNCTION INSTRUCTION
7.7 SOCRDATA Instruction
271
7
Setting data
Precautions
• Use the Built-in Ethernet port QCPU of which the function version is B or later and the first five digits of the serial number
are '11012' or higher.
• Use the LCPU other than L02SCPU and L02SCPU-P.
Program example
• The following program reads the receive data length of the connection number 1.
Device
Item
Setting data
Setting range
Setting side
(s2)[0]
System area
(s2)[1]
Completion status
The instruction application status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
[Structured ladder/FBD]
[ST]
IF((Var_Flag_Inst=TRUE) &(SD1282.0=TRUE) &(SD1286.0=TRUE))THEN
SP_SOCRDATA( TRUE, "00", 1, Var_ControlData, 1, Var_Data); (* Reads receive data length of connection number 1 *)
END_IF;
Reads receive data
length of the
connection number 1
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......