![Omron C200HW Operation Manual Download Page 114](http://html1.mh-extra.com/html/omron/c200hw/c200hw_operation-manual_742329114.webp)
5-2
Section
Writing Data with the WRITE DATA Bit
101
With data writing, 672 words of data in consecutive addresses can be sent at
once.
Data Writing Procedure
1, 2, 3...
1. Setting the common parameters: Refer to
4-2 Common Parameter
s
m:
Set the operating data area either to DM or to EM.
m+1:
Set the operating data area beginning word (I).
m+2:
Designate mounting position and parameters.
2. Powering up again or restarting
The data for the common parameters set in 1 above is enabled.
3. Setting the operating data area
I:
Total number of words (4 digits BCD) for the data to be written to the
Position Control Unit.
I+1:
Beginning word address (4 digits BCD) for the PC’s DM or EM area
setting the data.
I+2:
Beginning address (4 digits BCD) of Position Control Unit data area
where data is to be stored.
4. Setting data
Set data to be written to the Position Control Unit in the DM or EM area speci-
fied by words I and I+1.
5. Executing WRITE DATA
Turn the WRITE DATA Bit (word n+1, bit12) from OFF to ON.
The operations in (1) and (2) above are required when using the Position Control
Unit for the first time or when modifying the data in the common parameters.
5-2-2 Timing Chart for Writing Data
Writing data is possible even during axis operation.
It is not possible to write data and read data at the same time.
The following diagram is a timing chart for writing data.
Number of
transfer words (l)
Transfer source
word (I+1)
Transfer destination
address (I+2)
WRITE DATA
(n+1, bit 12)
Data transferring
(n+8, bit 14)
When the data writing operation is completed, the Data Transferring Bit (word
n+8, bit 14) is turned from ON to OFF. If an error occurs during data transfer, the
Error Flag (word n+8, bit 12) is turned ON and the error code is output to I+27 in
the operating data area. Check this error code to determine the cause of the
error and correct it.
5-2-3 Example of the Write Data Program
A sample program is given below for writing the following speed data to the Posi-
tion Control Unit. The Position Control Unit to be used will be a C200HW-NC413
designated as Unit 0.
The common parameters are from DM1000 to DM 1002.
The operating memory area is from word 100 to word 119.
The beginning word of the operating data area is DM 0400.
Allocation of Areas
Summary of Contents for C200HW
Page 1: ...Cat No W334 E1 04 Position Control Units SYSMAC C200HW NC113 NC213 NC413 ...
Page 2: ...C200HW NC113 NC213 NC413 Position Control Units Operation Manual Revised July 2003 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 285: ...Cat No W334 E1 04 C200HW NC113 NC213 NC413 Position Control Units OPERATION MANUAL ...