The text of a manual · part 22 of 49
FX3G Series Programmable Controllers User's Manual [Hardware Edition]: 14. Test Operation, Adjustment, Maintenance and Troubleshooting, pages 170 to 177
Pages 170 to 177 of 384, from FX3G Series Programmable Controllers User's Manual [Hardware Edition]
The original document is the PDF (11 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Mitsubishi FX-16EYR
Page 170
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
14. Test Operation, Adjustment, Maintenance and Troubleshooting STARTUP AND MAINTENANCE PRECAUTIONS • • •
•
•
Do not touch any terminal while the PLC’s power is on. Doing so may cause electric shock or malfunctions. Before cleaning or retightening terminals, cut off all phases of the power supply externally. Failure to do so may cause electric shock. Make sure to connect the battery for memory backup correctly. Do not charge, disassemble, heat, short-circuit, or expose the battery to fire. Doing so may rupture or ignite it. Before modifying or disrupting the program in operation or running the PLC, carefully read through this manual and the associated manuals and ensure the safety of the operation. An operation error may damage the machinery or cause accidents. Do not change the program in the PLC from two or more peripheral equipment devices at the same time. (i.e. from a programming tool and a GOT) Doing so may cause destruction or malfunction of the PLC program.
STARTUP AND MAINTENANCE PRECAUTIONS • •
• •
Turn off the power to the PLC before attaching or detaching the memory cassette. If the memory cassette is attached or detached while the PLC’s power is on, the data in the memory may be destroyed, or the memory cassette may be damaged. Do not disassemble or modify the PLC. Doing so may cause fire, equipment failures, or malfunctions. For repair, contact your local Mitsubishi Electric distributor. Turn off the power to the PLC before connecting or disconnecting any extension cable. Failure to do so may cause equipment failures or malfunctions. Turn off the power to the PLC before attaching or detaching the following devices. Failure to do so may cause equipment failures or malfunctions. - Peripheral devices, expansion boards, and special adapters - Extension units/blocks and FX Series terminal blocks - Battery and memory cassette
DISPOSAL PRECAUTIONS •
Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device.
TRANSPORTATION PRECAUTIONS •
•
164
When transporting the FX3G Series PLC incorporating the optional battery, turn on the PLC before shipment, confirm that the battery mode is set using a parameter and the ALM LED is OFF, and check the battery life. If the PLC is transported with the ALM LED on or the battery exhausted, the battery-backed data may be unstable during transportation. The PLC is a precision instrument. During transportation, avoid impacts larger than those specified in the general specifications (Section 4.1). Failure to do so may cause failures in the PLC. After transportation, verify the operations of the PLC.
Page 171
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
11
Preparation for Test Operation
High-Speed Counters
14.1
14.1 Preparation for Test Operation
14.1.1 Preliminary inspection [power OFF]
Notes
Insulation resistance: 500V DC/5M or more
13 Wiring for Various Uses
The dielectric withstand voltage and insulation resistance test of the PLC should be measured in accordance with the following procedures. 1) Remove all input/output wires and power supply wires from the PLC. 2) Connect a crossing wire to each of the PLC terminals (power supply terminal, input terminals and output terminals) except the ground terminal. For the dielectric withstand voltage test of each terminal, refer to the generic specifications for the product.(refer to Section 4.1) 3) Measure the dielectric withstand voltage and insulation resistance between each terminal and the ground terminal. Dielectric withstand voltage: 1.5kV AC or 500V for 1min (The terminals vary in dielectric withstand voltage.)
12 Output Wiring
Incorrect connection of the power supply terminal, contact of the DC input wire and power supply wire, or short-circuiting of output wires may result in serious damage. Before applying power, check that the power supply and ground terminals are connected correctly and input/ output devices are wired properly.
14 Test Run, Maintenance, Troubleshooting
14.1.2 Connection to built-in programming connector (RS-422) 1. When connecting a peripheral device Connect and disconnect the communication cable for the peripheral device. At connection, align the "positioning mark" between the cable and the main unit.
15 Input/Output Powered Extension Units
Programming connector (RS-422)
16 Input/Output Extension Blocks
Positioning mark
Communication cable
17
Positioning mark
Cut off the area shown in the left figure below of the peripheral device connector cover (main unit) using a nipper, etc., and connect the peripheral device as shown in the right figure below.
18 Other Extension Units and Options
Peripheral device connecting connector cover
Extension Power Supply Unit
2. For continuous use of a peripheral device (such as GOT)
Connection example
19 Display Module
20
Communication cable
Terminal Block
Cut off the dotted line area.
165
Page 172
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
14.1 Preparation for Test Operation
3. For continuous use of a peripheral device (such as GOT) (using the connector conversion adapter) Cut off the area shown in the left figure below of the connector conversion adapter using a nipper, etc., and connect the peripheral device as shown in the right figure below. Connection example
Cut off the dotted line area.
Communication cable
14.1.3 Connection to built-in programming connector (USB) Connect and disconnect the communication cable for the peripheral device (personal computer). At connection, confirm the cable and connector shape.
Programming connector (USB)
MINI USB B type 5pin(male)
MINI USB B type 5pin(female)
166
Page 173
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
14.1 Preparation for Test Operation
11 High-Speed Counters
14.1.4 Writing of program and program check [power ON and PLC stopped]
1 Turn on the PLC power.
12
Make sure that the RUN/STOP switch of the PLC is set to STOP, and turn the power on.
Check for circuit errors and grammatical errors with the program check function of the programming tool.
Write the program to the PLC with the programming tool. PROTECT switch
13 Wiring for Various Uses
3 Transfer the sequence program.
Output Wiring
2 Check the program.
When the memory cassette is used
Make sure to set the PROTECT switch of the memory cassette to OFF (shown right).
14 Test Run, Maintenance, Troubleshooting
→ For details on handling of the memory cassette, refer to Chapter 21.
4 Verify the sequence program.
15 Input/Output Powered Extension Units
Verify that the program has been correctly written to the PLC.
5 Execute PLC diagnosis. Check for errors in the PLC main body with the PLC diagnostic function of the programming tool. → For details on the PLC diagnosis with the display module or GX Developer, refer to Section 14.6.
16 Input/Output Extension Blocks
17 Extension Power Supply Unit
18 Other Extension Units and Options
19 Display Module
20 Terminal Block
167
Page 174
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
14.2
14.2 Running and Stopping Procedures [Power ON]
Running and Stopping Procedures [Power ON]
14.2.1 Methods of running and stopping FX3G PLCs can be started or stopped by any of the following three methods. Two of the methods can be combined. The RUN/STOP switch is located under the peripheral device connector cover.
1. Operation with built-in RUN/STOP switch Operate the RUN/STOP switch on the front panel of the main unit to start and stop the PLC (refer to the right figure). Turn the switch to RUN, and the PLC will start. Turn it to STOP, and the PLC will stop.
RUN/STOP switch
2. Running and stopping with general-purpose input (RUN terminal) Operation with one switch (RUN) One of the input terminals X000 to X017 *1 of the main unit can be used as a RUN input terminal by a parameter setting (refer to the figure below). When the specified input terminal is turned on, the PLC starts. When it is turned off, the PLC is started or stopped depending on the state of the built-in RUN/STOP switch. *1.
X000 to X007 in 14-point type main units, and X000 to X015 in 24-point type main units → For details, refer to "Kinds of Parameters and Settings" in Programming Manual. General-purpose input terminal specified as RUN input by parameter S/S X000 X001 X002
General-purpose input terminal specified as RUN input by parameter S/S X000 X001 X002
Main unit(sink input)
Main unit(source input)
RUN
RUN
24V
0V
24V
0V
Operation with two switches (RUN and STOP) The PLC can be started and stopped with individual RUN and STOP pushbutton switches. For this operation, a sequence program using M8035 to M8037 is necessary. → For details, refer to "Operations of Special Devices" in Programming Manual.
24V
168
General-purpose input terminal specified as RUN input by parameter
S/S X000 X001 X002
General-purpose input terminal specified as RUN input by parameter S/S X000 X001 X002
Main unit(sink input)
Main unit(source input)
RUN STOP
0V
RUN STOP
24V
0V
Page 175
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
14.2 Running and Stopping Procedures [Power ON]
11
14.2.2 Use of several running/stopping methods 1. When the built-in RUN/STOP switch and the general-purpose RUN terminal are used
13
RUN
Status of PLC
OFF
RUN
ON
RUN
OFF
STOP
ON
RUN
14
Use either built-in RUN/STOP switch or the general input specified as RUN terminal. (When specifying the general-purpose terminal as the RUN terminal, always set the built-in RUN/STOP switch to STOP.)
2. When the remote running/stopping operation from the programming software is performed
15 Input/Output Powered Extension Units
For this operation, keep both the built-in RUN/STOP switch and the general-purpose input RUN terminal in the STOP position. If the stop command is given from the programming software after the PLC is started by either the built-in RUN/STOP switch or the general-purpose input RUN terminal, the PLC will be restored to the running status by giving the RUN command from the programming software. This can also be accomplished by setting the built-in RUN/STOP switch or the general-purpose input RUN terminal to STOP and then to RUN.
Test Run, Maintenance, Troubleshooting
STOP
Condition of general-purpose input terminal specified as RUN terminal by parameter
Wiring for Various Uses
(without remote running/stopping operation from the programming software) The RUN/STOP status of the PLC is determined by the conditions shown in the following table. Condition of built-in RUN/STOP switch
12 Output Wiring
The programming software has a function to forcibly start and stop the PLC by remote control (remote RUN/ STOP function). However, when power is reapplied, the remote RUN/STOP function is disabled. The RUN/STOP status is then determined by the RUN/STOP switch or RUN terminal. For details on the start and stop procedures with remote control from programming software, refer to Paragraph 2 of Subsection 14.2.2.
High-Speed Counters
3. Starting and stopping by remote control from programming software
16 Input/Output Extension Blocks
17 Extension Power Supply Unit
18 Other Extension Units and Options
19 Display Module
20 Terminal Block
169
Page 176
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
14.3
14.3 Operation and Test [Power ON and PLC Running]
Operation and Test [Power ON and PLC Running]
14.3.1 Self-diagnostic function When the PLC’s power is turned on, its self-diagnostic function starts automatically. If there are no problems with the hardware, parameters or program, the PLC will start and the RUN command (refer to Section 14.2) is given (RUN LED is lit). If any problems are found, the "ERR" LED flashes or lights.
14.3.2 Test functions Functions of the programming tool to turn on/off the PLC devices and change the current values/settings are effective or ineffective depending on the PLC status as shown below. : Effective : Conditionally effective - : Ineffective Item Forcible ON/OFF*1
In running status
In stopped status
*1
*1
*2*3
*3
*3
*3
-
-
Devices used in program Devices not in use
Change of current values of timers, counters, Devices used in program data registers, extension registers, extension Devices not in use file registers and file registers When the program memory is the built-in EEPROM Change of settings of timers and counters*4
When the program memory is in the memory cassette and the PROTECT switch is on When the program memory is in the memory cassette and the PROTECT switch is off
*1.
Forcible ON/OFF - The forcible ON/OFF function is effective on the input relays (X), output relays (Y), auxiliary relays (M), state (S), timers (T) and counters (C). On the display module, the function cannot be operated for the input relays (X). - The forcible ON/OFF function can turn on or off the devices only for one scan. While the PLC is running, the function is substantially effective in clearing the current values of the timers (T), counters (C), data registers (D), index registers (Z and V) and extension registers (R) and in controlling the SET/RST circuit and self-retaining circuit. (The operation to forcibly turn on timers is effective only when the timers are driven by the program.) - The results of forcible ON/OFF operation performed while the PLC in the stopped state or performed for devices not used in the program are retained. However, the results of the operation performed for the input relays (X) are not retained because the relays refresh input even while the PLC is in the stopped state. (They are updated according to the input terminal conditions.)
*2.
Since the current values may be changed according to MOV instruction in the program and the operation results, the most recently obtained values are retained.
*3.
Only display modules can change the current value by the extension file register test function.
*4.
Change of timer and counter settings The settings of the timers (T) and counters (C) can be changed only when the timers are driven by the program.
14.3.3 Program modification function The sequence program can be transferred while the PLC is running or in the stopped state as shown below. : Effective - : Ineffective Item Batch writing of file registers (D) and extension file registers (ER) Writing of program to PLC
In stopped status
-
Partial modification of program
*1
Modification of whole program (batch writing)
-
Writing of parameters to PLC
-
Writing of comments to PLC
-
*1.
170
In running status
Since the writing function is used during running, the programming tool must be applicable to the writing function white running, such as GX Developer.
Page 177
FX3G Series Programmable Controllers
14 Test Operation, Adjustment, Maintenance and Troubleshooting
User's Manual - Hardware Edition
14.3 Operation and Test [Power ON and PLC Running]
11 High-Speed Counters
14.3.4 Built-in variable analog potentiometer function The main unit has two built-in variable analog potentiometers (shown in the figure below). The current value increases from 0 to 255 when a variable analog potentiometer is turned clockwise. Enlarged view
12 Output Wiring
13 Wiring for Various Uses
The current value of each variable analog potentiometer is stored in special data registers shown below. Data register to store current value
VR1 : variable analog potentiometer1
D8030 (Integer from 0 to 255)
VR2 : variable analog potentiometer2
D8031 (Integer from 0 to 255)
1. Use example 1 of variable analog potentiometer
15
The current value of VR1 is used as the set value of a timer. D8030
Input/Output Powered Extension Units
T0
The current value of VR1 is used as the set value of the timer T0. The setting range in this example using T0 (100ms timer) is from 0 to 25.5 sec.
16
2. Use example 2 of variable analog potentiometer
M8000
T1
D8031 D0
K10
D0
The value of D8031 is multiplied by "10", and stored in D0.
17 Extension Power Supply Unit
The current value of VR2 multiplied by "10" is used as the set value of the timer T1. The setting range in this example using T1 (100ms timer) is from 0 to 255 sec.
Input/Output Extension Blocks
The current value of VR2 multiplied by "10" is used as the set value of a timer.
MUL
14 Test Run, Maintenance, Troubleshooting
Volume
18 Other Extension Units and Options
19 Display Module
20 Terminal Block
171