Omron C200HE ユーザーズマニュアル

ページ / 564
474
Execution Conditions
Commands
Responses
Single
Multiple
Single
Multiple
OK
---
OK
---
End Codes
An end code of 14 (format error) will be returned if the length of the command is
incorrect.
An end code of 15 (entry number data error) will be returned if an incorrect
instruction mnemonic or TC number is used.
An end code of 16 (command not supported) will be returned if the specified
instruction doesn’t exist in the program.
End code
Contents
00
Normal completion
13
FCS error
14
Format error
15
Entry number data error
16
Command not supported
18
Frame length error
23
User memory protected
10-3-18
SV READ 2 –– R$
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), CNT, CNTR(12), or TTIM(87) instruction at the specified pro-
gram address in the user’s program.
Command Format
x 10
0
x 10
0
@
R
$
x 10
0
x 10
1
x 10
3
x 10
2
x 10
1
OP1 OP2 OP3 OP4 x 10
3
x 10
2
x 10
1
Node no.
Program address
(BCD)
Mnemonic
Timer/counter
(0000 to 0511)
Terminator
FCS
Header
code
Use all four characters to specify the timer or counter instruction’s mnemonic.
Add a space to the end of a TIM or CNT mnemonic to make it 4 characters long.
Instruction name
Mnemonic
TC number
OP1
OP2
OP3
OP4
range
TIMER
T
I
M
(Space) 0000 to 0511
HIGH-SPEED TIMER
T
I
M
H
COUNTER
C
N
T
(Space)
REVERSIBLE COUNTER
C
N
T
R
TOTALIZING TIMER
T
T
I
M
Response Format
x 16
0
@
R
$
OP1 OP2 OP3 OP4
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
Terminator
FCS
Host Link Commands
Section 10-3