376
Host Link Commands Section 6-3
6-3-17 SV READ 3 –– R% (CQM1 Only)
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, or CNTR(12) instruction at the specified program
address in the user’s program. With this command, program addresses can
be specified for a program of 10K or more.
Command Format
Response Format An end code of 00 indicates normal completion.
Parameters Name, TC Number (Command)
Specify the name of the instruction for reading the SV in “Name.” Make this
setting in 4 characters. In “TC number,” specify the timer/counter number used
by the instruction.
Operand, SV (Response)
The name that indicates the SV classification is returned to “Operand,” and
either the word address where the SV is stored or the constant SV is returned
to “SV.”
Note The instruction name specified under “Name” must be in four characters. Fill
any gaps with spaces to make a total of four characters.
x 10
3
OP4OP3OP2OP1@ 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. P rogram
address
Must be "0"
Name Timer/counter
(0000 to 0511)
TerminatorFCS
Header
code
@ R% OP1 OP2 OP3 OP4x 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 TerminatorFCS
Instruction name Classification TC number
range
OP1 OP2 OP3 OP4
T I M (Space) TIMER 0000 to 0511
T I M H HIGH-SPEED TIMER
C N T (Space) COUNTER
C N T R REVERSIBLE COUNTER
Operand Classification Constant or
word address
OP1 OP2 OP3 OP4
C I O (Space) IR or SR 0000 to 0255
L R (Space) (Space) LR 0000 to 0063
H R (Space) (Space) HR 0000 to 0099
A R (Space) (Space) AR 0000 to 0027
D M (Space) (Space) DM 0000 to 6655
DM* (Space) DM (indirect) 0000 to 6655
C O N (Space) Constant 0000 to 9999