21
Starting Operation
Section 2-2
Restarting the PCU
After the PCU settings have been saved, restart the PCU to enable the set-
tings. Either cycle the power to the CPU Unit, or restart the PCU. For the PCU
with unit number 0, the Restart Bit is allocated in A50100.
Note
Do not turn OFF the power to the PLC or restart the PCU while data is being
saved to the PCU’s flash memory. Doing so may corrupt the PCU’s memory.
Always make sure that the Data Transferring Flag is OFF before turning OFF
the power to the CPU Unit or restarting the PCU.
2-2-4
Starting MECHATROLINK Communications
Communications are started with the Servo Drive connected to MECHA-
TROLINK based on the Common Parameter settings in the PCU.
MECHATROLINK communications are started by turning ON the CONNECT
Bit in the Common Operating Memory Area. For the PCU with unit number 0,
the CONNECT Bit is allocated in CIO 150100. Turn ON this bit using the Pro-
gramming Console.
When connections are established, the PCU starts communications with the
MECHATROLINK devices (Servo Drives) registered in the scan list set in the
Common Parameters. When communications with the registered device are
normal, the corresponding bits for the axes in the Axis Communications Sta-
tus of the Common Operating Memory Area are turned ON. For the PCU with
unit number 0, the Axis Communications Status is allocated in the bits of CIO
1522.
When communications with the registered devices are not normal, the corre-
sponding bits for the axes in the Axis Communications Status bits of the Com-
mon Operating Memory Area are not turned ON and an MLK initialization
error (Unit error code 0020 hex) occurs in the PCU. Any axis errors that occur
can be checked using the Axis Error Flags and error codes in the Axis Operat-
ing Memory Areas.
The Connection Status Flag in the Common Operating Memory Area will turn
ON at the start of communications when the CONNECT Bit turns ON, regard-
less of whether communications with all registered devices are normal.
In this operation example, if MECHATROLINK communications are started
normally, the status of each flag is as follows:
Connection status (CIO 151615): 1 (Connection established)
Axis communications status (CIO 1522): 0001 (bit 00 = Communications
established with axis 1)
CIO 1515
14
This flag is ON while data is being saved.
When data saving is completed, the flag turns OFF.
Data Transferring Flag
CIO 1501
00
CONNECT Bit
This bit starts MECHATOROLINK
communications when it is turned ON.
CIO 1522
00 Bits 00 to 15 show the communications status
for axes 1 to 16, respectively. When an axis
registered in the scan list is communicating
normally, the corresponding bit turns ON.
Axis Communicating Bit for Axis 1
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 ...