Contents
OVERVIEW..................................................................................................................................................................4
Applicable Devices and Connection Configuration ......................................................................................................4
Applicable models ...................................................................................................................................................4
Connection configuration.........................................................................................................................................4
SOCKET MODE ..........................................................................................................................................................5
Enabling the Socket Mode Control Function................................................................................................................5
Setting the Debug Mode...............................................................................................................................................6
Status Transition Diagram............................................................................................................................................7
Sequences....................................................................................................................................................................8
Processing at startup...............................................................................................................................................8
Logout......................................................................................................................................................................8
Status check............................................................................................................................................................9
Work item list acquisition.........................................................................................................................................9
Work ID execution processing...............................................................................................................................10
Work ID switching and start processing ................................................................................................................10
External IO (OUT) link ...........................................................................................................................................11
Matching of multiple work items of one work ID....................................................................................................12
Stopping work item (TCP/IP).................................................................................................................................13
Message crossing (stop request) ..........................................................................................................................14
Start request timeout.............................................................................................................................................15
Work item completed notification response timeout..............................................................................................15
MESSAGE IDS ..........................................................................................................................................................16
Socket Mode Message IDs.........................................................................................................................................16
Message Headers.......................................................................................................................................................17
Message ID (Request Message: Other Device → SC-10A).......................................................................................18
Message ID (Notification Message Response: Other Device → SC-10A).................................................................26
Message ID (Request Response Message: SC-10A → Other Device) .....................................................................32
Message ID (Notification Message: SC-10A → Other Device) ..................................................................................40
ERROR CODE...........................................................................................................................................................52
SAMPLE CODE.........................................................................................................................................................55
C Language ................................................................................................................................................................55
Send program........................................................................................................................................................55
Receive program ...................................................................................................................................................58
C# ...............................................................................................................................................................................60
Send program........................................................................................................................................................60
Receive program ...................................................................................................................................................62
FLOW CHARTS.........................................................................................................................................................64