![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436421.webp)
416
11-3-17 SV READ 3 –– R%
Reads the constant SV or the word address where the SV is stored. The SV that
is read is a 4-digit decimal number (BCD) written in the second word of the TIM,
TIMH(15), CNT, CNTR(12), or TTIM(87) instruction at the specified program ad-
dress in the user’s program. With this command, program addresses can be
specified for a program of 10K or more.
Command Format
x 10
3
OP4
OP3
OP2
OP1
@
R
%
x 10
2
x 10
2
x 10
0
x 10
1
x 10
5
x 10
4
x 10
3
x 10
0
x 10
1
x 10
1
x 10
0
↵
:
Node no.
Program
address
Must be “0”
Name
Timer/counter
(0000 to 0511)
Terminator
FCS
Header
code
Response Format
@
R
%
OP1 OP2 OP3 OP4
x 16
0
x 10
0
x 10
0
x 10
1
x 16
1
x 10
3
x 10
2
x 10
1
:
↵
Node no.
Header
code
End code
Operand
SV
Terminator
FCS
Parameters
Name, TC Number (Command)
Specify the name of the instruction for reading the SV in “Name”. Make this set-
ting in 4 characters. In “TC number”, specify the timer/counter number used by
the instruction.
Instruction name
Classification
TC number
OP1
OP2
OP3
OP4
range
T
I
M
(S)
TIMER
0000 to 0511
T
I
M
H
HIGH-SPEED TIMER
C
N
T
(S)
COUNTER
C
N
T
R
REVERSIBLE COUNTER
T
T
I
M
TOTALIZING TIMER
(S): Space
Operand, SV (Response)
The name that indicates the SV classification is returned to “Operand”, and ei-
ther the word address where the SV is stored or the constant SV is returned to
“SV”.
Operand
Classification
Constant or
d dd
OP1
OP2
OP3
OP4
word address
C
I
O
(S)
IR or SR
0000 to 0511
L
R
(S)
(S)
LR
0000 to 0063
H
R
(S)
(S)
HR
0000 to 0099
A
R
(S)
(S)
AR
0000 to 0027
D
M
(S)
(S)
DM
0000 to 6655
D
M
:
(S)
DM (indirect)
0000 to 6655
C
O
N
(S)
Constant
0000 to 9999
Note The instruction name specified under “Name” must be in four characters. Fill any
gaps with spaces to make a total of four characters.
Host Link Commands
Section 11-3