221
Saving Data
Section 4-3
4-3
Saving Data
Transferred position data and system parameters are written to internal MC
Unit memory where they will be used, but they will be lost if MC Unit power is
turned OFF or the Unit is restarted. The data must be stored in flash memory
using the command area to save the data in the MC Unit.
Once the data is saved, it is stored in internal MC Unit flash memory. The data
in flash memory will be used the next time MC Unit power is turned ON or the
Unit is restarted.
Note
1.
Data that has been saved is automatically read to internal memory from
flash memory when MC Unit power is turned ON or the Unit is restarted.
2.
Do not turn MC Unit power OFF or restart the Unit while data is being
saved, or flash memory in the MC Unit may be damaged.
The number of times that flash memory writes has a limited service life.
Data can be written up to 100,000 times.
3.
Do not operate the Teaching Box while saving data to flash memory.
4-3-1
Execution
The command area is used to save position data and system parameters to
flash memory. Data is saved by specifying the address in control code (C) of
the IOWR instruction and transferring the specified data to the MC Unit.
Writing position data to flash memory: Address 6100 (17D4 hex)
Writing system parameters to flash memory: Address 6101 (17D5 hex)
Refer to
Section 3-6 Command Area
for details on the command area.
4-3-2
Command Specifications
This section briefly describes the IOWR instruction specifications when the
command area is executed. Refer to
4-2-1 IOWR: INTELLIGENT I/O WRITE
for details.
Operand
Description
C
Storing position data to flash memory: 17D4 hex (address 6100)
Storing system parameters to flash memory: 17D5 hex (address 6101)
S
Source start word address
Sets the first word address of the CPU Unit area with the set data.
D
IOWR
C
S
D
@IOWR
C
S
D
Sets the destination unit number and total number of words transferred.
Total number of words transferred: Always 0002 hex (See the following
transfer data.)
Destination unit number:
CS1W-MC221: 0000 to 005D Hex (unit No. 0 to 93)
CS1W-MC421: 0000 to 005B Hex (unit No. 0 to 91)
Example: When two words of data (fixed) are transferred to unit No. 3:
#00020003
Total number of words transferred
Destination unit number
D+1
D
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...