Dc2+Pd Each Sensor Information Acquisition - SATO CL4NX Programming Reference Manual

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

17.4
Common Commands
for All Languages
17.4
DC2+PD
Each Sensor
Acquisition
Information Acquisition
Command
DC2
HEX code
<12>
16
Default value
None
When turning off the power switch
Valid range
Valid range and
term of
Printer operation in progress
command
Error
[Function]
This command is used to acquire the information of each sensor. The sensor information corresponds to the
information immediately after the reception of the command.
[Format]
DC2 (12H) + PD
[Return data format (normal)]
[STX]a...a,b...b:c...c,(d...d:e...e) ... [ETX]
Symbol
Parameter name
Total number of data byte
*This is the total number of bytes after parameter
a
b. The delimiting comma between parameters a
and b, and the ETX are not included.
Sensor information name
b(d)
*Text format
Sensor information data
c(e)
*Text format
Data Example)
[STX]xx,IM:0.2/SL1.5,GAP:0.9/SL1.0...[ETX]
[Return data format (when a command error occurs)]
[NAK]<15>
16
[Sensor information data list]
No
Sensor information name
1
IM
2
GAP
3
HEAD OPEN
4
CUTTER OPEN
5
DISPENSER
6
HEAD TEMP
7
RIBBON
8
SENSOR HIGH
9
SENSOR LOW
[Notes]
1. When sending this command in continuation, be sure to set a fixed interval (100 msec or more).
2. If the sensor information acquisition processing for each sensor does not finish within 100 msec, a timeout is thought
to have occurred, and [NAK] is returned. A timeout may occur during the printer operation.
3. SENSOR HIGH, SENSER LOW is the value of the last label that passed through the sensor.
Therefore it may sometimes be different from test printing results (the value is measured with the label before
printing).
4. If the sensor type is set to NONE, the SENSOR HIGH and SENSOR LOW values return as 0.0
Each
Sensor
Information
PD
<50>
44>
16<
16
Description
I-Mark sensor
Gap sensor
Head Open
Cutter open
Dispenser sensor
Head thermistor
Ribbon slit sensor
High value of active sensors
Low value of active sensors
433
DC2+PD
Parameter
None
The command can be received even during the printer
operation.
Commands can be received even if an error is occurring.
Valid range
Data size from the first identifier until before
[ETX]
Refer to the sensor information data list
Refer to the sensor information data list
Sensor information data
X.X/SLY.Y
X.X = 0.0 to 3.3 : Sensor level
Y.Y = 0.0 to 3.3 : Slice level
X.X/SLY.Y
X.X = 0.0 to 3.3 : Sensor level
Y.Y = 0.0 to 3.3 : Slice level
0: Close, 1: Open
0: Close, 1: Open
0: Without label, 1: With label
-XX to XX: Thermistor temperature
0: Slit ON, 1: Slit OFF
X.X = 0.0 to 3.3 : Sensor level
X.X=0.0 to 3.3 : Sensor level

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cl6nx

Table of Contents