EasyManua.ls Logo

Festo SPC200 - Page 291

Festo SPC200
404 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5. Programming
5−105
Festo P.BE−SPC200−WIN−PISA−CD−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.

Table of Contents