Types Of Data - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

Data Transfer and Storage: Overview
Reading/writing specific position data or parameters
Reading monitor data
Read/writing large amounts of position data
Saving data to flash memory
4-1-2

Types of Data

Data
Content
Programs
G code programs
describing positioning
operations
Position
Data that indicates
data
positions
System
Number of axes used,
parame-
number of tasks, feed
ters (See
rates, and other system
note 7.)
data
Monitor
Error codes, present
data
positions, currently
executing program
numbers, and other data
Command
Special codes written
area
using the IOWR
instruction to transfer
position data, save data
to flash memory, or to
perform autoloading.
There are basically three ways that the IOWR/IORD instructions can be used
to read and write data.
Purpose
3. Execute autoloading from the IOWR instruction in the ladder program.
IOWR can be used to write an operation code to the command area to au-
tomatically download programs or position data from the CX-Motion. Refer
to 6-16 Automatic Loading.
Note A system setting error can occur when system parameters are transferred to
an MC Unit. To enable the parameters when this happens, save the parame-
ters in flash memory, and then turn MC Unit power OFF and ON or restart the
MC Unit.
A system setting error occurs if unit parameters and machine specification
parameters are changed without being enabled by cycling MC Unit power or
restarting the Unit. Always save the parameters in flash memory before turn-
ing MC Unit power OFF or restarting the Unit, otherwise the Unit will return to
the original system parameters.
The following types of data can be transferred by using CX-Motion, directly by
executing IOWR/IORD instruction, or by executing an IOWR instruction to
write data to the command area.
Refer to SECTION 3 MC Unit Internal Data Configuration for details on the
data that can be written and addresses.
Data
structure
Intermedi-
ate code
3 words per
position
2 words per
parameter
2 words per
item
(note
4)
2 or 6 words
per com-
mand
IOWR/IORD commands are used when:
• One system parameter is to be written/read.
• Data for up to four position is to be written/read.
• One item in the monitor data is to be read.
IOWR can be used to write data to the command
area to read/write data for up to 2,000 positions
at once.
IOWR can be used to write data to the command
area to save system parameters or position data
to flash memory.
CX-Motion (note 1)
Read Write Save Read Write Save Read Write Save
(note
6)
Section 4-1
Description
O: Possible, X: Not possible
Read/Write
IOWR/IORD
Teaching Box
(note
(note
(note
2)
3)
3)
(note
5)
203

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents