Omron SYSMAC C200HS Operation Manual page 421

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

Advertisement

Host Link Commands
11-3-17 SV READ 3 –– R%
Command Format
1
0
@
x 10
x 10
R
Node no.
Header
code
Response Format
1
0
@
x 10
x 10
R
Node no.
Header
code
Parameters
416
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.
5
4
3
2
%
x 10
x 10
x 10
x 10
Program
address
Must be "0"
1
0
%
x 16
x 16
OP1 OP2 OP3 OP4
End code
Operand
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
OP1
OP2
T
I
T
I
C
N
C
N
T
T
(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
OP1
OP2
C
I
L
R
H
R
A
R
D
M
D
M
C
O
Note The instruction name specified under "Name" must be in four characters. Fill any
gaps with spaces to make a total of four characters.
1
0
OP1
OP2
OP3
x 10
x 10
Name
3
2
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
Classification
OP3
OP4
O
(S)
IR or SR
(S)
(S)
LR
(S)
(S)
HR
(S)
(S)
AR
(S)
(S)
DM
:
(S)
DM (indirect)
N
(S)
Constant
Section 11-3
3
2
1
OP4
x 10
x 10
x 10
x 10
Timer/counter
(0000 to 0511)
:
FCS
Terminator
:
1
0
x 10
FCS
Terminator
Classification
TC number
0000 to 0511
Constant or
word address
d dd
0000 to 0511
0000 to 0063
0000 to 0099
0000 to 0027
0000 to 6655
0000 to 6655
0000 to 9999
0
range

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents