Tsr/Tsw - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

TSR/TSW

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

Advertisement

Table of Contents
loading

Table of Contents