6.2.3.2. Socket communication processing
Row number 12: Calls Sub-routine OpenSocket when SM400 (Always ON) is ON.
Row number 13: Turns ON bStartSend when bOpen_OK is ON (Socket open success).
Row number 14: Calls Sub-routine SendData. when SM400 (Always ON) is ON.
Row number 15: Turns ON bStartClose when bSend_OK is ON (Transmission success).
Row number 16: Calls Sub-routine CloseSocket when SM400 (Always ON) is ON.
27
MELSEC iQ-R Brother Label Printer Sample Program Reference Manual