EasyManua.ls Logo

Omron CJ - REFERENCE MANUAL 07-2009 - Timer;Counter Sv Read 1 - - R; Timer;Counter Sv Read 2 - - R

Omron CJ - REFERENCE MANUAL 07-2009
267 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...
121
C-mode Command Details Section 4-3
4-3-17 TIMER/COUNTER SV READ 1 – – R#
Reads the constant SV (4 digits BCD) written in the operands of designated
timer/counter instructions from cyclic task 0. If there are multiple timer/counter
instructions designated in cyclic task 0, TIMER/COUNTER SV READ 1 will
read the SV of the designated instruction with the lowest program address.
Command Format
Note “SP” represents a space (20 Hex).
Response Format
Parameters Timer/Counter Type (Command)
Designate in ASCII characters the type of TC instruction for reading the con-
stant SV.
Timer Counter Number (Command)
Designate in four digits (BCD) the timer/counter number for reading the con-
stant SV.
Limitations Timers T2048 to T4095 and counters C2048 to C4095 cannot be read.
The second word of the instruction must be a constant.
This command cannot be executed while UM read protection is in effect.
If there are multiple relevant instructions in the UM Area, a search will be con-
ducted from program address 0, and the first instruction found will be read.
SV can be read only from cyclic task 0.
Execution Conditions
@
FCS
R
#
x 10
1
x 10
0
*
x 10
3
x 10
2
x 10
1
x 10
0
Unit No. (BCD)
Header
code
TerminatorTimer/counter
number
Timer/counter type
Instruction name Timer/counter type Timer/counter
number (BCD)
Char-
acter 1
Char-
acter 2
Char-
acter 3
Char-
acter 4
HIGH-SPEED COUNTER
WAIT
T M H W 0000 to 2047
TIMER WAIT T I M W
COUNTER WAIT C N T W
HIGH-SPEED TIMER T I M H
TOTALIZING TIMER TTI M
REVERSIBLE COUNTER C N T R
TIMER T I M (SP)
COUNTER C N T (SP)
@
FCS
R#
x 10
1
x 10
0
x 16
1
x 16
0
*
x 10
3
x 10
2
x 10
1
x 10
0
SV of instruction des-
ignated by command
(constant)
TerminatorUnit No. (BCD) Header
code
End code
Commands Responses PLC Mode UM Area
Single Multiple Single Multiple RUN MON PROG Write-protected Read-protected
OK No OK No OK OK OK OK No

Table of Contents

Related product manuals