beautypg.com

Plc programs – Conair S900II User Manual

Page 22

background image

System Configuration

S900II

II – Instruction codes

20

01T01350_0

2.2.98

II – 2. PLC programs

Type

of Instruction

Display

Codop (hexadecimal)

PROG.PLC xx header (num)

PLC xx

FC [oper. 16 bits]

TEST CONDITION

IF ...

See part programs

INITIALISATION

SET ...

See part programs

RST ...
INC ...
DEC ...

COMPARISON xxxx > = xxxx

CMP 0000 (to 0015) VAL 0000 (to FFFF)

D020 [oper. 16 bits] [oper. 16 bits]

0000 (to 0015)

TIMER xx VALUE xxxx

TIMER 00 (to 15) VAL 0000 (to 9999)

D021 [oper. 16 bits] [oper. 16 bits]

AND FUNCTION on BIT

AND BIT 000 (to 127)

D022 [oper. 16 bits]

AND FUNCTION on OUTPUT

AND OUT 000 (to 127)

D023 [oper. 16 bits]

AND FUNCTION on BIT

OR BIT 000 (to 127)

D024 [oper. 16 bits]

OR FUNCTION on OUTPUT

OR OUT 000 (to 127)

D025 [oper. 16 bits]

END OF PROGRAM

END

F5 [oper. 16 bits]

PLC No.

Counter No.

Value

Timer No.

Pre–selection No.

Variables No.

PLC No.