EasyManua.ls Logo

TSC TTP-244 Plus

TSC TTP-244 Plus
252 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. 217 Copyright 2013 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
Sample code
DOWNLOAD "SetSecond.BAS"
REM *****Set Second Parameter to RTC*****
SECOND=59
EOP
SetSecond
Sample code
DOWNLOAD "DEMO.BAS"
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
REM *****Read Second parameter form RTC*****
SECOND$=STR$(SECOND)
SEC=SECOND
REM *****Print*****
TEXT 10,10,"3",0,1,1,"SECOND1="+SECOND$
TEXT 10,50,"3",0,1,1,"SECOND2="+STR$(SEC)
TEXT 10,90,"3",0,1,1,"SECOND3="+STR$(SECOND)
PRINT 1
EOP
DEMO
Result
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND

Table of Contents

Other manuals for TSC TTP-244 Plus

Related product manuals