Omron SYSMAC C200HS Operation Manual page 419

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Host Link Commands
Parameters
11-3-15 SV READ 1 –– R#
Command Format
1
x 10
x 10
@
Node no.
Response Format
x 10
@
Node no.
Parameters
414
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 speci-
fied, then 28 will become the last word for writing data, and the command will not
be executed because AR 28 is beyond the writeable range.
Searches for the first instance of a TIM, TIMH(15), CNT, CNTR(12), or TTIM(87)
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, and it may there-
fore take approximately 10 seconds to produce a response.
0
1
2
OP
OP
OP
R
#
Header
Name
code
1
0
1
x 10
x 16
x 16
R
#
Header
End code
code
Name, TC Number (Command)
Specify the instruction for reading the SV in "Name". Make this setting in 4 char-
acters. In "TC number", specify the timer/counter number used for the instruc-
tion.
Instruction name
OP1
OP2
T
I
T
I
C
N
C
N
T
T
(S): Space
SV (Response)
The constant SV is returned.
Note
1. The instruction specified under "Name" must be in four characters. Fill any
gaps with spaces to make a total of 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.
3
4
3
2
1
OP
x 10
x 10
x 10
x 10
TC number
(0000 to 0511)
0
3
2
1
0
x 10
x 10
x 10
x 10
SV
OP3
OP4
M
(S)
TIMER
M
H
HIGH-SPEED TIMER
T
(S)
COUNTER
T
R
REVERSIBLE COUNTER
I
M
TOTALIZING TIMER
Section 11-3
0
:
Terminator
FCS
:
FCS
Terminator
Classification
TC number
0000 to 0511
range

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents