415
11-3-16 SV READ 2 –– 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 as the second operand for the
TIM, TIMH(15), CNT, CNTR(12), or TTIM(87) instruction at the specified pro-
gram address in the user’s program. This can only be done with a program of
less than 10K.
Command Format
x 10
0
x 10
0
@ R$
x 10
0
x 10
1
x 10
3
x 10
2
x 10
1
OP1 OP2 OP3 OP4 x 10
3
x 10
2
x 10
1
: ↵
Node no. Program
address
Name Timer/counter
(0000 to 0511)
TerminatorFCSHeader
code
Response Format
x 16
0
@ R$
OP1 OP2 OP3 OP4 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 TerminatorFCS
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
ddd
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