1. PLC Development Environment Using GX Developer
1.2 Setup
- 11 -
(2) RS-422 connection
MELSEC-dedicated cable can be used to connect with C64 controller.
Refer to the GX Developer Operating Manual for details.
(3) Ethernet connection
For the connection using Ethernet, the Ethernet card (FCU6-EX875) must be mounted to the
extension slot on the control unit.
Connect the Ethernet cable to the modular jack on the Ethernet card.
1.3 Developing PLC Programs
1.3.1 Precautions before Development
Pay careful attention to the following items before developing PLC programs using the GX
Developer.
(1) PC type selection
The PLC type must be set when newly creating programs, etc. Select the following CPU type when
requested to select the PLC type with the GX Developer. An error will occur during transfer of the
PLC program to the CNC if another PLC type is selected.
Select "Q4A" for CPU type.
(2) Device setting
Do not set the devices when developing the PLC program for the CNC. Develop the program with
the device settings (No. of points, etc.) left at their default values applied when GX Developer was
started. The PLC program cannot be transferred to the CNC normally when it is developed with
settings other than the default values.
Do not set the devices.
(3) PLC commands
MELSEC-specific PLC commands cannot be used in the PLC program development for the CNC.
Refer to “6.1 Command List Table” and confirm the useable commands.
The format, etc., are changed with some commands. Refer to "1.5 PLC4B PLC Development
Environment and Differences" for details.
MELSEC-specific PLC commands cannot be used.
(4) Label at the beginning of ladder program
In a MELDAS PLC program, a processing unit is differentiated by specifying a reserved label
number at the beginning of processing. There are the following different processing units.
P251, P360 to 368 : PLC high-speed processing program starting label
P252, P370 to 378 : PLC main processing program starting label
Even if only the PLC main processing is to be performed, do not omit but describe the above label
at the beginning of a PLC program. Unless the label is described, normal RUN cannot be performed.
Specify a label at the beginning of a PLC program.