Omron C200HE Computer Hardware User Manual


 
473
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 isnt specified in BCD,
or the write data isnt hexadecimal. (An end code of A5 will be returned instead of
15 for non-hexadecimal write data in multiple command frames.)
End code Contents
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
10-3-17 SV READ 1 –– R#
Searches for the first instance of a TIM, TIMH(15), CNT, CNTR(12), or TTIM(87)
instruction with the specified TC number in the users 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).
Command Format
@ R#
FCS
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
TerminatorMnemonic TC number
(0000 to 0511)
Use all four characters to specify the timer or counter instructions 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
@ R#
x 10
1
x 10
0
x 16
1
x 16
0
FCS
x 10
3
x 10
2
x 10
1
x 10
0
SV TerminatorNode no. Header
code
End code
Limitations 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 cant be executed if the UM area is read-protected.
PC Settings
PC Mode UM Area
RUN MONITOR PROGRAM Write-protected Read-protected
OK OK OK OK ---
Host Link Commands
Section 10-3