Omron C200HE User Manual

Page of 564
472
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
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-16
EM AREA WRITE –– WE
Writes data to the specified EM area bank, starting from the specified word. Writ-
ing is done word by word.
Command Format
@      
W
E
FCS
x 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
x 16
3
x 16
2
x 16
1
x 16
0
Node no.
Header
code
Beginning word
(0000 to 6143)
Write data (1 word)
Write data 
(for number of words to write)
Terminator
Bank no.
(See note.)
Bank No.
Note Input 00, 01, or 02 to specify bank number 0, 1, or 2. Input two spaces to specify
the current bank.
Response Format
@
W
E
x 10
1
x 10
0
x 16
1
x 16
0
FCS
Node no.
Header
code
Terminator
End code
Limitations
Except for the first word of the write data, the write data can be divided into multi-
ple frames.
If a valid bank number is specified but the PC isn’t equipped with that EM bank,
the command will be completed normally without writing any data.
PC Settings
PC Mode
UM Area
RUN
MONITOR
PROGRAM
Write-protected
Read-protected
---
OK
OK
OK
OK
Execution Conditions
Commands
Responses
Single
Multiple
Single
Multiple
OK
OK
OK
---
End Codes
An end code of 14 (format error) will be returned if the length of the command is
incorrect or the first word of write data isn’t in the first frame.
Host Link Commands
Section 10-3