Download Print this page

Mitsubishi Electric MELSEC FX-1HC User Manual

Special function block
Hide thumbs Also See for MELSEC FX-1HC:

Advertisement

Quick Links

This manual contains text, diagrams and explanations which will guide the reader in the correct installation
and operation of the FX-1HC special function block and should be read and understood before attempting
to install or use the unit.
Further information can be found in the FX PROGRAMMING MANUAL and FX SERIES HARDWARE
MANUAL.
1
The FX-1HC hardware high-speed counter block is 2-phase 50 kHz high-speed counter. It is a special
function block for the FX, FX
speed counter of the PC (2-phase 2 kHz, 1-phase 10 kHz) and performs comparisons and outputs
directly.
Various counter modes, such as 1-phase or 2-phase, 16-bit or 32-bit modes, can be selected using
commands from the PC. Allow the FX-1HC unit to run only after setting these mode parameters.
The source of your input signal should be a 1 or 2 phase encoder. A 5V, 12V, or 24V power source can
be used. An initial value setting command input (PRESET) and a count prohibit command input (DISABLE)
are also available.
The FX-1HC has two output. When the counter value coincides with an output compare value, the
appropriate output is set ON. A PNP and an NPN output transistor is provided for both outputs to allow
either sink or source connection methods.
FX PCs versions 2.0 or later (those with serial number 13XXXX or larger) are required as these units have
the TO/FROM applied instructions in their instruction set. Data transfer between the FX-1HC and the FX PC
is by buffer memory exchange. There are 32 buffer memories (each of 16 bits) in the FX-1HC.
The FX-1HC occupies 8 points of I/O on the FX or FX
from either inputs or outputs.
SPECIAL FUNCTION BLOCK
INTRODUCTION
series PC. The FX-1HC counts at a higher speed than the built-in high-
2C
FX-1HC
USER'S GUIDE
JY992D53001A
expansion bus. The 8 points can be allocated
2C

Advertisement

loading

Summary of Contents for Mitsubishi Electric MELSEC FX-1HC

  • Page 1 FX-1HC SPECIAL FUNCTION BLOCK USER'S GUIDE JY992D53001A This manual contains text, diagrams and explanations which will guide the reader in the correct installation and operation of the FX-1HC special function block and should be read and understood before attempting to install or use the unit. Further information can be found in the FX PROGRAMMING MANUAL and FX SERIES HARDWARE MANUAL.
  • Page 2 1.1 External dimensions weight : Approx 0.5 kg (1.1 lbs) Dimensions : mm (inches) Accessories : Self-adhesive labels special block number identification. 63 (2.48) 10 (0.39) 73 (2.87) 95 (3.74) DISABLE terminal (M3.5 (0.14) screws) DN (Down) LED YH•YS terminal (M3.5 (0.14) screws) PRESET LED Mounting hole 2- φ5.5 (0.22) Extension cable and connector...
  • Page 3 Wiring NPN output encoders can also be used. 3.3k φA24 DC24V+ Encoder 1.5k φA12 Shielding wire Phase A 0.5k φA5 φA COMA 0.1k φB24 φB12 Shielding wire Phase B φB5 DC24- φB COMB 12 to 24V inputtable DC24V+ 1.5k XP24 Shielding wire Phase Z 0.5k...
  • Page 4 SPECIFICATIONS 3.1 Environmental specifications The environmental specifications for the FX-1HC are the same as those for your FX series PC. 3.2 Performance specifications 1-phase input 2-phase input Item 1 input 2 inputs 1 edge count 2 edge count 4 edge count 5V, 12V, or 24V ±10% (selected by terminal connection) 7mA Signal level 50 kHz...
  • Page 5 3.3 Buffer memories (BFM) BFM number Contents Counter mode K0 to K11 Default: K0 DOWN/UP command (1-phase 1-input mode) Default: K0 #3, #2 Ring length Upper/Lower Default: K65,536 Write Command Default: K0 #11, #10 Preset data Upper/Lower Default: K0 #13, #12 YH compare value Upper/Lower Default: K32,767 #15, #14...
  • Page 6 1-phase 1-input counter (K8 to K11) Hardware UP/DOWN (K8, K9) Software UP/DOWN (K10, K11) Phase A BFM #1 UP/DOWN is UP/DOWN is de- Phase B Phase B determined by termined by the input phase A contents of BFM (ON/OFF). #1, (K0/K1). Current Current DOWN...
  • Page 7 (2) BFM #3, #2 Ring length Stores the data that specifies the length of the 16-bit counter (default: K65,536). 98 99 X002 DOWN (D) TO K100 99 98 In the above example, K100 is written into BFMs When ring length K100 is specified, the value #3 and #2 of special block No.2 as a 32-bit binary of the counter changes as shown above.
  • Page 8 (5) BFM #13, #12 Comparison value for YH output, BFM #15, #14 Comparison value for YS output After comparing the current value of the counter with the value written in BFM #13 and #12, BFM #15 and Current value Current value #14, the hardware and software comparator in the FX- 1HC outputs the comparison result.
  • Page 9 (10) BFM #29 Error status Error status in the FX-1HC can be checked by reading the contents of b0 to b7 of BFM #29 to auxiliary relays of the PC. BFM #29 Error status Set when any of b1 to b7 is ON. Set when the value of the ring length is written incorrectly (other than K2 to K65,536).
  • Page 10 EXAMPLE PROGRAM Please use the following program as a guide whenever you use the FX-1HC unit. Other instructions to read the current value of the counter, status etc. can be added as required. M8002 K11 is written into BFM #0 of special function block No.2.
  • Page 11 SYSTEM BLOCK DIAGRAM Reset Error status Counter mode BFM #0 BFM #29 BFM #4 b8 TO Ring upper limit value 16-bit for YH output counter BFM #3, #2 Comparisor DOWN/UP command data BFM #1 BFM #4 b1 BFM #13, #12 1-phase #4 b11 Matched...
  • Page 12 If in doubt about the operation or use of the FX-1HC please consult the nearest Mitsubishi Electric distributor. Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment.