Home

FX2NC-1HC USER`S MANUAL

image

Contents

1. 5 1 Buffer memory List Note 1 When writing in BFM 0 counter mode the BFM 1 to 31 will be initialized After setting the counter mode BFM 0 other BFM s have to be setup When setting the counter mode use a TOP pulsed instruction or M8002 initial pulse to drive the TO instruction 2 Read Write of 16 bit data When using a positive value between K32 768 and K65 535 with 16 bit counters read writes of data such as the current value ring length preset data and the YH YS compare value should use the 32 bit forms of the FROM TO instructions D FROM D TO ccess BFM 0 Counter mode Setting range KO to K11 Ko R W KO DOWN UP command BEM 1 phase 1 input mode S W counter only Ra BFM 2 R W Ring length K65536 BFM 3 R W BFM 5 9 Not available E BFM 10 R W Preset data KO BFM 11 R W BFM 12 R W K32767 BFM 13 R W YH compare value YS compare value Counter current value Maximum count value Minimum count value P3 BFM 14 e eer R W K32767 BFM 15 R W ap BFM 20 R W BFM 21 R W BFM 22 R W BFM 23 R W BFM 24 R W BFM 25 R W 5 2 Details of buffer memories 5 2 1 Counter mode BFM 0 The counter mode is shown in the upper right table Default value KO Note When writing in BFM 0 counter mode the BFM 1 to 31 will be initialized After setting the counter mode BFM 0 other BFM s have to be setup When setting the counter mode use a TOP
2. Set when the FROM TO command is used incorrectly Set when the counter mode BFM O0 is written incorrectly Except KO fa Ki Set when the BFM number is written incorrectly ExeepEnvie ne b10 b15 Not available Error status in the FX2NC 1HC can be checked by reading the contents of bO to b9 of BFM 29 to auxiliary relays of the PLC There error flags can be reset by b8 of BFM 4 M8000 5 2 12 Model identification code BFM 30 This BFM stores the identification number for FX2NC 1HC The identification number for the FX2N 1HC unit is K4010 By reading this identification number the user may create built in checking routines to check whether the physical position of the FX2NC 1HC matches to that of the software 6 Example Program Please use the following program as a guide whenever you use the FX2NC 1HC unit Other instructions to read the current value of the counter status etc can be added as required M8002 Initial pulse K11 is written into BFM 0 of special function block No 2 The counter input is 16 bit 1 phase Please use a pulse command for this initialization K1 K1234 BFM 3 2 special function block No 2 The ring length can be specified when a 16 bit counter is specified UP DOWN direction should be specified for 1 phase 1 input software determined UP DOWN counter K1000 BFM 13 12 Set the compare value for YH output K900 BFM 15 14 Set the co
3. Also when an error that cannot be detected by the PLC CPU occurs in an input output control block output control may be disabled External circuits and mechanisms should be designed to ensure safe machinery operation in such a case Note that when an error occurs in a relay triac or transistor output device the output could be held either on or off For output signals that may lead to serious accidents external circuits and mechanisms should be designed to ensure safe machinery operation in such a case DESIGN PRECAUTIONS CAUTION e Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 4 1 General Specifications The general specifications are equivalent to the PLC main unit For general specifications refer to the manual of the PLC main unit 4 2 Power Supply Specifications Specifications 5V DC 90mA Internal power supply from main unit or extension power supply unit Units driving power 4 3 Performance Specifications 4 edge count 12 5kHz Pulse shape t1 Rise fall time 3us or less t2 ON OFF pulse 6us or more at 50kHz t3 Phase difference between A and B 3 5us or more at 50KHz PRESET Z phase input 100us or more DISABLE count prohibit input 100us or more Automatic UP DOWN However when on 1 pha
4. Do not connect more than the specified number of wires or electric wires of unspecified size Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed 3 1 Wire and Terminal Tightening Torque 3 1 1 Cable 1 Applicable cable Type Wire size Single wire 0 3mm to 0 5mm 2 AWG22 to 20 Double wire 0 3mm AWG22 2 2 Termination Strip the coating of strand wire and twist the cable core before connecting it or strip the coating of single wire before connecting it An alternative connection is to use a ferrule with insulating sleeve Al 0 5 8WH 1 Old model name CRIMPFOX ZA 3 2 Old model name CRIMPFOX UD 6 Manufacturer Pressure bonding tool CRIMPFOX 6 1 Phoenix Contact or CRIMPFOX 6T F 2 e Stranded wire solid wire e Bar terminal with insulating sleeve Insulating sleeve Contact area IN Crimp area When using a stick terminal with an insulating sleeve choose a wire with proper cable sheath referring to the above outside dimensions otherwise the wire cannot be inserted easily Termination of cable end 3 1 2 Tightening Torque The tightening torque must be 0 22 to 0 25N m Do not tighten terminal screws exceeding the specified torque Failure to do so may cause equipment failures or malfunctions Tool To tighten terminals use a purchased f With small sized screwdriver whose head is straight tip straight and is not widened as sh
5. European type Extension connector PLC side Used to connect this special function block to the FX2NC FX3UC main unit or extension block Slide lock Used to fix the FX2NC extension block on the right side of this special function block Extension connector Extension side Used to connect the FX2NC extension block to the right of this special function block Remove this cover for connecting DIN rail mounting hook 2 Installation Connect to the PLC INSTALLATION PRECAUTIONS NWARNING e Make sure to cut off all phases of the power supply externally before attempting installation or wiring work Failure to do so may cause electric shock or damage to the product INSTALLATION PRECAUTIONS CAUTION e Use the product within the generic environment specifications described in PLC main unit manual Never use the product in areas with excessive dust oily smoke conductive dusts corrosive gas salt air Cl2 H2S SO2 or NO2 flammable gas vibration or impacts or expose it to high temperature condensation or rain and wind If the product is used in such conditions electric shock fire malfunctions deterioration or damage may occur When drilling screw holes or wiring make sure cutting or wire debris does not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions Connect FX2NC 1HC securely to their designated connectors Loose connections may cause mal
6. Phase B Phase B input OFF gt Phase B input ON gt ON while phase A input OFF while phase A input ON Count up by 1 ON Count down by 1 4 2 phase counter 4 edge count K4 K5 UP COUNT DOWN COUNT Phase A Phase B 5 1 phase 2 input counter K6 K7 If both phase A and phase B inputs are received simultaneously the counter value does not change ON Phase A input 1 Ph A ase OFF at OFF gt ON ON F Phase B Phase B input 1 OFF1 2333210 atOFF gt ON 6 1 phase 1 input counter Hardware UP DOWN K8 K9 PhaseA OFF ON ON OFF determined by input UP DOWN phase A ON OFF Current D gt SY value 7 1 phase 1 input counter Software UP DOWN K10 K11 BFM 1 KO K1 ON UP DOWN is OFF contents of BFM 1 UE Down KO K1 Current DA SX value n 5 2 2 DOWN UP command BFM 1 When using the 1 phase 1 input counter Software UP DOWN counter mode K10 K11 set the count direction by the current value of BFM 1 Default value KO For the operation refer to the Subsection 5 2 1 7 Count Direction Setting Value KO K1 Up count Down count 5 2 3 Ring length BFM 3 2 When setting the upper limit value of the 16 bit counters the setting range is K2 to K65536 Default value K65536 In this example K100 is written to BFM 3 2 of special function block No 2 as 32 bit data X002 When ring length K100 is specified the current value of the counter is changed as the r
7. YS comparison operation takes about 300us and if a match occurs the output goes ON 5 2 7 Counter current value BFM 21 20 The current value of the counter can be read by the PLC It will not be the correct value during high speed operations because of the communication delay The current value of the counter can be forcibly changed by writing a 32 bit value into the appropriate BFMs from the PLC 5 2 8 Maximum count value BFM 23 22 Minimum count value BFM 25 24 These store the maximum and minimum value reached by the counter If the power is turned off the stored data is cleared 5 2 9 Compare results BFM 26 BFM 4 b9 b10 Coincidence output bO Set value gt current value b1 YH Set value current value b2 Set value lt current value b3 Set value gt current value b4 YS Set value current value b5 Set value lt current value b6 b15 Not available This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual Warranty Mitsubishi will not be held liable for damage caused by factors found not to be the cause of Mitsubishi opportunity loss or lost profits caused by faults in the Mitsubishi products damage secondary damage accident compensation caused by
8. are no loose wires Do not solder plate the electric wire ends Do not connect more than the specified number of wires or electric wires of unspecified size Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed 3 1 Wire and Terminal Tightening Torque 3 1 1 Cable 1 Applicable cable Type Wire size Single wire 0 3mm to 0 5mm 2 AWG22 to 20 Double wire 0 3mm AWG22 2 2 Termination Strip the coating of strand wire and twist the cable core before connecting it or strip the coating of single wire before connecting it An alternative connection is to use a ferrule with insulating sleeve Al 0 5 8WH 1 Old model name CRIMPFOX ZA 3 2 Old model name CRIMPFOX UD 6 Pressure bonding tool CRIMPFOX 6 or CRIMPFOX 6T F 2 Manufacturer Phoenix Contact e Stranded wire solid wire e Bar terminal with insulating sleeve Insulating sleeve Contact area IN Crimp area When using a stick terminal with an insulating sleeve choose a wire with proper cable sheath referring to the above outside dimensions otherwise the wire cannot be inserted easily Termination of cable end 3 1 2 Tightening Torque The tightening torque must be 0 22 to 0 25N m Do not tighten terminal screws exceeding the specified torque Failure to do so may cause equipment failures or malfunctions Tool To tighten terminals use a purchased A With small sized sc
9. off Also when an error that cannot be detected by the PLC CPU occurs in an input output control block output control may be disabled External circuits and mechanisms should be designed to ensure safe machinery operation in such a case Note that when an error occurs in a relay triac or transistor output device the output could be held either on or off For output signals that may lead to serious accidents external circuits and mechanisms should be designed to ensure safe machinery operation in such a case DESIGN PRECAUTIONS CAUTION e Do not bundle the control line together with or lay it close to the main circuit or power line As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or power line Noise may cause malfunctions 4 1 General Specifications The general specifications are equivalent to the PLC main unit For general specifications refer to the manual of the PLC main unit 4 2 Power Supply Specifications Specifications 5V DC 90mA Internal power supply from main unit or extension power supply unit Units driving power 4 3 Performance Specifications 4 edge count 12 5kHz Pulse shape t1 Rise fall time 3us or less t2 ON OFF pulse 6us or more at 50kHz t3 Phase difference between A and B 3 5us or more at 50kKHz PRESET Z phase input 100us or more DISABLE count prohibit input 100us or more Automatic UP DOWN However when
10. pulsed instruction or M8002 initial pulse to drive the TO instruction 5 2 10 Terminal status BFM 27 b4 b15 Not available 5 2 11 Error status BFM 29 Bit NO Error Status bO Set when any of b1 to b7 is ON b1 Set when the value of the ring length is written incorrectly Except K2 to K65 536 b2 Set when the preset value is written incorrectly Set when the compare value is When value gt ring length in b3 f f written incorrectly 16 bit counter mode Set when the current value is b4 i written in correctly b5 Set when the counter overflows the upper limit When the upper or lower limit is exceeded on a 32 bit b6 Set when the counter overflows the counter lower limit b7 Set when the FROM TO command is used incorrectly Set when the counter mode ie BFM 0 is written incorrectly Except KO to K11 Set when the BFM number is b3 written incorrectly Except KO to K31 b10 b15 Not available Error status in the FX2NC 1HC can be checked by reading the contents of bO to b9 of BFM 29 to auxiliary relays of the PLC There error flags can be reset by b8 of BFM 4 M8000 5 2 12 Model identification code BFM 30 This BFM stores the identification number for FX2NC 1HC The identification number for the FX2N 1HC unit is K4010 By reading this identification number the user may create built in checking routines to check whether the physical position of the FX2NC 1HC matches to that of the softwa
11. setting the counter mode use a TOP pulsed instruction or M8002 initial pulse to drive the TO instruction Count modes Reference 2 phase 1 edge count K1 input phase 2 edge count K3 difference pulse 4 edge count K4 1 phase 2 input add subtract pulse Hardware UP DOWN Software UP DOWN 1 16 32 bit counter modes a 32 bit counter modes KO K2 K4 K6 K8 K10 A 32 bit binary counter which executes UP DOWN counting will change from the lower limit value to the upper limit value or the upper limit value to the lower limit value when overflow occurs Both the upper and lower limit values are fixed values the upper limit value is 2 147 483 647 and the lower limit value is 2 147 483 648 b 16 bit counter modes K1 K3 K5 K7 K9 K11 A 16 bit binary counter handles only positive values from 0 to 65 535 Changes to zero from the upper limit value or to the upper limit value from zero when overflow occurs the upper limit value is determined by BFMs 3 and 2 2 2 phase counter 1 edge count KO K1 K8 K9 K10 K11 1 phase 1 input KAET 2 147 483 647 Upper limit value Th Lower limit value 2 147 483 648 Mak l Ring length BFM 3 2 1 Phase A 1 Phase B Phase B input OFF gt ON while phase A input ON Count up by 1 Phase B input ON gt OFF while phase A input ON Count down by 1 3 2 phase counter 2 edge count K2 K3 Phase A 1 1
12. special factors unpredictable by Mitsubishi damages to products other than Mitsubishi products and to other duties e This product has been manufactured as a general purpose part for general industries and has not been designed or manufactured to be incorporated in a device or system used in purposes related to human life e Before using the product for special purposes such as nuclear power electric power aerospace medicine or passenger movement vehicles consult with Mitsubishi Electric e This product has been manufactured under strict quality control However when installing the product where major accidents or losses could occur if the product fails install appropriate backup or failsafe functions in the system MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN Reset BFM 4 b8 BFM 4 b11 S YH Matched s l EE BFM 4 b9 lt BFM 4 b3 BFM 4 b2 BFM 4 b12 Compare results BFM 26 Comparison is made at the next sampling point after an input count Terminal status BFM 27
13. 8701 MODEL CODE 09R519 Manual name Description FX3UC Series User s Manual Hardware Edition FX3S FX3G FX3GC FX3U FX3UC Series Programming Manual Basic amp Applied Instruction Edition Explains the FX3UC Series PLC specifications for I O wiring installation and maintenance JY997D16601 MODEL CODE 09R517 Describes PLC programming for basic applied instructions and devices Explains the FX2NC DSS DS Series PLC specifications for I O wiring installation and maintenance Explains the FX2NC D UL Series PLC specifications for I O wiring installation and maintenance Describes FX1S FX1N FX2N FX2NC Series PLC programming for basic applied instructions and devices JY992D76401 MODEL CODE 09R509 FX2NC DSS DS Series Hardware Manual FX2NC D UL Series Hardware Manual avanenerey JY992D88101 Seabee MODEL CODE Programming Manual II 09R512 How to obtain manuals For product manuals or documents consult with the Mitsubishi Electric dealer from who you purchased your product Certification of UL cUL standards The following product has UL and cUL certification UL cUL File Number E95239 Models MELSEC FX2NC series manufactured from December 1st 2007 FX2NC 1HC Compliance with EC directive CE Marking This note does not guarantee that an entire mechanical module produced in accordance with the contents of this note will comply with the following standards Com
14. FX2NC 1HC may help you to troubleshoot the unit a oA oB Goes on off as oA 6B input turn ON OFF It can be checked by rotating the encoder slowly b UP DN Lights up to indicate whether the counter is going up UP or down DN c PR DS The appropriate LED lights up when the PRESET PR terminal or the DISABLE DS terminal is ON d YH YS The appropriate LED lights up when YH YS output is turned on 2 You can check the error status by reading the content of BFM 29 to the PLC For error contents refer to the Subsection 5 2 11 9 System Block Diagram Counter mode BFM 0 Ring upper limit value BFM 3 2 DOWN UP command BFM 1 16 bit counter 1 phase 1 input counter Count pulse DOWN UP Count start Counter 16 32 bit BFM 4 b0 1 phase 2 phase Initiali zation OZ H Current value BFM 4 b4 register Sampling cycle ii BFM 21 20 300us BFM 11 10 TO Direct initialization Maximum value BFM 23 22 Minimum value BFM 25 24 Model code BFM 30 Error status BFM 29 for YH output Comparisor data BFM 13 12 BFM 4 b1 for YS output Comparision data T BFM 15 14 BFM 4 b2 Matched BFM 4 b10 This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial propert
15. Grounding resistance 100 Q or less 3 This wiring is unnecessary when not using the PRESET function and the DISABLE function 3 2 3 Differential Line Driver output encoders When applying the Differential Line Driver encoder AM26C31 or equivalent to FX2NC 1HC connect the encoder output with the 5V DC terminal as shown in the left figure Encoder Shielded Twisted Pair FX2NC 1HC 0 27k l Pa TOOL ae i 0 5k o Yoz XK aa COMP 1 Grounding resistance 100 Q or less Shielded Twisted Pair 2 This wiring is unnecessary when not using the PRESET function and the DISABLE function 3 2 4 YH YS output wiring Sink wiring Output load driving power 5 24V DC 3 2 5 YH YS output wiring Source wiring Output load driving power 5 24V DC DESIGN PRECAUTIONS WARNING e Make sure to have the following safety circuits outside of the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 Most importantly have the following an emergency stop circuit a protection circuit an interlock circuit for opposite movements such as normal vs reverse rotation and an interlock circuit to prevent damage to the equipment at the upper and lower positioning limits Note that when the PLC CPU detects an error such as a watchdog timer error during self diagnosis all outputs are turned
16. H YS output before you start The mutual reset and preset initialization commands can be used as required X010 Cm Count allowed M8000 X011 Preset allowed X012 PLS M18 Error flag reset X013 Output allowed Mutual reset YH output reset YS output reset ai FNC 79 RUN monitor M25 to M10 gt BFM 4 b15 to b0 command BFM 21 20 Reads the current value to the data registers D3 and D2 7 Preliminary checks 1 Check that the I O wiring and extension cable of the FX2NC 1HC are properly connected 2 The FX2NC 1HC occupies 8 points of I O on the FX2NC FX3UC expansion bus The 8 points can be allocated from either inputs or outputs 5V DC 90mA power is supplied from the main or extension power supply units FX3UC only for the FX2NC 1HC Check that there is no power overload from this and other extension blocks 3 The following derating curve shows the simultaneous ON ratio of available power for products connected to the FX2NC 1HC with respect to the ambient temperature Use the adjoined following product within the simultaneous input ON ratio range shown in the figure Target input extension block FX2NC 16EX FX2NC 16EX DS FX2NC 32EX FX2NC 32EX DS Derating curve FX2NC 16EX DS FX2NC 32EX DS Simultaneous ON ratio Supply voltage 24V DC 100 60 45 C 55 C Ambient temperature 4 The counter works correctly only when data such as the counter mode set with a pu
17. JY997D30701C MITSUBISHI ELECTRIC PROGRAMMABLE CONTROLLERS MELSEG IF FX2NC 1HC USER S MANUAL EXonc Manual Number JY997D30701 This manual describes the part names dimensions mounting wiring and specifications of the product Before use read this manual and the manuals of all relevant products fully to acquire proficiency in handling and operating the product Make sure to learn all the product information safety information and precautions Store this manual in a safe place so that it can be taken out and read whenever necessary Always forward it to the end user Registration The company and product names described in this manual are registered trademarks or the trademarks of their respective companies Effective April 2015 Specifications are subject to change without notice 2007 Mitsubishi Electric Corporation Safety Precaution Read these precautions before use This manual classifies the safety precautions into two categories Awarning and Z CAUTION Indicates that incorrect handling may cause hazardous Z WARNING conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage Depending on the circumstances procedures indicated by CAUTION may also cause severe injury It is important to follow all precautions for personal safety Associated Manuals JY997D2
18. M10 is written in BFM 4 of special function block No 2 by the following program and b15 to bO action Among these b4 to bO are always ON as controlled by M10 M14 Furthermore b8 M18 b9 M19 and b10 M20 are controlled by the input X004 of the PLC and X005 by ON OFF M8000 Count allowed YH YS Output allowed Mutual reset RUN Preset allowed monitor X004 Error flag reset X005 YH YS output reset M8000 z FNC 79 5 2 5 Preset data BFM 11 10 When BFM 4 b4 is ON and the PRESET input is switched from OFF to ON preset data is stored into BFM 21 20 counter current value For command details refer to Subsection 5 2 4 5 2 6 YH compare value BFM 13 12 YH compare value BFM 15 14 e After comparing the current value of the counter with the value written in BFM 13 and 12 BFM 15 and 14 the hardware and software comparator in the FX2NC 1HC outputs the comparison result e YH YS output will not turn ON if using PRESET or the TO instruction to set the counter value equal to the comparison value It will turn ON only when a match occurs by the counting of input pulses However when BFM 4 b1 b2 are OFF it does not set e Output occurs when the current value becomes equal to the compare value but only if b1 and b2 of BFM 4 are ON Once an output is set it remains ON until it is reset by b9 or b10 of BFM 4 If b3 of BFM 4 is ON however one of the outputs is reset when the other is set e The
19. ON e The product is a precision instrument During transportation avoid any impacts Failure to do so may cause failures in the product After transportation verify the operations of the product 1 The following LEDs on the main panel of the FX2NC 1HC may help you to troubleshoot the unit a oA oB Goes on off as 6A 6B input turn ON OFF It can be checked by rotating the encoder slowly b UP DN Lights up to indicate whether the counter is going up UP or down DN c PR DS The appropriate LED lights up when the PRESET PR terminal or the DISABLE DS terminal is ON d YH YS The appropriate LED lights up when YH YS output is turned on 2 You can check the error status by reading the content of BFM 29 to the PLC For error contents refer to the Subsection 5 2 11 9 System Block Diagram BFM 0 aa ee BFM 3 2 ace BFM 1 16 bit counter 1 phase 1 input counter Count pulse DOWN UP Count start Counter 16 32 bit BFM 4 b0 1 phase 2 phase Initiali zation QZ pase Current value BFM 4 b4 Poa Sampling cycle m BFM 21 20 300us j BFM 11 10 TO Direct initialization Maximum value BFM 23 22 Minimum value BFM 25 24 Model code BFM 30 Error status BFM 29 for YH output Comparisor data BFM 13 12 BEM 4 b1 for YS output Comparision data BFM 15 14 D Matched BFM 4 b10 Example program The ON OFF status of M25 to
20. SEG IF FX2NC 1HC USER S MANUAL EXonc Manual Number JY997D30701 This manual describes the part names dimensions mounting wiring and specifications of the product Before use read this manual and the manuals of all relevant products fully to acquire proficiency in handling and operating the product Make sure to learn all the product information safety information and precautions Store this manual in a safe place so that it can be taken out and read whenever necessary Always forward it to the end user Registration The company and product names described in this manual are registered trademarks or the trademarks of their respective companies Effective April 2015 Specifications are subject to change without notice 2007 Mitsubishi Electric Corporation Safety Precaution Read these precautions before use This manual classifies the safety precautions into two categories Awarning and Z CAUTION Indicates that incorrect handling may cause hazardous Z WARNING conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage Depending on the circumstances procedures indicated by CAUTION may also cause severe injury It is important to follow all precautions for personal safety Associated Manuals JY997D28701 MODEL CODE 09R519 Manual name Description FX3UC Seri
21. block FX2NC 16EX FX2NC 16EX DS FX2NC 32EX FX2NC 32EX DS Derating curve FX2NC 16EX DS FX2NC 32EX DS Simultaneous ON ratio Supply voltage 24V DC 100 60 45 C 55 C Ambient temperature 4 The counter works correctly only when data such as the counter mode set with a pulse command the TO command the compare value etc are appropriately specified Remember to initialize the count BFM 4 b0 preset BFM 4 b4 and output BFM 4 b2 b1 prohibits Reset the YH YS outputs before you start Note Note that inputting the pulse higher than the maximum frequency may cause mis counting to FX2NC 1HC or a FROM TO error to the PLC main unit 8 Diagnostics STARTUP AND MAINTE NANCE PRECAUTIONS CAUTION e Do not disassemble or modify the PLC Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor e Do not drop the product or exert strong impact to it Doing so may cause damage DISPOSAL PRECAUTIONS CAUTION e Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device TRANSPORT AND STOR AGE PRECAUTIONS CAUTION e The product is a precision instrument During transportation avoid any impacts Failure to do so may cause failures in the product After transportation verify the operations of the product 1 The following LEDs on the main panel of the
22. by the PLC It will not be the correct value during high speed operations because of the communication delay The current value of the counter can be forcibly changed by writing a 32 bit value into the appropriate BFMs from the PLC 5 2 8 Maximum count value BFM 23 22 Minimum count value BFM 25 24 These store the maximum and minimum value reached by the counter If the power is turned off the stored data is cleared 5 2 9 Compare results BFM 26 Setting value BFM 4 b9 b10 Coincidence output bO Set value gt current value b1 YH Set value current value b2 Set value lt current value b3 Set value gt current value b4 YS Set value current value b5 Set value lt current value b6 b15 Not available 5 2 10 Terminal status BFM 27 Bit NO bO b1 b2 b3 b4 b15 on on on on Not available 5 2 11 Error status BFM 29 Bit NO bO b1 b2 b3 b4 b5 b6 b7 b8 b9 Error Status Set when any of b1 to b7 is ON Set when the value of the ring length is written incorrectly Except K2 to K65 536 Set when the preset value is written incorrectly Set when the compare value is When value ring length in written incorrectly 16 bit counter mode Set when the current value is written in correctly Set when the counter overflows the upper limit When the upper or lower limit is exceeded on a 32 bit Set when the counter overflows the counter lower limit
23. ection methods e Various counter modes such as 1 phase or 2 phase 16 bit or 32 bit modes can be selected using commands from the PLC Allow the FX2NC 1HC unit to run only after setting these mode parameters 1 1 Incorporated Items Verify that the following product and items are included in the package Included Items FX2NC 1HC 1 Unit Special unit block No label 1 Sheet 1 manual each Manuals Japanese version English version 1 2 External Dimensions Part Names and Terminal Layout Dimensions mm inches Terminal layout A phase input B phase input DISABLE input joooooooooojjoonoo0o0o00000j PRESET input Weight Approx 0 13kg 0 29lbs Includes terminal block No Name Status LED Power LED ON when the 5V power supply is normally supplied from the PLC Up count LED Green UP Red The respective LED is ON according to up down count direction of the counter DN Red Down count LED A phase input The respective LED is ON flicker according B to ON OFF of 6A and 6B input n B phase input DISABLE input LED The respective LED is ON OFF according to PRESET input ON OFF of PRESET and DISABLE input YH YS YH output LED The respective LED is ON OFF according to status of YH and YS output m m i YS output LED Terminal block European type Extension connector PLC side Used to c
24. es User s Manual Hardware Edition FX3S FX3G FX3GC FX3U FX3UC Series Programming Manual Basic amp Applied Instruction Edition Explains the FX3UC Series PLC specifications for I O wiring installation and maintenance JY997D16601 MODEL CODE 09R517 Describes PLC programming for basic applied instructions and devices Explains the FX2NC DSS DS Series PLC specifications for I O wiring installation and maintenance Explains the FX2NC D UL Series PLC specifications for I O wiring installation and maintenance Describes FX1S FX1N FX2N FX2NC Series PLC programming for basic applied instructions and devices JY992D76401 MODEL CODE 09R509 FX2NC DSS DS Series Hardware Manual FX2NC D UL Series Hardware Manual SYA DSrAN JY992D88101 MODEL CODE 09R512 FX Series Programming Manual II How to obtain manuals For product manuals or documents consult with the Mitsubishi Electric dealer from who you purchased your product Certification of UL cUL standards The following product has UL and cUL certification UL cUL File Number E95239 Models MELSEC FX2NC series manufactured from December 1st 2007 FX2NC 1HC Compliance with EC directive CE Marking This note does not guarantee that an entire mechanical module produced in accordance with the contents of this note will comply with the following standards Compliance to EMC directive and LVD directive for the entire mechanical m
25. eset b9 YH output reset b10 YS output reset b11 YH output set b12 YH output set b13 b15 Not available 1 When bO is set to ON and the DISABLE input terminal to OFF the counter is permitted to start counting input pulses 2 Unless b1 is set to ON YH hardware compared output does not turn ON 3 Unless b2 is set to ON YS software compared output does not turn ON 4 When b3 ON YS output is reset if YH output is set and YH output is reset if YS output is set When b3 OFF YH and YS output act independently and do not reset each other 5 When b4 OFF preset function by the PRESET input terminal is disabled For the preset details refer to Subsection 5 2 5 6 When b8 is set to ON all error flags are reset 7 When b9 is set to ON YH output is reset 8 When b10 is set to ON YS output is reset 9 When b11 is set to ON YH output is set ON 10 When b12 is set to ON YS output is set ON 8 Diagnostics STARTUP AND MAINTE NANCE PRECAUTIONS CAUTION e Do not disassemble or modify the PLC Doing so may cause fire equipment failures or malfunctions For repair contact your local Mitsubishi Electric distributor e Do not drop the product or exert strong impact to it Doing so may cause damage DISPOSAL PRECAUTIONS Z CAUTION e Please contact a certified electronic waste disposal company for the environmentally safe recycling and disposal of your device TRANSPORT AND STOR AGE PRECAUTIONS CAUTI
26. functions Use screwdrivers carefully when performing installation work thus avoiding accident or product damage 2 1 Installation The FX2NC 1HC can be installed on a DIN46277 rail 35 mm 1 38 wide 2 2 Number of the connectable units 1 FX2NC PLC Up to four special function units blocks in total can be connected to the FX2NC Series PLC including those connected to the FX2NC CNV IF 2 FX3UC PLC Up to eight special function units blocks in total can be connected to the Fx3uc Series PLC including those connected to the FX2NC CNV IF or FX3UC 1PS 5V 1 Up to seven special function units blocks in total can be connected to the FX3UC 32MT LT 2 PLC Unit numbers assigned to special function units blocks begins with No 1 2 3 Connection to the PLC When connecting the FX2NC 1HC to the FX2NC FX3UC Series main unit or extension block remove the extension port cover from the right side of the main unit or extension block keep the slide lock in the main unit or extension block pulled upward then align the hook in the FX2NC 1HC with the mounting hole in the former step of the main unit or extension block Then push the slide lock downward to fix the FX2NC 1HC When connecting two or more FX2NC 1HC units connect an FX2NC 1HC unit to another FX2NC 1HC unit in the same way Main unit 3 Wiring WIRING PRECAUTIONS Z WARNING e Make sure to cut off all phases of the power supply externally before attempt
27. ight UP figure and upper limit value is set to 99 98 9 0 1 Down FI FLEE _ 1 0 99 98 5 2 4 Command BFM 4 Setting Value Bit No bO Count permit b1 YH output permit b2 YS output permit b3 Mutual reset action b4 Preset permit b5 b7 Not available b8 Error flag reset b9 YH output reset b10 YS output reset b11 YH output set b12 YH output set b13 b15 Not available 1 When bO is set to ON and the DISABLE input terminal to OFF the counter is permitted to start counting input pulses 2 Unless b1 is set to ON YH hardware compared output does not turn ON 3 Unless b2 is set to ON YS software compared output does not turn ON 4 When b3 ON YS output is reset if YH output is set and YH output is reset if YS output is set When b3 OFF YH and YS output act independently and do not reset each other 5 When b4 OFF preset function by the PRESET input terminal is disabled For the preset details refer to Subsection 5 2 5 6 When b8 is set to ON all error flags are reset 7 When b9 is set to ON YH output is reset 8 When b10 is set to ON YS output is reset 9 When b11 is set to ON YH output is set ON 10 When b12 is set to ON YS output is set ON Example program The ON OFF status of M25 to M10 is written in BFM 4 of special function block No 2 by the following program and b15 to bO action Among these b4 to bO are always ON as controlled by M10 M14 Furthermore b8 M18 b9 M19 and b10 M20 are cont
28. ing installation or wiring work Failure to do so may cause electric shock or damage to the product WIRING PRECAUTIONS CAUTION e Make sure to cut off all phases of the power supply externally before attempting installation or wiring work Failure to do so may cause electric shock or damage to the product WIRING PRECAUTIONS CAUTION e Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents due to abnormal data written to the PLC under the influence of noise 1 Do not bundle the main circuit line together with or lay it close to the main circuit high voltage line or load line Otherwise noise disturbance and or surge induction are likely to take place As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or high voltage lines 2 Ground the shield wire or shield of the shielded cable at one point on the PLC However do not use common grounding with heavy electrical systems e Make sure to properly wire to the terminal board European type in accordance with the following precautions Failure to do so may cause electric shock equipment failures a short circuit wire breakage malfunctions or damage to the product The disposal size of the cable end should follow the dimensions described in the manual Tightening torque should follow the specifications in the manual Twist the end of strand wire and make sure that there
29. lse command the TO command the compare value etc are appropriately specified Remember to initialize the count BFM 4 b0 preset BFM 4 b4 and output BFM 4 b2 b1 prohibits Reset the YH YS outputs before you start Note Note that inputting the pulse higher than the maximum frequency may cause mis counting to FX2NC 1HC or a FROM TO error to the PLC main unit 7 1 phase 1 input counter Software UP DOWN K10 K11 KO K1 ON UP DOWN is OFF contents of BFM 1 p Down KO K1 Current 7 SS velco 5 2 2 DOWN UP command BFM 1 When using the 1 phase 1 input counter Software UP DOWN counter mode K10 K11 set the count direction by the current value of BFM 1 Default value KO For the operation refer to the Subsection 5 2 1 7 Count Direction Setting Value KO K1 Up count Down count 5 2 3 Ring length BFM 3 2 When setting the upper limit value of the 16 bit counters the setting range is K2 to K65536 Default value K65536 In this example K100 is written to BFM 3 2 of special function block No 2 as 32 bit data X002 When ring length K100 is specified the current value of the counter is changed as the right UP figure and upper limit value is set to 99 98 99 0 1 DOWN 4 414 1 0 99 98 5 2 4 Command BFM 4 Setting Value Bit No bO Count permit b1 YH output permit b2 YS output permit b3 Mutual reset action b4 Preset permit b5 b7 Not available b8 Error flag r
30. mpare value for YS output not necessary if only YH output is used Note that counting only occurs if count prohibit is OFF Also outputs will not be set from the counting process at all if the relevant output prohibit are set in the command register Please reset the error flags and YH YS output before you start The mutual reset and preset initialization commands can be used as required X010 Cm Count allowed M8000 X011 Preset allowed X012 PLS M18 Error flag reset X013 Output allowed Mutual reset YH output reset YS output reset FNC 79 M25 to M10 gt BFM 4 b15 to b0 command M8000 RUN monitor BFM 21 20 Reads the current value to the data registers D3 and D2 7 Preliminary checks 1 Check that the I O wiring and extension cable of the FX2NC 1HC are properly connected 2 The FX2NC 1HC occupies 8 points of I O on the FX2NC FX3UC expansion bus The 8 points can be allocated from either inputs or outputs 5V DC 90mA power is supplied from the main or extension power supply units FX3UC only for the FX2NC 1HC Check that there is no power overload from this and other extension blocks 3 The following derating curve shows the simultaneous ON ratio of available power for products connected to the FX2NC 1HC with respect to the ambient temperature Use the adjoined following product within the simultaneous input ON ratio range shown in the figure Target input extension
31. ng 24V DC for PRESET and DISABLE signals connect to the 24V DC XP24 XD24 terminal 2 Grounding resistance 100 Q or less 3 This wiring is unnecessary when not using the PRESET function and the DISABLE function 3 2 3 Differential Line Driver output encoders When applying the Differential Line Driver encoder AM26C31 or equivalent to FX2NC 1HC connect the encoder output with the 5V DC terminal as shown in the left figure Encoder Shielded Twisted Pair Shielded Twisted Pair 1 Grounding resistance 100 or less 2 This wiring is unnecessary when not using the PRESET function and the DISABLE function 3 2 4 YH YS output wiring Sink wiring Output load driving power 5 24V DC 3 2 5 YH YS output wiring Source wiring Output load driving power 5 24V DC DESIGN PRECAUTIONS WARNING e Make sure to have the following safety circuits outside of the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 Most importantly have the following an emergency stop circuit a protection circuit an interlock circuit for opposite movements such as normal vs reverse rotation and an interlock circuit to prevent damage to the equipment at the upper and lower positioning limits Note that when the PLC CPU detects an error such as a watchdog timer error during self diagnosis all outputs are turned off
32. odule should be checked by the user manufacturer For more details please contact the local Mitsubishi Electric sales site Requirement for Compliance with EMC directive The following products have shown compliance through direct testing of the identified standards below and design analysis through the creation of a technical construction file to the European Directive for Electromagnetic Compatibility 2004 108 EC when used as directed by the appropriate documentation Attention e This product is designed for use in industrial applications Note e Authorized Representative in the European Community Mitsubishi Electric Europe B V Gothaer Str 8 40880 Ratingen Germany Programmable Controller Open Type Equipment MELSEC FX2NC series manufactured FX2NC 1HC Type Models from December 1st 2007 Standard EN61000 6 4 2007 Electromagnetic compatibility Generic standards Emission standard for Industrial environment EN61000 6 2 2005 Compliance with all relevant aspects of Electromagnetic compatibility the standard RF Immunity Fast Generic immunity standard Industrial Transients ESD Conducted Surges environment Power Magnetic Fields Voltage dips and Voltage interruptions Remark Compliance with all relevant aspects of the standard Radiated Emissions and Mains Terminal Voltage Emissions EN61131 2 2007 Compliance with all relevant aspects of Programmable controllers the standard Equipment re
33. on 1 phase 1 input mode UP DOWN is determined below e Hardware UP DOWN Up down count is decided by OFF ON of the A phase input terminal e Software UP DOWN Up down count is decided by the current value KO K1 of BFM 1 Count When 32 bit is specified ing spec 2 147 483 648 to 2 147 483 647 ification ange When 16 bit is specified 0 to 65 535 upper limit is set up by BFM 3 2 Each output is set when the present value of the counter matches with the compare value and is switched OFF by a reset command YH Direct output processed by hardware YS Software processed output with worst delay time of 300us Therefore when the input frequency is 50 kHz there is a worst case delay of 15 input pulses Item Specification A24 24V DC 10 B24 7mA or less r Phase A A12 12V DC 10 signal Phase B_ B12 7mA or less level Selected A5 3 0V to 5 5V DC by terminal B5 12 5mA or less connec tion XP24 10 8V to 26 4V DC PRESET XD24 15mA or less DISABLE xps 5V DC 10 XD5 8mA or less MAX 1 edge count Signa lt PNASE 2 edge count 25kHz input Compari son Type YH transistor output for YH output YH transistor output for Types of outsuts YH output Output p YS transistor output for signal YS output YS transistor output for YS output Supu 5V 24V DC 0 5A capacity I O occupation 8 points can be either inputs or outputs 5 Buffer Memories BFM
34. onnect this special function block to the FX2NC FX3UC main unit or extension block Slide lock Used to fix the FX2NC extension block on the right side of this special function block Extension connector Extension side Used to connect the FX2NC extension block to the right of this special function block Remove this cover for connecting DiNrail mounting hook 2 Installation Connect to the PLC INSTALLATION PRECAUTIONS NWARNING e Make sure to cut off all phases of the power supply externally before attempting installation or wiring work Failure to do so may cause electric shock or damage to the product INSTALLATION PRECAUTIONS CAUTION e Use the product within the generic environment specifications described in PLC main unit manual Never use the product in areas with excessive dust oily smoke conductive dusts corrosive gas salt air Cl2 H2S SO2 or NO2 flammable gas vibration or impacts or expose it to high temperature condensation or rain and wind If the product is used in such conditions electric shock fire malfunctions deterioration or damage may occur When drilling screw holes or wiring make sure cutting or wire debris does not enter the ventilation slits Failure to do so may cause fire equipment failures or malfunctions Connect FX2NC 1HC securely to their designated connectors Loose connections may cause malfunctions Use screwdrivers carefully when performing installation w
35. ories BFM 5 1 Buffer memory List Note 1 When writing in BFM 0 counter mode the BFM 1 to 31 will be initialized After setting the counter mode BFM 0 other BFM s have to be setup When setting the counter mode use a TOP pulsed instruction or M8002 initial pulse to drive the TO instruction 2 Read Write of 16 bit data When using a positive value between K32 768 and K65 535 with 16 bit counters read writes of data such as the current value ring length preset data and the YH YS compare value should use the 32 bit forms of the FROM TO instructions D FROM D TO ccess BFM 0 Counter mode Setting range KO to K11 Ko R W KO DOWN UP command BEREZ 1 phase 1 input mode S W counter only Ko BFM 2 R W Ring length K65536 BFM 3 R W BFM 5 9 Not available Eg BFM 10 R W Preset data KO BFM 11 R W BFM 12 R W K32767 BFM 13 R W YH compare value YS compare value Counter current value Maximum count value Minimum count value D P3 BFM 14 cang R W K32767 BFM 15 R W Ches e BFM 20 R W BFM 21 Upper R W BFM 22 R W BFM 23 Upper R W BFM 24 R W BFM 25 Upper R W 5 2 Details of buffer memories 5 2 1 Counter mode BFM 0 The counter mode is shown in the upper right table Default value KO Note When writing in BFM 0 counter mode the BFM 1 to 31 will be initialized After setting the counter mode BFM 0 other BFM s have to be setup When
36. ork thus avoiding accident or product damage 2 1 Installation The FX2NC 1HC can be installed on a DIN46277 rail 35 mm 1 38 wide 2 2 Number of the connectable units 1 FX2NC PLC Up to four special function units blocks in total can be connected to the FX2NC Series PLC including those connected to the FX2NC CNV IF 2 FX3UC PLC Up to eight special function units blocks in total can be connected to the Fx3uc Series PLC including those connected to the FX2NC CNV IF or FX3UC 1PS 5V 1 Up to seven special function units blocks in total can be connected to the FX3UC 32MT LT 2 PLC Unit numbers assigned to special function units blocks begins with No 1 2 3 Connection to the PLC When connecting the FX2NC 1HC to the FX2NC FX3UC Series main unit or extension block remove the extension port cover from the right side of the main unit or extension block keep the slide lock in the main unit or extension block pulled upward then align the hook in the FX2NC 1HC with the mounting hole in the former step of the main unit or extension block Then push the slide lock downward to fix the FX2NC 1HC When connecting two or more FX2NC 1HC units connect an FX2NC 1HC unit to another FX2NC 1HC unit in the same way Main unit 3 Wiring WIRING PRECAUTIONS Z WARNING e Make sure to cut off all phases of the power supply externally before attempting installation or wiring work Failure to do so may cause electric
37. ors are individually isolated to allow either sink or source connection methods e Various counter modes such as 1 phase or 2 phase 16 bit or 32 bit modes can be selected using commands from the PLC Allow the FX2NC 1HC unit to run only after setting these mode parameters 1 1 Incorporated Items Verify that the following product and items are included in the package Included Items FX2NC 1HC 1 Unit Special unit block No label 1 Sheet Manuals Japanese version English version 1 manual each 1 2 External Dimensions Part Names and Terminal Layout Dimensions mm inches Terminal layout A phase input B phase input DISABLE input joooooooooojjoonoo0o0o00000j PRESET input Weight Approx 0 13kg 0 29lbs Includes terminal block No Name Status LED Power LED ON when the 5V power supply is normally supplied from the PLC Green UP Red Up count LED The respective LED is ON according to up down count direction of the counter DN Red Down count LED A phase input The respective LED is ON flicker according B to ON OFF of 6A and 6B input n B phase input DISABLE input LED The respective LED is ON OFF according to PRESET input ON OFF of PRESET and DISABLE input YH YS YH output LED The respective LED is ON OFF according to status of YH and YS output m m i YS output LED Terminal block
38. own in m the right figure 0 4mm 2 5mm Note If the diameter of screwdriver grip is too es see small tightening torque will not be able to be achieved Use the following recommended screwdriver or an appropriate replacement grip diameter approximately 25mm Manufacturer SZS 0 4X2 5 Phoenix Contact 3 2 Wiring Note Make sure to properly wire in accordance with the encoder output specifications Incorrect wiring may cause accidents or damage to the product 3 2 1 NPN output encoders Encoder NPN DC24V 1 Shielded Twisted Pair 1 Drive power supply of the encoder Use either 24V DC 12V DC or 5V DC according to the encoder type When connecting the A phase the B phase and the Z phase to FX2NC 1HC connect to the power supply terminal When using 24V DC for PRESET and DISABLE signals connect to the 24V DC XP24 XD24 terminal 2 Grounding resistance 100 or less 3 This wiring is unnecessary when not using the PRESET function and the DISABLE function 3 2 2 PNP output encoders Encoder PNP Dc24v Shielded Twisted Pair Shielded Twisted Pair 1 Drive power supply of the encoder Use either 24V DC 12V DC or 5V DC according to the encoder type When connecting the A phase the B phase and the Z phase to FX2NC 1HC connect to the power supply terminal When using 24V DC for PRESET and DISABLE signals connect to the 24V DC XP24 XD24 terminal 2
39. pliance to EMC directive and LVD directive for the entire mechanical module should be checked by the user manufacturer For more details please contact the local Mitsubishi Electric sales site Requirement for Compliance with EMC directive The following products have shown compliance through direct testing of the identified standards below and design analysis through the creation of a technical construction file to the European Directive for Electromagnetic Compatibility 2004 108 EC when used as directed by the appropriate documentation Attention e This product is designed for use in industrial applications Note e Authorized Representative in the European Community Mitsubishi Electric Europe B V Gothaer Str 8 40880 Ratingen Germany Type Programmable Controller Open Type Equipment Models MELSEC FX2NC series manufactured from December 1st 2007 FX2NC 1HC Standard EN61000 6 4 2007 Electromagnetic compatibility Generic standards Emission standard for Industrial environment EN61000 6 2 2005 Compliance with all relevant aspects of Electromagnetic compatibility the standard RF Immunity Fast Generic immunity standard Industrial Transients ESD Conducted Surges environment Power Magnetic Fields Voltage dips and Voltage interruptions Remark Compliance with all relevant aspects of the standard Radiated Emissions and Mains Terminal Voltage Emissions EN61131 2 2007 Compliance with all relevant a
40. quirements and tests EMI e Radiated Emissions e Conducted Emissions EMS e Radiated electromagnetic field e Fast transient burst e Electrostatic discharge e High energy surge e Voltage drops and interruptions e Conducted RF e Power frequency magnetic field 1 Outline The hardware high speed counter block is a 2 phase 50 kHz high speed counter It is a special function block for the FX2NC FX3UC series PLC e FROM TO instruction transfers the PLC data i e parameters comparing value and present value e The FX2NC 1HC occupies 8 points of I O on the FX2NC FX3UC expansion bus The 8 points can be allocated from either inputs or outputs However 5V DC 90mA power is supplied from the main unit or extension power supply units There must be no power overload from this or any other extension unit Furthermore another power supply is needed for the output circuit of the encoder or the transistor e Differential Line Driver AM26C31 or equivalent and open collector output encoders are available for FX2NC 1HC e 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 e The FX2NC 1HC has two outputs When the counter value coincides with an output compare value the appropriate output is set ON The output transistors are individually isolated to allow either sink or source conn
41. re 6 Example Program Please use the following program as a guide whenever you use the FX2NC 1HC unit Other instructions to read the current value of the counter status etc can be added as required M8002 Initial pulse K11 is written into BFM 0 of special function block No 2 The counter input is 16 bit 1 phase Please use a pulse command for this initialization K1 K1234 BFM 3 2 special function block No 2 The ring length can be specified when a 16 bit counter is specified UP DOWN direction should be specified for 1 phase 1 input software determined UP DOWN counter K1000 BFM 13 12 Set the compare value for YH output Count modes 4 2 phase input phase difference pulse 4 edge count K K5 1 phase 2 input add subtract pulse Software UP DOWN K11 1 16 32 bit counter modes a 32 bit counter modes KO K2 K4 K6 K8 K10 A 32 bit binary counter which executes UP DOWN counting will change from the lower limit value to the upper limit value or the upper limit value to the lower limit value when overflow occurs Both the upper and lower limit values are fixed values the upper limit value is 2 147 483 647 and the lower limit value is 2 147 483 648 b 16 bit counter modes K1 K3 K5 K7 K9 K11 A 16 bit binary counter handles only positive values from 0 to 65 535 Changes to zero from the upper limit value or to the upper limit value from
42. rewdriver whose head is straight tip straight and is not widened as shown in c the right figure 0 4mm 2 5mm Note If the diameter of screwdriver grip is too MO fe OT small tightening torque will not be able to be achieved Use the following recommended screwdriver or an appropriate replacement grip diameter approximately 25mm Manufacturer SZS 0 4X2 5 Phoenix Contact 3 2 Wiring Note Make sure to properly wire in accordance with the encoder output specifications Incorrect wiring may cause accidents or damage to the product 3 2 1 NPN output encoders Encoder NPN DC24V 1 Shielded Twisted Pair 1 Drive power supply of the encoder Use either 24V DC 12V DC or 5V DC according to the encoder type When connecting the A phase the B phase and the Z phase to FX2NC 1HC connect to the power supply terminal When using 24V DC for PRESET and DISABLE signals connect to the 24V DC XP24 XD24 terminal 2 Grounding resistance 100 or less 3 This wiring is unnecessary when not using the PRESET function and the DISABLE function 3 2 2 PNP output encoders Encoder PNP Dc24v Shielded Twisted Pair Shielded Twisted Pair 1 Drive power supply of the encoder Use either 24V DC 12V DC or 5V DC according to the encoder type When connecting the A phase the B phase and the Z phase to FX2NC 1HC connect to the power supply terminal When usi
43. rolled by the input X004 of the PLC and X005 by ON OFF M8000 Count allowed YH YS Output allowed Mutual reset RUN Preset allowed monitor X004 Error flag reset X005 YH YS output reset M8000 m FNC 79 5 2 5 Preset data BFM 11 10 When BFM 4 b4 is ON and the PRESET input is switched from OFF to ON preset data is stored into BFM 21 20 counter current value For command details refer to Subsection 5 2 4 5 2 6 YH compare value BFM 13 12 YH compare value BFM 15 14 e After comparing the current value of the counter with the value written in BFM 13 and 12 BFM 15 and 14 the hardware and software comparator in the FX2NC 1HC outputs the comparison result e YH YS output will not turn ON if using PRESET or the TO instruction to set the counter value equal to the comparison i BFM 4 value It will turn ON only when a match b9 b10 occurs by the counting of input pulses However when BFM 4 b1 b2 are OFF Coincidence output it does not set Q e Output occurs when the current value Gr becomes equal to the compare value but only if b1 and b2 of BFM 4 are ON Once an output is set it remains ON until it is reset by b9 or b10 of BFM 4 If b3 of BFM 4 is ON however one of the outputs is reset when the other is set e The YS comparison operation takes about 300us and if a match occurs the output goes ON 5 2 7 Counter current value BFM 21 20 The current value of the counter can be read
44. se 1 input mode UP DOWN is determined below e Hardware UP DOWN Up down count is decided by OFF ON of the A phase input terminal e Software UP DOWN Up down count is decided by the current value KO K1 of BFM 1 Count When 32 bit is specified ing spec R 2 147 483 648 to 2 147 483 647 ification ange When 16 bit is specified 0 to 65 535 upper limit is set up by BFM 3 2 Each output is set when the present value of the counter matches with the compare value and is switched OFF by a reset command YH Direct output processed by hardware YS Software processed output with worst delay time of 300s Therefore when the input frequency is 50 kHz there is a worst case delay of 15 input pulses Item Specification A24 24V DC 10 B24 7mA or less Phase A A12 12V DC 10 Signal PhaseB B12 7mA or less level Selected A5 3 0V to 5 5V DC by terminal B5 12 5mA or less connec tion XP24 10 8V to 26 4V DC PRESET XD24 15mA or less DISABLE xp5j 5V DC 10 XD5 8mA or less Input MAL 1 edge count iP frequency Soph Fanal lt PNASE 2 edge count 25kHz input Compari son Type YH transistor output for YH output YH transistor output for Types of outputs YH output Output p YS transistor output for signal YS output YS transistor output for YS output eo 5V 24V DC 0 5A capacity I O occupation 8 points can be either inputs or outputs 5 Buffer Mem
45. shock or damage to the product WIRING PRECAUTIONS CAUTION e Make sure to cut off all phases of the power supply externally before attempting installation or wiring work Failure to do so may cause electric shock or damage to the product WIRING PRECAUTIONS CAUTION e Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents due to abnormal data written to the PLC under the influence of noise 1 Do not bundle the main circuit line together with or lay it close to the main circuit high voltage line or load line Otherwise noise disturbance and or surge induction are likely to take place As a guideline lay the control line at least 100mm 3 94 or more away from the main circuit or high voltage lines 2 Ground the shield wire or shield of the shielded cable at one point on the PLC However do not use common grounding with heavy electrical systems e Make sure to properly wire to the terminal board European type in accordance with the following precautions Failure to do so may cause electric shock equipment failures a short circuit wire breakage malfunctions or damage to the product The disposal size of the cable end should follow the dimensions described in the manual Tightening torque should follow the specifications in the manual Twist the end of strand wire and make sure that there are no loose wires Do not solder plate the electric wire ends
46. spects of Programmable controllers the standard Equipment requirements and tests EMI e Radiated Emissions e Conducted Emissions EMS e Radiated electromagnetic field e Fast transient burst e Electrostatic discharge e High energy surge e Voltage drops and interruptions e Conducted RF e Power frequency magnetic field 1 Outline The hardware high speed counter block is a 2 phase 50 kHz high speed counter It is a special function block for the FX2NC FX3UC series PLC e FROM TO instruction transfers the PLC data i e parameters comparing value and present value e The FX2NC 1HC occupies 8 points of I O on the FX2NC FX3UC expansion bus The 8 points can be allocated from either inputs or outputs However 5V DC 90mA power is supplied from the main unit or extension power supply units There must be no power overload from this or any other extension unit Furthermore another power supply is needed for the output circuit of the encoder or the transistor e Differential Line Driver AM26C31 or equivalent and open collector output encoders are available for FX2NC 1HC e 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 e The FX2NC 1HC has two outputs When the counter value coincides with an output compare value the appropriate output is set ON The output transist
47. y rights which may occur as a result of using the contents noted in this manual Warranty Mitsubishi will not be held liable for damage caused by factors found not to be the cause of Mitsubishi opportunity loss or lost profits caused by faults in the Mitsubishi products damage secondary damage accident compensation caused by special factors unpredictable by Mitsubishi damages to products other than Mitsubishi products and to other duties e This product has been manufactured as a general purpose part for general industries and has not been designed or manufactured to be incorporated in a device or system used in purposes related to human life e Before using the product for special purposes such as nuclear power electric power aerospace medicine or passenger movement vehicles consult with Mitsubishi Electric e This product has been manufactured under strict quality control However when installing the product where major accidents or losses could occur if the product fails install appropriate backup or failsafe functions in the system MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN Reset BFM 4 b8 BFM 4 b11 Matched BFM 4 b9 BFM 4 b12 Compare results SO BFM 26 1 Comparison is made at the next sampling point after an input count Terminal status BFM 27 JY997D30701C MITSUBISHI ELECTRIC PROGRAMMABLE CONTROLLERS MEL
48. zero when overflow occurs the upper limit value is determined by BFMs 3 and 2 2 2 phase counter 1 edge count KO K1 1 phase 1 input 2 147 483 647 Upper limit value A Lower limit value 2 147 483 648 Mak l Ring length BFM 3 2 1 Phase A 1 Phase B Phase B input OFF gt ON while phase A input ON Count up by 1 Phase B input ON gt OFF while phase A input ON Count down by 1 3 2 phase counter 2 edge count K2 K3 Phase A 1 1 Phase B Phase B input OFF gt Phase B input ON gt ON while phase A input OFF while phase A input ON Count up by 1 ON Count down by 1 4 2 phase counter 4 edge count K4 K5 UP COUNT DOWN COUNT Phase A Phase B 5 1 phase 2 input counter K6 K7 If both phase A and phase B inputs are received simultaneously the counter value does not change ON Phase A input 1 Phase A ase OFF at OFF ON ON i Phase B Phase B input 1 OFF1 2333210 atOFF gt ON 6 1 phase 1 input counter Hardware UP DOWN K8 K9 Phase A OFF ON ON OFF determined by input DOWN hase A ON OFF Current UP p l value pT K900 BFM 15 14 Set the compare value for YS output not necessary if only YH output is used Note that counting only occurs if count prohibit is OFF Also outputs will not be set from the counting process at all if the relevant output prohibit are set in the command register Please reset the error flags and Y

Download Pdf Manuals

image

Related Search

Related Contents

Dons, prêts, apports, … aux compagnies et théâtres  ASUS GXD1051 User's Manual  3 meca avimeca eleve  Technical Information Manual  Manuale di istruzioni  

Copyright © All rights reserved.
Failed to retrieve file