223
Transferring PCU Parameters
Section 5-2
before WRITE DATA to enable identifying whether the data that was written
has been transferred correctly.
5-2-2
Reading PCU Parameters
The PCU's Common Parameters and Axis Parameters are read to the CPU
Unit using the READ DATA Bit in the Common Operating Memory Area. The
data to be transferred is set by specifying the number of transfer words, trans-
fer source, and transfer destination in the Common Operating Memory Area.
Multiple parameters can also be transferred all at once.
Note
(1) Read data from the PCU when the Data Transferring Flag is OFF. READ
DATA cannot be executed from the PCU while the Unit Busy Flag is ON
(PCU initializing or reading/writing Memory Card backup data).
(2) If READ DATA is executed while data is being transferred, a Multistart Er-
ror (Unit error code: 0021) will occur and data will not be read from the
PCU.
Data reading starts when the READ DATA Bit in the Common Operating Mem-
ory Area turns ON. When reading data from the PCU, make sure that the
READ DATA Bit remains ON until the Data Transferring Flag turns ON.
Up to 600 words can be transferred during a single data reading operation.
The maximum amount of data that can be transferred during a single CPU
Unit cycle, however, is 20 words. When reading more than 20 words of data,
the data is divided and read over multiple cycles. When reading data from the
PCU is completed, the Data Transferring Flag turns OFF.
Common Operating Memory Area (Output)
n = CIO 1500 + (unit number
×
25)
Common Operating Memory Area (Input)
Name
Word
Bit
Contents
READ DATA
n
02
0
→
1: Starts reading data
Number of read
words
n+10
---
Specifies the number of words to be read
from the PCU.
Read source
address
n+11
---
Specifies the read source address in the
PCU.
Read destination
area
n+12
---
Specifies the area used to store the data
read from the PCU.
The type of area set as the read destination
area is specified by specifying the begin-
ning word of the area in the read destination
word in hexadecimal.
Read destination area:
00B0 hex: CIO Area
00B1 hex: Work Area
00B2 hex: Holding Area
00B3 hex: Auxiliary Area
0082 hex: DM Area
005
@
hex: EM Area
@
: EM bank No.= 0 to 9, A, B, C
Read destination
word
n+13
---
Name
Word
Bit
Contents
Data Transferring
Flag
n+15
14
0: Powerup, transfer completed, or transfer
failed
1: Transferring data
Unit Busy Flag
n+16
14
0: PCU is not busy
1: PCU is busy
Summary of Contents for CJ1W-NC271 - 12-2009
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 22: ...xxii ...
Page 58: ...30 Starting Operation Section 2 2 ...
Page 244: ...216 Axis Operating Input Memory Areas Section 4 8 ...
Page 264: ...236 Transferring Servo Parameters Section 5 3 ...
Page 396: ...368 Linear Interpolation Section 9 7 ...
Page 648: ...620 List of Error Codes Appendix D ...
Page 674: ...646 Additional Functions for the CJ1W NCF71 MA Appendix F ...
Page 684: ...656 Index ...
Page 686: ...658 Revision History ...