3. Instructions
1136
CS/CJ/NSJ Series Instructions Reference Manual (W474)
TSR/TSW
Applicable Program Areas
Operands
z TSR
z TSW
z Operand Specifications
Flags
Function
z TSR(780)
The present value of the Step Timer specified by S is stored starting at D.
z TSW(781)
The present value of the Step Timer specified by S is changed to the value specified starting at D.
Instruction Mnemonic Variations
Function
code
Function
READ SET TIMER TSR @TSR 780
The present value of the Step Timer specified by S
is stored starting at D.
SET STEP TIMER TSW @TSW 781
The present value of the Step Timer specified by S
is changed to the value specified starting at D.
Symbol
TSR TSW
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S Step timer UINT 1
D First word to store the Step Timer's present value UINT 1
Operand Description Data type Size
S First word holding the Step Timer's new present value UINT 1
D Step timer UINT 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S
OK OK OK OK --- --- OK OK --- ---
--- ---
--- --- --- --- --- ---
D --- OK
Name Label Operation
Error Flag P_ER OFF
TSR(780)
S
D
TSW(781)
S
D