416
11-3-17SV 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 103
OP4OP3OP2OP1
@R% x 102x 102
x 100
x 101x 105x 104x 103x 100
x 101
x 101x 100
:
Node no. Program
address
Must be “0”
Name Timer/counter
(0000 to 0511)
TerminatorFCS
Header
code
Response Format
@R% OP1 OP2 OP3 OP4
x 160x 100
x 100
x 101x 161x 103x 102x 101:
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