Mitsubishi Electronics FX3G User Manual

Page of 964
25
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
2 Overview (Sequence Program)
2.1 Introduction of Convenient Functions
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
2. Overview (Sequence Program)
This chapter explains the basic functions of FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 PLCs.
This chapter includes not only the features of PLCs but also introduction of representative functions, parameters and
memory to utilize the functions of PLCs. Read this chapter before designing sequences.
2.1
Introduction of Convenient Functions
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 PLCs have the following instruction functions.
2.1.1
Convenient functions for input processing
1. "High-speed counter" function of 1-phase or 2-phase for counting high-speed inputs
*1
High-speed counters can count regardless of the scan time because they process high-speed pulses from specific
input relays as interrupts.
The counting result can be immediately handled as high-speed counter output interrupts by specific program
processing and high-speed counter counted values by comparison instructions dedicated to high-speed counters.
• 1-phase high-speed counters
- FX
3S
/FX
3G
/FX
3GC
 PLCs: up to 60 kHz
- FX
3U
/FX
3UC
 PLCs: up to 100 kHz (200 kHz when a special high-speed input adapter
*2
 is used)
• 2-phase high-speed counters
- FX
3S
/FX
3G
/FX
3GC
 PLCs: up to 30 kHz
- FX
3U
/FX
3UC
 PLCs: up to 50 kHz (100 kHz when a special high-speed input adapter
*2
 is used)
*1.
This function is supported only for DC input type.
*2.
Can only be connected to the FX
3U 
PLC.
→ Related instructions: High-speed counter compare; HSCS (FNC 53), HSCR (FNC 54),
 HSZ (FNC 55) and HSCT (FNC280)
If the number of high-speed counters is insufficient, FX
3U
-2HC can be connected.
By extending hardware counters in the FX
3U
-2HC
*3
, high-speed pulses at up to 200 kHz can be received (except 2
and 4 edge count).
*3.
Can only be connected to the FX
3U
/FX
3UC
 PLCs.
→ For details, refer to FX
3U
-2HC User's Manual.
2. "I/O refresh" function for receiving the latest input information
The input terminal information of the PLC in the batch refresh method is input all at once by the input image memory
before step 0. The output information is output at one time when END instruction is executed.
I/O refresh instruction can get the latest input information and immediately output the operation result during sequence
operation.
→ Related instruction: Refresh REF (FNC 50)
3. "Input filter adjustment" function for changing the time constant of input relays
*4
Input relays in the main unit are equipped with a C-R filter of approximately 10 ms as countermeasures against
chattering and noise in input signals. Because a digital filter is adopted for the input relays X000 to X017
*5
, however,
the filter value can be changed in sequence programs.
*4.
This function is supported only for DC input type.
*5.
X000 to X007 in the FX
3G
/FX
3GC
 PLCs.
→ Related instruction: Refresh and filter adjust instruction REFF (FNC 51)
4. "Pulse catch" function
*6
The pulse catch function is provided as a method to receive short-time pulse signals.
The pulse catch function monitors signals from specific input relays, and sets special auxiliary relays in the interrupt
processing as soon as signals are input.
The pulse catch function can be used in a wide range of applications because even narrow pulses can be easily
received.
When complicated operations should be processed with high priority as interrupt by using specific trigger signals, the
"interrupt" function described later is suitable.
*6.
This function is supported only for DC input type.
→ Refer to Section 36.7.