Host Link Commands
Parameters
Note
6-5-18 SV READ 2 –– R$
Command Format
1
0
@
x 10
x 10
R
Node
Header
No.
code
Response Format
1
0
@
x 10
x 10
R
Node
Header
No.
code
Parameters
456
Name, TC Number (Command)
Specify the instruction for reading the SV in "Name." Make this setting in 4
characters. In "TC number," specify the timer/counter number used for the
instruction.
Instruction name
OP1
OP2
T
I
T
I
T
T
C
N
C
N
SV (Response)
The constant SV is returned.
1. The instruction specified under "Name" must be in four characters.
2. If the same instruction is used more than once in a program, only the first
one will be read.
3. Use this command only when it is definite that a constant SV has been set.
4. The response end code will indicate an error (16) if the SV wasn't entered
as a constant.
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), TTIM, CNT, or CNTR(12) instruction at the specified
program address in the user's program. This can only be done with a program
of less than 10,000.
3
2
1
0
$
x 10
x 10
x 10
x 10
Program address
(0000 to 9999)
An end code of 00 indicates normal completion.
1
0
$
x 16
x 16
OP1 OP2 OP3 OP4
End code
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.
Instruction name
OP1
OP2
T
I
T
I
T
T
C
N
C
N
OP3
OP4
M
(Space)
M
H
I
M
T
(Space)
T
R
3
OP1 OP2 OP3 OP4 x 10
Name
TC number
(0000 to 0511)
3
2
x 10
x 10
Operand
SV
OP3
OP4
M
(Space)
M
H
I
M
T
(Space)
T
R
Section 6-5
Classification
TIMER
HIGH-SPEED TIMER
TOTALIZING TIMER
COUNTER
REVERSIBLE COUNTER
2
1
0
x 10
x 10
x 10
FCS
*
1
0
x 10
x 10
FCS
Terminator
Classification
TIMER
HIGH-SPEED TIMER
TOTALIZING TIMER
COUNTER
REVERSIBLE COUNTER
*
↵
Terminator
↵
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?