374
Host Link Commands Section 6-3
Response Format An end code of 00 indicates normal completion.
Parameters Write Data (Command)
Specify in order the contents of the number of words to be written to the AR
area in hexadecimal, starting with the specified beginning word.
Note If data is specified for writing which exceeds the allowable range, an error will
be generated and the writing operation will not be executed. If, for example, 26
is specified as the beginning word for writing, and three words of data are
specified, then 28 will become the last word for writing data, and the com-
mand will not be executed because AR 28 is beyond the writable range.
6-3-15 SV READ 1 –– R#
Searches for the first instance of a TIM, TIMH(15), CNT, and CNTR(12)
instruction with the specified TC number in the user’s program and reads the
PV, which assumed to be set as a constant. The SV that is read is a 4-digit
decimal number (BCD). The program is searched from the beginning, which
may take as much as 10 seconds to produce a response.
Command Format
Note TC number: 0000 to 0511 in CQM1 PCs, 0000 to 0127 in CPM1/CPM1A/
SRM1 PCs
Response Format
Parameters 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.
SV (Response)
The constant SV is returned.
Note 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.
@
FCS
WJx 10
1
x 10
0
x 16
1
x 16
0
*
Node no. End codeHeader
code
Terminator
@
FCS
R#x 10
1
x 10
0
OP
1
OP
2
↵
OP
3
OP
4
x 10
3
x 10
2
x 10
1
x 10
0
Node no. Header
code
TerminatorName TC number*
@
FCS
R#x 10
1
x 10
0
x 16
1
x 16
0
↵
x 10
3
x 10
2
x 10
1
x 10
0
SV TerminatorNode no. Header
code
End code
Instruction name Classification
OP1 OP2 OP3 OP4
T I M (Space) TIMER
T I M H HIGH-SPEED TIMER
C N T (Space) COUNTER
C N T R REVERSIBLE COUNTER