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

Page 355

Advertising
background image

7. Description of the commands

7−89

Festo P.BE−SPC200−EN en 0901d

#LR

Load register

ć permitted in operating modes: Start/Stop

Nn #LR<Register> = <Value>

<Register>

n

Number of the register into which the value is
loaded

n = 0 ... 99

<Value>

n

Value which is loaded into the specified register

n =
−32768 ... 32767

Rn

Register Rn contains the value which is loaded into
the specified register

n = 0 ... 99

Effect

The value specified with n is loaded into the register.

Example

N011 #LR1=100

;Load value 100 into register 1

Remark

Registers are remanent.

#AR

Add to register

ć permitted in operating modes: Start/Stop

Nn #AR<Register> = <Value>

<Register>

n

Number of the register into which the value is
loaded

n = 0 ... 99

<Value>

n

Value which is loaded into the specified register

n =
−32768 ... 32767

Rn

Register Rn contains the value which is loaded into
the specified register

n = 0 ... 99

Effect

The contents of the register are added with the specified value.

Example

N010 #LR0=0

N011 #AR0=1

;Delete register 0
;Increase register 0 by 1

Remark

Registers are remanent.

Advertising