beautypg.com

System commands, 6 system commands – Argox PA-20 Basic Programming Manual User Manual

Page 40

background image

PT-Basic Programming Manual Ver. 1.00

39/143

3.6 System commands

AUTO_OFF

Purpose: To set auto power off timer.

Syntax: AUTO_OFF(N%)

Example: AUTO_OFF(2)

Description: N% is an integer variable in the range from 30 to 65535,

indicating a specified period of time in units of 1 second. If

the time interval is set to zero, this function will be disabled.

DEVICE_ID$

Purpose: To get the serial number of the terminal.

Syntax: A$ = DEVICE_ID$

Example:

PRINT “S/N:” + DEVICE_ID$

Description: A$ is a string variable to be assigned to the result. That is a

string of the target terminal serial number to be returned.

GET_TARGET_MACHINE$

Purpose: To get the model name of the target terminal.

Syntax: A$ = GET_TARGET_MACHINE$

Example:

PRINT “Model Name:”+GET_TARGET_MACHINE$

Description: A$ is a string variable to be assigned to the result. That is a

string of the model name of the target terminal to be returned.