beautypg.com

Festo Кабели и принадлежности User Manual

Page 356

background image

7. Description of the commands

7−90

Festo P.BE−SPC200−EN en 0901d

#TR

Test register

ć permitted in operating modes: Start/Stop

Nn #TR =

n

Number of the register, the contents of which are to
be compared

n = 0 ... 99

n

Value which is to be compared with the contents of
the specified register

n =
−32768 ... 32767

Rn

Register Rn contains the value which is to be comĆ
pared with the contents of the specified register

n = 0 ... 99

number>

n

Specification of the record number as numerical
value

n = 0 ... 999

Rn

Register Rn contains the record number

n = 0 ... 99

Effect

A branch is made to the specified NC record if the register contains the specified
value.

Example

N010 #TR0=100 350

;If register 0 = 100, jump to NC record 350

A branch is made to NC record 350 if register 0 contains the value 100.