M800V/M80V Series PLC Development Manual
5 Peripheral Development Environment (GX Works2)
5.5 Common Items
5.5 Common Items
5.5.1 Cautions Before Development
Before developing sequence programs using GX Works2, note the following.
Always observe the following precautions during work.
PLC type selection
The PLC type must be set when newly creating programs, etc. When prompted to set PLC type by GX Works2, select the
following CPU type. If other types are selected, the transfer of sequence programs to a CNC controller fails with an error.
Note
(1) Select "Q26UDH" as CPU type.
Device settings
The number of devices must always be set when developing the sequence program for the CNC controller. If a sequence
program is developed without setting the values as described later, the sequence program is not transferred to a CNC
controller properly.
Note
(1) Always set the number of devices.
PLC Instructions
MELSEC-specific PLC instructions cannot be used in developing sequence programs for CNC controllers.
The formats of some instructions have been changed. For details, refer to "PLC Programming Manual".
Note
(1) MELSEC-specific PLC instructions cannot be used.
Saving the sequence program
Sequence programs transferred from GX Works2 or built-in PLC (built-in edit function) to a CNC controller are stored in
temporary storage. Data in temporary storage are cleared at power OFF. (The sequence program stored in the ROM in the
CNC comes into effect at the next power ON.)
To retain the sequence programs transferred to the CNC controller after the next power ON, write them to the ROM in the
CNC
Note
(1) Sequence programs not saved in the ROM in the CNC are not retained after power OFF.
Use of array labels
When devices/labels are used as indexes for array labels, set the PLC bit selection parameter "#6471/bit1" to "1". At this time,
the number of devices of the index register Z is 10 points (Z0 to Z9). When a Z10 or later device is used, the transfer of
sequence programs to the NC controller fails with an error.
Note
(1) When devices/labels are used as indexes for array labels, set the parameter "#6471/bit1" to "1". Do not use Z10 or later
devices.
IB-1501614-B
76