beautypg.com

99 part 2 programs – IAI America SSEL User Manual

Page 121

background image

99

Part 2 Programs

Operation type in the output field
CC: Command was executed successfully, ZR: Operation result is zero,
PE: Operation is complete, CP: Command part has passed, TU: Time up
EQ: Operand 1 = Operand 2, NE: Operand 1

z Operand 2,

GT: Operand 1 > Operand 2, GE: Operand 1

t Operand 2,

LT: Operand 1 < Operand 2, LE: Operand 1

d Operand 2

Category

Condition Command

Operand 1

Operand 2

Output

Function

Page

Optional

AXST

Variable number

Axis number

CP

Get axis status

204

Optional

PGST

Variable number

Program number

CP

Get program status

205

System

information

acquisition

Optional

SYST

Variable number

Prohibited

CP

Get system status

206

Optional

WZNA

Zone number

Axis pattern

CP

Wait for zone ON, with AND

207

Optional

WZNO

Zone number

Axis pattern

CP

Wait for zone ON, with OR

208

Optional WZFA Zone

number

Axis pattern

CP

Wait for zone OFF, with AND

209

Zone

Optional

WZFO

Zone number

Axis pattern

CP

Wait for zone OFF, with OR

210

Optional OPEN Channel number

Prohibited

CP Open

channel

211

Optional

CLOS

Channel number

Prohibited

CP

Close channel

211

Optional

READ

Channel number

Column number

CC

Read from channel

212

Optional

TMRW

Read timer setting

(Write timer setting)

CP

Set READ timeout value

214

Optional

WRIT

Channel number

Column number

CP

Output to channel

216

Communica

tion

Optional

SCHA

Character code

Prohibited

CP

Set end character

217

Optional SCPY Column

number

Column number,
character literal

CC

Copy character string

218

Optional SCMP Column

number

Column number,
character literal

EQ

Compare character strings

219

Optional SGET Variable

number

Column number,
character literal

CP Get

character

220

Optional

SPUT

Column number

Data

CP

Set character

221

Optional

STR

Column number

Data

CC

Convert character string; decimal

222

Optional STRH Column

number Data

CC

Convert character string;
hexadecimal

223

Optional VAL Variable

number

Column number,
character literal

CC

Convert character string data;
decimal

224

Optional VALH Variable

number

Column number,
character literal

CC

Convert character string data;
hexadecimal

225

String

operation

Optional

SLEN

Character string length

Prohibited

CP

Set length

226