Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 144

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

C-mode Command Details
End Codes
4-3-18 TIMER/COUNTER SV READ 2 – – R$
Command Format
1
0
@
R
$
x 10
x 10
Unit No. (BCD)
Header
code
122
An end code of 14 (format error) will be returned if the length of the command
is incorrect.
An end code of 15 (entry number data error) will be returned if the timer/
counter type or timer/counter number is out of range (including hexadecimal
data).
An end code of 16 (command not supported) will be returned if the specified
instruction does not exist in the UM Area.
End code (Hex)
00
13
14
15
16
18
21
23
From the specified program address onwards in cyclic task 0, TIMER/
COUNTER SV READ 2 finds the specified timer/counter instruction and reads
the 4-digit constant SV that is set or the word address where the SV is stored.
3
2
1
0
x 10
x 10
x 10
x 10
OP1 OP2 OP3 OP4 x 10
Program address
Timer/counter type
(BCD)
Instruction name
HIGH-SPEED COUNTER
WAIT
TIMER WAIT
COUNTER WAIT
HIGH-SPEED TIMER
TOTALIZING TIMER
REVERSIBLE COUNTER
TIMER
COUNTER
Note "SP" represents a space (20 Hex).
Normal completion
FCS error
Format error
Entry number data error
Command not supported
Frame length error
Not executable due to CPU Unit CPU error.
User memory protected
3
x 10
Timer/counter
number (BCD)
Timer/counter type
Char-
Char-
acter 1
acter 2
T
M
T
I
C
N
T
I
T
T
C
N
T
I
C
N
Section 4-3
Contents
*
2
1
0
x 10
x 10
FCS
Terminator
Timer/counter
number (BCD)
Char-
Char-
acter 3
acter 4
H
W
0000 to 2047
M
W
T
W
M
H
I
M
T
R
M
(SP)
T
(SP)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents