Esc+Io External Signal Input/Output - SATO S84EX Programming Reference Manual

Hide thumbs Also See for S84EX:
Table of Contents

Advertisement

15.11 Intelligent Command
15.11

ESC+IO External Signal Input/Output

External Signal Input/Output
ESC
Hexadecimal
code
<1B>
16
Initial value
Nil
When the power switch is OFF
Valid range and
term of
Valid range within item
command
Valid range between item
[Function]
Specify input/output of the designated pin number of the external signal.
[Format]
<IO>a,b,c[,dddddd]
●Parameter
a[Input or output]
=
b[Pin number]
=
c[Input/Output level]
=
d[Timeout for input]
=
* 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]
=
* 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 EXT20 pin (with 5 second timeout)
<A>
<IO>0,20,1,1000
<Z>
[Coding Example 2]
Output LOW level for 5 seconds to the EXT17 pin (before this command the signal is HIGH level)
<A>
<IO>1,17,0,1000
<Z>
[Notes]
1. Set the external signal output for "DISABLE" in the advanced mode when using this external signal input/output
command <IO>.
When it is set to "ENABLE", the signal changes regardless with this command because the signal is output on the
printer.
2. The timing of signal output is not related the print operation of the printer but when this command is processed.
3. Refer to the input or output for the below table.
4. There may be about 5msec margin of error in the specified output time and the actual signal output time.
5. When the output level and the current output level is the same, the output level will not be changed even the specified
output time has passed.
IO
Parameter
<49>
<4F>
a,b,c[,dddddd]
16
16
The set parameter is not maintained.
The parameter preset will be invalid.
The parameter preset will be invalid.
0
:
Input
1
:
Output
Valid range
:
1 ~ 25
0
:
Low
1
:
High
Valid range
:
0 ~ 999999(1=5ms) (Omissible)
Valid range
:
0 ~ 999999(1=5ms) (Omissible)
ESC+IO
283

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S86ex

Table of Contents