beautypg.com

Sel language – IAI America DS-S-C1 User Manual

Page 52

background image

50

[Function] Output the value of variable 99 to output ports or flags from operand 1 to opreand 2.

Note 1: The maximum number of digits that can be output is 32 bits.

[Example 1]

OUT

300

307

Write the value of variable 99 as a binary value to output ports from

300~307.

[Example 2]

LET

1

300

Assign 300 to variable 1.

LET

2

307

Assign 307 to variable 2.

OUT

*1

*2

Write the value of variable 99 as a binary number to output ports 300
(content of variable 1) through 307 (content of variable 2).

n

o

i

s

n

a

p

x

E

n

o

i

t

i

d

n

o

c

)

R

O

·

D

N

A

(

t

u

p

n

I

n

o

i

t

i

d

n

o

c

)

g

a

l

F

·

O

/

I

(

d

n

a

m

m

o

C

t

s

o

P

)

g

a

l

F

·

t

u

p

t

u

O

(

d

n

a

m

m

o

C

1

d

n

a

r

e

p

O

2

d

n

a

r

e

p

O

l

a

n

o

i

t

p

O

l

a

n

o

i

t

p

O

T

U

O

g

a

l

F

·

O

/

I

g

a

l

F

·

O

/

I

133

• • • • • • • • • • • • • • • •

Variable 99

ò

12. SEL Language

OUT (Binary Number Output)

• • •

Output port Number

ON

OFF

OFF

OFF

OFF

OFF

ON

ON

307

306

305

304

303

302

301

300

Upper

1

0

0

0

0

0

1

• ••

Output port Number

1