![SATO SG112 ex Programming Reference Manual Download Page 397](http://html1.mh-extra.com/html/sato/sg112-ex/sg112-ex_programming-reference-manual_1201523397.webp)
396
[ESC+IO] External Signal Input/Output
ESC
IO
Parameter
Hexadecimal code
<1B>
16
<49>
16
<4F>
16
a,b,c(,dddddd)
Initial value
None
When the power is OFF
The set parameter is not maintained.
Valid range within items
The set parameter becomes invalid.
Valid range and term of
command
Valid range between items
The set parameter becomes invalid.
[Function]
Specify input/output of the designated pin number of the external signal.
[Format]
<IO>a,b,c(,dddddd)
-
Parameter
a [Input or output]
0 : Input
1 : Output
b [Pin number] = Valid range : 1 to 14
c [Input/Output level]
0 : Low
1 : High
d [Timeout for input] = Valid range : 0 to 999999 (1 = 5 ms) (Omissible)
* When it is [Input], this parameter is the input timeout time.
When this parameter is omitted, the printer does not proceed to the next command analysis
until the next input from the designated port.
[Output time] = Valid range : 0 to 999999 (1 = 5 ms) (Omissible)
* When it is [Output], this parameter is the output time.
The signal level will be returned to the status before this command after the specified time
has been passed when this parameter is specified.
The signal will be output continuously at the specified level when this parameter is omitted.
[Coding Example 1]
Wait until HIGH level is input from the EXT5 pin (with 5 second timeout)
<A>
<IO>0,5,1,1000
<Z>
[Coding Example 2]
Output LOW level for 5 seconds to the EXT1 pin (before this command the signal is HIGH level)
<A>
<IO>1,1,0,1000
<Z>
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...