Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
295
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
12.7 SPD / Speed Detection
Cautions
1. Input specifications of the input specified by
1) can specify the following ranges.
FX
3G, FX3GC, FX3U and FX3UC PLCs: X000 to X007
FX
1S, FX1N, FX1NC, FX2N, FX2NC and FX3S PLCs: X000 to X005
FX
U and FX2C PLCs: X000 to X005
2) An input device X000 to X007 (X000 to X005) specified by cannot overlap the following functions or
instructions:
- High speed counter - DSZR
- Input interrupt - DVIT
- Pulse catch - ZRN
- Pulse width measurement
3) For one input, this instruction can be used only once.
4) The maximum input frequency is shown below:
*1. When receiving pulses within the response frequency range of 50k to 100 kHz, perform the following
actions:
- Make sure that the wiring length is 5 m or less.
- Connect a bleeder resistor of 1.5 kΩ (1 W or more) to the input terminal, and make sure that the load current in the
open collector transistor output of the external equipment is 20 mA or more.
2. Occupied devices
1) When using the 16-bit operation
Three devices are occupied from a device specified in .
*2
2) When using the 32-bit operation
Six devices are occupied from a device specified in .
*2
*2. The value is updated by interrupt processing from the CPU, not every scan time (operation cycle) of
the PLC.
3. Restrictions to devices
S1: X000 to X007 (X005) can be specified.
Refer to item 1 of "Cautions".
S2: The FX
3G
, FX
3GC
, FX
3U
and FX
3UC
PLCs only are applicable.
S3: The FX
3U
and FX
3UC
PLCs only are applicable.
4. 32-bit operation instruction
Only FX3GC PLCs Ver. 1.40 or later, FX3UC PLCs Ver. 2.20 or later, and FX3S/FX3G/FX3U PLCs support the
32-bit operation instruction.
5. When the value of the word device specified by is changed while the SPD instruction is
being executed
When the value of the word device is changed while the SPD instruction is being executed, the operation
varies depending on the PLC model.
•FX
3U/FX3UC:
The changed value of the word device is reflected on the operation at every scan time (operation cycle).
•FX
3S/FX3G/FX3GC:
The changed value of the word device is not reflected on the operation at every scan time (operation
cycle), and the PLC operates using the value specified when execution of the SPD instruction is started.
The PLC operates using the changed value after the command input of the SPD instruction is turned OFF
once and turned ON again.
Used input number FX3UC PLC
FX3U PLC
Main unit FX3U-4HSX-ADP
X000 to X005
100kHz
*1
100kHz
*1
200kHz
X006 to X007 10kHz 10kHz
Used input number FX3G and FX3GC PLCs
X000, X001, X003, X004 60kHz
X002, X005, X006, X007 10kHz
Used input number FX1S, FX1N, FX1NC, FX2N, FX2NC and FX3S PLCs
X000, X001 60kHz
X002, X003, X004, X005 10kHz
Used input number FXU and FX2C PLCs
X000, X002, X003 10kHz
X001, X004, X005 7kHz