![SATO SG112 ex Programming Reference Manual Download Page 395](http://html1.mh-extra.com/html/sato/sg112-ex/sg112-ex_programming-reference-manual_1201523395.webp)
394
[Coding Example 2]
Upload the contents in the internal buffer from the host
<A>
<IB>1
<IT>1,2,6
<Z>
Host
(1) Send <IR>
Sub port
This product
(2) Reading data
(3) Data sending
"123456CRLF"
Data port
External
peripherals
Internal buffer
Data
Number
of digits
Item name
ITEM_CODE
No.
01
6
0
0
0
123456
.
.
.
.
.
.
.
.
.
.
.
.
02
03
16
[Supplementary Explanation]
-
Do not use this command together with print data.
-
Data sending is valid only when bidirectional communication is available.
-
The allocation of the data port and sub port to the interface card 1 or 2 is according to the
setting in the interface mode.
-
Make sure to match the digit of sending and sending data. When the digit is not matched, the
following data may not be analyzed correctly.
-
Data will not be sent to the external peripherals when the cable of sub port is not connected.
[Receive data acquisition request command]
There is a similar command called "Receive data acquisition request."
The printer returns the data received from the status port to the data port by receiving this command.
(1) Command
SOH (01H) + RD
(2) Return Status
[STX]+ number of receive bytes + receive data + [ETX]
(3) Return status list
No.
Item
Contents
Number of bytes
1
Number of receive bytes
Number of receive data (0 to 10240)
5
2
Received Data
Data received from the status port
For number of
receive bytes
Summary of Contents for SG112 ex
Page 1: ...For printer model Programming Reference...
Page 10: ...9 Basic Specifications 513 Connector pin assignment 514...
Page 221: ...220 MaxiCode can specify from 01H to FFH...
Page 236: ...235 QR Code Kanji mode Code table...
Page 237: ...236...
Page 238: ...237...
Page 239: ...238...
Page 240: ...239...
Page 241: ...240...
Page 242: ...241...
Page 243: ...242...
Page 244: ...243...
Page 245: ...244...
Page 246: ...245...
Page 247: ...246...
Page 248: ...247...
Page 249: ...248...
Page 250: ...249...
Page 251: ...250...
Page 252: ...251...
Page 253: ...252...
Page 254: ...253...
Page 255: ...254...
Page 268: ...267 QR Code Kanji mode Code table...
Page 269: ...268...
Page 270: ...269...
Page 271: ...270...
Page 272: ...271...
Page 273: ...272...
Page 274: ...273...
Page 275: ...274...
Page 276: ...275...
Page 277: ...276...
Page 278: ...277...
Page 279: ...278...
Page 280: ...279...
Page 281: ...280...
Page 282: ...281...
Page 283: ...282...
Page 284: ...283...
Page 285: ...284...
Page 286: ...285...
Page 287: ...286...
Page 480: ...479 Near Full Release Near Full 0 MB 2 95 MB Remaining 0 95 MB Remaining 1 95 MB...
Page 491: ...490 Connector Pin Assignment Pin No Name 1 VBus 2 Data D 3 Data D 4 GND...
Page 515: ...514 Connector pin assignment Pin no Name 1 VBus 2 Data D 3 Data D 4 GND...