beautypg.com

Argox PA-20 Basic Programming Manual User Manual

Page 63

background image

PT-Basic Programming Manual Ver. 1.00

62/143

SCANKEYPWON

Purpose: To set power on by scan key.

Syntax: A%=SCANKEYPWON(N%)

Example: Result%=SCANKEYPWON(1)

Description:

N%

Meaning

0

Normal

1

Set power on by scan key

A% is an integer variable to be assigned to the result.

A%

Meaning

0

Setting fail

1

Setting success

GET_SCANKEYPWON

Purpose: Get state for power on by scan key.

Syntax: A%= GET_SCANKEYPWON

Example: Result%= GET_SCANKEYPWON

Description: A% is an integer variable to be assigned to the result.

A%

Meaning

0

Normal

1

Set power on by scan key