Functional Character Commands; Counter Settings: Cnt - Panasonic LP-GS Series Serial Communication Command Manual

Laser marker
Hide thumbs Also See for LP-GS Series:
Table of Contents

Advertisement

3-6 Functional Character Commands

3-6-1 Counter settings: CNT

Configures the "counter" function used to mark consecutive numbers.
⿎ Setting request data / response data for readout
Start
CNT
code
command
Sub command is "S" for the setting request data and the initial setting "A" for the response data for readout.
⿎ Readout request data
Start
CNT
code
⿎ Data description
Name
Omit
Counter No.
Current value
Y
Starting value
Y
End value
Y
Step value
Y
Count timing
Y
Total data length
* Setting request data are variable length.
⿎ Example of command settings
Condition:
Counter No. = 0, Current value = 1234, Starting value = 0, End value = 9999, Step value = 1,
Count timing = 32
• Setting
Transmission data
• Readout
Transmission data
Response data
Condition:
Counter No. = 0, Current value = 1234, hold the last setting data for the other values
• Setting
Transmission data
[Counter No.], [Current value], [Starting value],
Sub
[End value], [Step value], [Count timing]
[Counter No.]
R
Max. 2-byte
Data length
Data contents
[byte]
Max. 2*
"00"–"31"
Max. 9*
"000000000"–"999999999"
Max. 9*
Minus numbers cannot be specified.
Max. 9*
Max. 9*
"00"–"31": When the counter 0 to 31
Max. 2*
has reached to the end value.
"32": When marking trigger is input.
Max. 45
It is the length including the separator ",".
[STX]
CNT
[STX]
CNT
[STX]
CNT
[STX]
CNT
Max. 45-byte
(Check
End code
sum)
"16" to "31" are the global counters.
• The current value is the value to be
• The counter current value change
If the starting value is larger than the end
one, it works as a subtraction counter.
The step value indicates a value to
increase or decrease per one counting-
up or counting-down.
It is the timing to update the current
value of the counter.
S
0,1234,0,9999,1,32
R
0
[CR]
A
00,000001234,000000000,00009999,000000001,32
S
0,1234
[CR]
ME-LPGS-SR-5
(Check
End code
sum)
Remarks
marked from now.
is saved to the laser marker without
overwriting operation.
[CR]
[CR]
85

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents