EasyManua.ls Logo

TSC TTP-343C series

TSC TTP-343C series
206 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TSC AUTO ID Technology Co., Ltd. 181 Copyright 2009 All Rights Reserved.
SECOND
Description
This variable reads/writes the second data via the Real Time Clock (RTC). Two-digits (00~59)
second format is supported by RTC.
Syntax
Write attribute: SECOND = 12
Read attribute: A = SECOND
Range: 00~59
Example
DOWNLOAD "SetSecond.BAS"
REM *****Set Second Parameter to RTC*****
SECOND=59
EOP
SetSecond
DOWNLOAD "DEMO.BAS"
SIZE 3,3
GAP 0.08,0
DENSITY 8
SPEED 4
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
REM *****Read Second parameter form RTC*****
SECOND$=STR$(SECOND)
SEC=SECOND
REM *****Print*****
TEXT 10,10,"5",0,1,1,"SECOND1="+SECOND$
TEXT 10,110,"5",0,1,1,"SECOND2="+STR$(SEC)
TEXT 10,210,"5",0,1,1,"SECOND3="+STR$(SECOND)
PRINT 1
EOP
DEMO
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND

Table of Contents

Related product manuals