beautypg.com

IAI America TT-C3 User Manual

Page 200

background image

190

INTELLIGENT ACTUATOR

Chapter 4 Commands

2.

Explanation

of

Commands

z WRIT (Write)

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,
declaration

Operand 1

Operand 2

Output

(Output, flag)

Optional Optional

WRIT

Channel

number

Column

number

CP

[Function] Write the character string in the column specified in operand 2 to the channel specified in

operand 1.
The operation will end when the character specified by a SCHA command is written.
Either a local or global column can be specified.

[Example]

SCHA

10

Set LF (= 10) as the end character.

OPEN 1

Open

channel

1.

WRIT

1

2

Write the character string in column 2 to channel 1
until LF is written.

CLOS

1

Close the channel.

This manual is related to the following products: