Omron C200HX Operation Manual page 495

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Host Link Commands
10-3-17 SV READ 1 –– R#
Command Format
1
x 10
x 10
@
Node no.
Response Format
x 10
@
Node no.
Limitations
PC Settings
An end code of 15 (entry number data error) will be returned if the specified write
data exceeds the data area boundary, the beginning word isn't specified in BCD,
or the write data isn't hexadecimal. (An end code of A5 will be returned instead of
15 for non-hexadecimal write data in multiple command frames.)
End code
00
Normal completion
01
Not executable in RUN mode
13
FCS error
14
Format error
15
Entry number data error
18
Frame length error
A3
Aborted due to FCS error in transmit data
A4
Aborted due to format error in transmit data
A5
Aborted due to entry number data error in transmit data
A8
Aborted due to frame length error in transmit data
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).
0
1
2
OP
OP
OP
R
#
Header
Mnemonic
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
TIMER
HIGH-SPEED TIMER
COUNTER
REVERSIBLE COUNTER
TOTALIZING TIMER
1
0
1
x 10
x 16
x 16
R
#
Header
End code
code
The second word of the instruction must be a BCD constant from 0000 to 0511.
If the same instruction is used more than once in a program, the SV of the first
one will be read.
The command can't be executed if the UM area is read-protected.
PC Mode
RUN
MONITOR
OK
Contents
3
4
3
2
1
OP
x 10
x 10
x 10
x 10
TC number
(0000 to 0511)
Mnemonic
OP1
OP2
T
I
T
I
C
N
C
N
T
T
0
3
2
1
0
x 10
x 10
x 10
x 10
SV
PROGRAM
Write-protected
OK
OK
Section 10-3
0

Terminator
FCS
TC number
range
OP3
OP4
(Space) 0000 to 0511
M
M
H
T
(Space)
T
R
I
M

FCS
Terminator
UM Area
Read-protected
OK
---
477

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents