Manuale d’uso / di manutenzione del prodotto 0 del fabbricante Mitsubishi Electronics
Vai alla pagina of 136
MELSEC-L High-S peed Counter Module User's Manual -LD62 -LD62D.
.
1 SAFETY PRECAUTIONS (Read th ese precau tions bef ore using th is prod uct.) Befor e usin g this produc t, pl ease rea d thi s manua l and t he r elevan t manu als care full y and p ay f ull at tent ion to safet y to han dle th e product correc tly .
2 [Inst allation Precautio ns] [Inst allation Precautio ns] [Wiring Precautions] W A RNING ● Shut of f the exte rnal power suppl y (all phase s) used in the syst em before mounti ng or removing a modu le. Fa ilure to do so may r esult in elect r ic sh ock or cause the modu le to fail or mal f unct ion.
3 [Wiring Precautions ] CAUTION ● Indivi dually gr ound the FG and LG te rminals of the pr ogramma ble control ler with a ground resista nce of 100 or less. Fail ure to do so may resu lt in electri c shock or malfunc tion. ● Check th e rated volt age and term inal layout before w iring to the mod ule, and conn ect the cable s correc tly .
4 [St artup and Mainten ance Precautions] [St artup and Mainten ance Precautions] [Disposal Precautio ns] W A RNING ● Do not touch an y termin al while powe r is on.
5 CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if an.
6 INTRODUCTION Thank y ou for purchasi ng the Mitsu bishi MELSEC-L series pro grammable con trollers. This m anual describe s the f unctions and p rogramming of a h igh-speed coun ter module.
7 COMPLIANCE W ITH EMC AND LOW VOL T AGE DIRECTIVES (1) Method of ensuring compliance T o ensure that Mit subishi progra mmable controlle rs maintain EMC and Low V oltage Directives when inc orpora ted into ot her ma chiner y or eq uipment, certain m easures m ay be necess ary .
8 RELEV AN T MANUALS (1) CPU module user's ma nu al (2) Head module user's manual (3) Operating manual Manua l na me <manual n umber (model code )> Description MELSEC-L CPU Module User.
9 Memo.
CONTENTS 10 CONTENTS SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . .
11 7.3 Intelligent Function Modul e Detail e d Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 7.4 Parameter Setti ngs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12 Appendix 1.1 Input signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 12 Appendix 1.2 Output signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13 MANUAL P AGE ORGANIZA TION In this m anual, pages are organize d and the symb ols are used as show n below . The follo w ing illustrat ion is for ex planat ion purpos e only , and should not be referred to as an a ctual documen tation. *1 The mouse operation example (for GX Works2) is provided below .
14 TERMS Unles s otherw ise spe c ifie d, this manual u ses the follow ing t erms. P ACKING LIST The followin g item s are inc luded in the pack age of this produ ct.
15 CHAPTER 1 HIGH-SPEED COUNTER MODULE 1 1.1 Application CHAPTER 1 HIGH-SPEED CO UNTER MODULE This cha pter describes the application and the featu res of t he hig h-speed c ounter module.
16 1.2 Features (1) Offering counting cap ability over the wide range from - 214748 3 648 to 214748 3647 • The module sto res a count valu e in 32-bit s igned bin ary .
17 CHAPTER 1 HIGH-SPEED COUNTER MODULE 1 1.2 Features (7) Executing the prese t function and the counter function s e lection via e xternal control signals • Applying a voltag e to the prese t input terminal allows the pre s et fu nction to be perfo rmed.
18 CHAPTER 2 P ART NAMES The foll owing tabl e lists t he part names of the high-spe ed counter modu le. No. Name Description 1) Module joint levers Levers for connecting two modules 2) A LED On: A voltage is being appli ed to the phase A pulse input terminal.
19 CHAPTER 2 P A RT NAMES 2 Memo.
20 CHAPTER 3 SPECIFICA TIONS This c hapter describes gene ral sp ecificati ons, performanc e specificatio ns, function s, I/O si gnals, and buf fer memory areas . 3.1 General Specifications For the g eneral specific ations of the h igh-speed co unter mod ule, refer to the followi ng.
21 CHAPT ER 3 SPECIFICA TI ONS 3 3.2 Performance Specifications 3.2 Performance Specifications The follo w ing tab le descri bes the perfor mance s pecifications of the high-spee d counter modul e.
22 *1 The value can be configured in intelligent function m odule switch setting. *2 The counting speed is affected by the pulse rise/fall tim e. The number of puls es that can be counted depending on the count ing speed is as follows. Note that the count may be incorrect when puls es with long rise/fall time are counted.
23 CHAPT ER 3 SPECIFICA TI ONS 3 3.2 Performance Specifications 3.2.1 Number of parameters that can be set *1 The value can be configured in int elligent function module switch setting. *2 The counting speed is aff ec ted by the pulse rise/fall time. The number of pulses that can be counted depending on t he count ing speed is as follows.
24 (2) Checking the number of p arameters The numb er of parameter s set for the intelligen t function module an d the maximum number of p arame ters can be check ed by the followi ng operati on. Project w indow [Inte lligent Fu nction Module ] Righ t-click [Intelli gent Function M odule Parameter Lis t] No.
25 CHAPT ER 3 SPECIFICA TI ONS 3 3.3 Function List 3.3 Function List The f ollow ing ta ble lists th e func tio ns of t he hig h-spe ed c ounte r modu le.
26 3.4 List of I/O Signals The followin g t able l ists t he I/O signa ls of the high-speed cou nter module. For det ails on the I/O signals, refer to the followin g. • Details of I/O sign als ( Page 1 12, Appe ndix 1) ● The I/O numbers (X/Y) above apply when the st art I/O num ber of the high-speed counter module is set to "0".
27 CHAPT ER 3 SPECIFICA TI ONS 3 3.5 List of B uffer Memory Areas 3.5 List of Buffer Mem ory Areas The follo w ing tab le list s the buf fer m emory area s of the high -speed c ounter module. For det ails on the buf fer memory ar eas, refer t o the following.
28 *1 This value is set when the high-speed counter module i s powered on or the CPU module is reset. *2 Whether a value c an be read from/written t o a program or not is indicated. R: Readable W: Wr itable *3 Read or write value s in 32-bit signed binary .
29 CHAPT ER 4 PROCEDU RES BE FORE OPER A TION 4 CHAPTER 4 PROCEDURES BEFORE OPERA TION This cha pter lists th e procedures bef ore operation. ( Page 31, Sect ion 5.1 ) ( Page 35, Sectio n 6.2 , Page 47, S ection 6.3 , Page 49, Section 6 .4) ( Page 53, Sect ion 7.
30 Memo.
31 CHAPTER 5 SYSTEM CONFIGURA TION 5 5.1 Overall Configuration CHAPTER 5 SYSTEM CONFIGURA TION This ch apter descri bes the o verall con figuration, nu mber of con nect able modules , and comp atible sof tware ver s ions of the high-s peed counter m odule.
32 (2) When connected to the head module Power supply module END cover Connector Head module High-speed counter module.
33 CHAPTER 5 SYSTEM CONFIGURA TION 5 5.2 Applicable System 5.2.1 Restrictions when the high-speed c ounter module is connected to the head m odule 5.2 Applicable System (1) Number of connect able modules For the num ber of connect able modules , refer to the fo llowing .
34 CHAPTER 6 INST ALLA TION AND WIRI NG This c hapter describes inst allation and wiring of the h igh-speed counter mod ule. 6.1 Inst allation Environm ent and Installation Position For pr ecaution s for inst allation e nvironment and installa tion p osition, r efer to the foll owing.
35 CHAPTER 6 INST ALLA TION AND WIRING 6 6.2 Wiring 6.2.1 Wiring precautions 6.2 Wiring This sec tion d escribes wiring of encode rs and contro llers to the high -speed counter m odule.
36 (3) Measures a gainst noise • The high-speed c ounter module m ay count puls es inco rrectly if pulse -like noise is input. • For the input o f high -speed pul ses, tak e the f ollowing mea sures aga inst noise: • The following figure shows a wiring example for noise reduct ion.
37 CHAPTER 6 INST ALLA TION AND WIRING 6 6.2 Wiring 6.2.1 Wiring precautions (4) Requirement s for compliance wit h the EMC and Low V olt age Directiv es T ake the fol lowing measu res for comp liance w ith th e EMC an d Low V oltage D irectives. • Install a D C power inside the cont rol panel.
38 • T ake the fol lowing noise reduction me asures wh en wiring a con nector for extern al devices. [Exampl e of wiri ng using a shi elded cable] The f ollowin g figur e shows an exam ple of wiring f or noise reducti on using the A6CO N1.
39 CHAPTER 6 INST ALLA TION AND WIRING 6 6.2 Wiring 6.2.2 Connectors for external devices 6.2.2 Connectors for external device s (1) Preca utions • Tig hten the c onnector screw s with in the sp ecified torqu e range . • Use copper wi res havin g temperature rati ng of 75 or mor e for the co nnectors.
40 (3) Wiring method For wiring method, refer to th e following. MELSE C-L CPU Modu le User's Manu al (Hardw are De sign, Mainte nance an d Inspection ) (4) Connection procedure (5) Removal procedure 1. Plug ging the c onn ecto r Plug the connector in to the slot on the high-speed counter mo dule.
41 CHAPTER 6 INST ALLA TION AND WIRING 6 6.2 Wiring 6.2.3 Interface with external devices 6.2.3 Interface wi th external de vices This sec tion l ists the interface of the h igh-spee d counter modul e with external devices .
42 (2) LD62 (DC input sink output type) I/O classification Internal circuit T erminal number *1 Sign al name Operation Input vo ltage (gu arante ed value) Operating current (guarant eed value) CH1 CH2 Input A20 A13 P hase A pulse input 24V On 21.6 to 26.
43 CHAPTER 6 INST ALLA TION AND WIRING 6 6.2 Wiring 6.2.3 Interface with external devices *1 The terminals A03, A04, B03, and B04 are not assigned. *2 Coincidence output derating ( on ratio) is as fo llows. Output A06 A05 EQU1 (coincidence o utput point No.
44 (3) LD62D (differential input sink output type) I/O classification Internal circuit T erminal number *1 Signal name Operation Input vo ltage (guaran teed value) Operatin g current (gu arant eed val.
45 CHAPTER 6 INST ALLA TION AND WIRING 6 6.2 Wiring 6.2.3 Interface with external devices *1 The terminals A 03, A04, A07, A0 8, B03, B04, B07, and B08 are not assigned. *2 Coincidence output derating ( on ratio) is as fo llows. Output A06 A05 EQU1 (coincidence output point No.
46 6.2. 4 Con nect able encoders Encoder s that can be conne cted t o the h igh-speed counter mod ule are as follo w s. (1) T o the LD62 • O pen colle ctor ou tput type encod er • CMOS level vol tage outpu t type enc oder (Check tha t the encoder output volt age mee ts the sp ecificati ons of the LD6 2.
47 CHAPTER 6 INST ALLA TION AND WIRING 6 6.3 Examples of Wiring Between the High-S peed Counter Module and an Encoder 6.3 Examples of Wiring B etween the High -Speed Counter Module and an Encoder (1) .
48 (2) Example of wiring wi th a volt age output type encoder ( 5VDC) (3) Example of wiring wi th a line driver ( equivalent to AM26LS 3 1) encode r A20(A13) 24V B20(B13) 12V A19(A12) 5V B19(B12) ABCO.
49 CHAPTER 6 INST ALLA TION AND WIRING 6 6.4 Examples of Wiring Between a Controller and External Input Terminals 6.4 Examples of Wiring B etween a Controlle r and External Input T erminals (1) When t.
50 (2) When the controller (source load type) ha s a voltage of 5VDC B17(B10) 24V A16(A09) 12V B16(B09) 5V A15(A08) CTRLCOM Preset Shield OUT E GND Controller LD62 Shield OUT E 5VDC B15(B08) 24V A14(A.
51 CHAPTER 6 INST ALLA TION AND WIRING 6 6.4 Examples of Wiring Between a Controller and External Input Terminals (3) When the controller i s a line driv er type A18(A12) 24V B18(B12) 12V A17(A11) 5V .
52 6.5 Examples of Wiring with External Output T erminals T o use the coincidence output termin al (EQU), an external pow er su pply of 10 .2 to 30VDC is requir ed to d rive the internal photocoupler .
53 CHAPT ER 7 SETTIN GS 7 7.1 Adding a Module CHAPTER 7 SETTINGS This cha pter describes how to configu re settings o f the hi gh-speed counter modu le.
54 7.2 Switch Setting Set a pul se input mo de, counting speed, an d counter typ e for e ach chan nel. (1) Setting method Open "Switc h Setting". Project win dow [Inte lligent Functio n Module] Model name [Switch Se tting] Item Description Se tting value Pulse input m ode Select a pulse input mode for each channel.
55 CHAPT ER 7 SETTIN GS 7 7.3 Intelligent F unction Module Detailed Setting 7.3 Intelligent Fun ction Module Detailed Setting Perform an output m o de s etting for an error and CPU module operation mode s etting for a hardware error . (1) Setting method Open the "I/O Assignme nt" tab.
56 7.4 Parameter Settings Set p arameters for each c hannel. Setting p arameters he re eliminates the n eed to program th em. (1) Setting method Open th e "Para meter" w indow . 1. Open the "Parameter" win dow from the project w indow.
57 CHAPT ER 7 SETTIN GS 7 7.5 Auto Refresh 7.5 Auto Refresh The funct ion of auto ref resh is to transfer buf fer memory da ta t o a specified d evice. This set ting eliminates the need to r ead dat a with a pro gram. (1) Setting method Open the "Auto_Refresh" window .
58 CHAPTER 8 FUNCTIONS This c hapter describes the d eta ils of the functions th at can be achieved throu gh the high-s peed coun ter module and thei r setting m ethods.
59 CHAPTER 8 FUNCTIONS 8 8.1 Pulse Input Modes and Counting M ethods 8.1.1 Types of pulse input modes 8.1 Pulse Input Mo des and Coun ting Methods This sec tion describes the p ulse inpu t modes and the counting m ethods.
60 For the 1-phase pu lse input, check that for up co unt, the phase B pulse input and CH Down cou nt command (Y 3, YB) are off before performing the pha se A pulse input. If at least one of the B phase pulse input and CH Down count command ( Y3, YB) is on, puls es are counted down in the A phase pulse input .
61 CHAPTER 8 FUNCTIONS 8 8.1 Pulse Input Modes and Counting M ethods 8.1.1 Types of pulse input modes (a) 1-phase pulse input The co unt me thod can be selected from 1 multiple and 2 multi ples. The follo w ing figure shows t he relationship between phase A pulse input a nd phase B pulse input or CH Down cou n t comm and (Y3, YB).
62 8.1. 2 Setting a counting method Set a c ounti ng met hod by switch setti ng. For det ails on the s etting method, re fer to the following . • Switch Setting ( Page 54, Section 7.
63 CHAPTER 8 FUNCTIONS 8 8.2 Selecting Counter Type 8.2 Selecting Cou nter T ype Select a counti ng method in the switch setti ng. (1) Setting method 1.
64 8.2. 1 Linear cou nter function (1) Operation of the linear counter • This functio n count s pulses between -2147483648 ( lower limit va lue) and 2147 483647 (uppe r limit valu e). • The preset functi on and the coin cidence output function ca n be used together .
65 CHAPTER 8 FUNCTIONS 8 8.2 Selecting Counter Type 8.2.2 Ring counter function 8.2.2 Ring counter function (1) Operation of the ring counter This func tion repeatedly counts p ulses be tween the valu.
66 (2) Count range of the ring counter The cou nt range is determ ined by the rel ationship betwee n CH Present value (UnG2, UnG3, UnG 34, UnG 35) an d the r ing co unte r low er lim it/u pper l imit v alues when C H Count ena ble command ( Y4, YC) is turned on or when the preset fu nction is pe rformed.
67 CHAPTER 8 FUNCTIONS 8 8.2 Selecting Counter Type 8.2.2 Ring counter function (b) When the count range is "Present value < Ring counter lower limit value or ring counter upper limit value &l.
68 8.3 Coinc idence Outp ut Functio n This fun ction compa res the presen t counter value with the p reset coinciden ce output poin t settin g value an d outputs a signal when they match . Up to two coincide nce ou tput s can be se t for ea ch ch annel.
69 CHAPTER 8 FUNCTIONS 8 8.3 Coincidence Output Function Perform the following before turning on CH Coincidence signal e nable command (Y 2, Y A ).
70 (4) Coincidence detection interrupt function This fun c tion outputs a n interrupt request to the C PU modu le and start s an interru pt progra m when the prese nt counter value matches with the prese t coin cidence output point setting valu e.
71 CHAPTER 8 FUNCTIONS 8 8.3 Coincidence Output Function (b) Setting inter rupt pointers Assign i nterrupt factors (SI) and the interrupt p ointers of the C PU modu le in "Int elligent Functi on Module Interrupt Poi nter Setting" of "P LC Parameter".
72 (c) Using only a specific SI No. • Setting in the intell igent fun ction module in terrupt pointer settin g in the p arameters Interrupt fa ctors are use d start ing from the st art SI No. by th e number of interru pt pointers s et in t he "Intellig ent Function Module I nterrupt Pointer Setting" dialog b ox.
73 CHAPTER 8 FUNCTIONS 8 8.4 Preset Function 8.4 Preset Functio n This func tion overwrite s the p resent count er value w ith t he set value. The s et va lue is refe rred to as a p res et val ue. This func tion can be used to st art counting pulses from the preset value.
74 (2) P erforming the preset function us ing an external control signal Perform th e preset functio n by applying a n ON volt age to the preset input terminal f or external input .
75 CHAPTER 8 FUNCTIONS 8 8.5 Counter Function S election 8.5 Counter Fu nction Selectio n The coun t disable fun ction, the latch coun ter functio n, the sampling counter functio n, or the perio dic pulse coun ter func tion c an be used by sele cting each it em in " Coun ter fu ncti on sele ctio n".
76 8.5. 1 Readi ng the counter function selection coun t value The cou nter function selecti on count value refers to the coun t value that is stor ed when the counter func tion selection is perform ed.
77 CHAPTER 8 FUNCTIONS 8 8.5 Counter Function S election 8.5.2 Count error 8.5.2 Count error A count error may oc cur when the selec ted coun ter function i s pe rformed by extern al input ( A volt age is appl ied to the function start inpu t terminal .
78 8.6 Cou nt D isab le Funct ion This fu nction stop s counting p ulses whi le CH Count enable command (Y4, YC) is on. The foll owing figure s hows the relat ionship a mong CH Count enab le command (Y4, YC), the counter fun ction selec tion start command , and the pres ent co unter v alue.
79 CHAPTER 8 FUNCTIONS 8 8.7 Latch Counter Function 8.7 Latch Coun ter Function The funct ion latches the present counter value when a s ignal is input.
80 8.8 Sampling Co unter Function This fu nction count s pulses inpu t during the s pecified sampling p eriod (T ). The foll owing figure s hows the relat ionship b etween the si gnals and the buf fer m emory area s.
81 CHAPTER 8 FUNCTIONS 8 8.9 Periodic Pulse Coun ter Function 8.9 Periodic Pulse Counter Funct ion This func tion st ores the presen t and previou s counte r values to CH P eri odic pu lse co unt .
82 Read CH Periodic pulse count, previous value (UnG16, UnG17, UnG4 8, UnG49) and CH Peri odic puls e count, present va lue (UnG18, UnG19, Un G50, UnG51) by two words at a time.
83 CHAPTER 9 D ISPLA Y UNIT 9 9.1 Features CHAPTER 9 DISPLA Y UNIT This cha pter describes display unit fu nctions that ca n be used for the high-s peed counter mo dule. For det ails on opera tions, fun ctions, and me nu structure o f the display u nit, refer to the follo wing.
84 (2) Screen transition to th e initial se tting change screen The f ollowin g figur e shows screen t ransition to t he initia l setting chang e screen.
85 CHAPTER 9 D ISPLA Y UNIT 9 9.3 List of Setting V alue Change Screens 9.3 List of Setti ng V alue Change Screen s The f ollow ing ta ble li sts set ting value change scree ns.
86 (2) Preset value Input ite m (3) Coincidence output point No.1 Input ite m (4) Coincidence output point No.2 Input ite m "PRESET V ALU E" screen 1. Move the cursor usi ng the and buttons, increa se or decrease the cursor positio n value using the and buttons, and press th e button.
87 CHAPTER 9 D ISPLA Y UNIT 9 9.3 List of Setting V alue Change Screens (5) Ring counter upper limit va lue Input item (6) Ring counter lower limit value Input item (7) Counter function selec tion (8) Sampling/periodic time sett ing Input item "RING COUNT MAX" screen 1.
88 CHAPTER 10 PROGRA MMING This c hapter describes basi c program s of the high-sp eed counter mod ule. 10.1 Using the M odule in St andard System Configu ration This s ection desc ribes the system co nfigura tion a nd prog ram examples b ased on c onditions.
89 CHAPT ER 10 PRO GRAMM ING 10 10.1 Using the Module in Standard System Configuration (3) Switc h setting Set a puls e input mode, co unting speed, a nd counter ty pe as fol lows: Proje ct window [Intellige nt Functi on Mod ule] [LD62] [Switch Settin g] *1 Leave unused c hannels with the default values.
90 (5) User devi ces The input signal X3F is used by the system and is not available fo r users. If a user uses this signal (turning off and on), the performance of the high-speed counter m odule is not guaranteed.
91 CHAPT ER 10 PRO GRAMM ING 10 10.1 Using the Module in Standard System Configuration (6) Program example when intelligent function module parameters are used (a) Setti ng parameter s Configu re initial se ttings on the p arameters.
92 (b) Auto re fresh Set auto refresh des tination dev ices. Project win dow [Intelli gent Func tion Module] [LD62] [Auto_Refres h] (c) W riting i ntelligent function module p arameters Wr ite th e set p arameters to the CPU module, and reset the C PU modul e or power of f and then on the prog rammable controller .
93 CHAPT ER 10 PRO GRAMM ING 10 10.1 Using the Module in Standard System Configuration (d) Program example T o use eac h function , insert the fo llowin g program into the position "A" in the program a bove.
94 (7) Program example when intelligent function module p arameters are not used *1 Set these values when using the ring counter . *2 Set this value when using the linear counter .
95 CHAPT ER 10 PRO GRAMM ING 10 10.1 Using the Module in Standard System Configuration (b) Using each function T o use eac h function , insert the fo llowin g program into the position "B" in the program a bove.
96 10.2 Connectin g the Modu le to the Head Modu le This s ection desc ribes the system co nfigura tion a nd prog ram examples b ased on c onditions. (1) System configuration The f ollowin g figur e shows a syste m configurat ion whe re the high-sp eed count er module is connect ed to the head modu le.
97 CHAPT ER 10 PRO GRAMM ING 10 10.2 Connecting the Module to t he Head Module (4) User device s Device Desc ripti on W1000 and W1001 Device to which the present value is to be written at aut o refres.
98 (5) Setting p aramet ers for t he master stat ion 1. Create a proje ct on GX Works2 . Select "Q CPU(Q m ode)" for "PLC Ser ies" and "Q10 UDH" for "PLC T ype". [Project] [New ...] 2. Open the network para meter set ting window an d set pa rameters a s shown b elow .
99 CHAPT ER 10 PRO GRAMM ING 10 10.2 Connecting the Module to t he Head Module 4. Open the Refre sh Parameter window and set paramete rs as shown below .
100 (6) Setting p ara meters for the inte lligent dev ice station 1. Create a proje ct on GX Works2 . Select "L CPU" for "PLC Seri es" and "LJ72 GF15-T2" for "PLC T ype". [Project] [New ...] 2. Open the PLC p arameter se tting window and set p arameters as shown belo w.
101 CHAPT ER 10 PRO GRAMM ING 10 10.2 Connecting the Module to t he Head Module 3. Add the high -speed counter module (LD62) to the GX W orks2 project. Proje ct window [Intellige n t Functi on Module] Right-click [New M odule...] 4. Open th e switch settin g window for the high-sp eed counter module a nd set param e ters as shown bel ow .
102 5. Open the initial setting window fo r the h igh-speed c ounter module and set paramete r s as shown below . Project win dow [Inte lligent Functio n Module] [LD62] [Parameter ] Item Desc ription Setting v alue Preset value Enter a preset value. 2500 Coincidence output point No.
103 CHAPT ER 10 PRO GRAMM ING 10 10.2 Connecting the Module to t he Head Module 6. Open the "Au to_Refresh" window for the high-speed counter mo dule and se t parameters a s shown b elow . Proje ct window [Intellige n t Functi on Module] [LD62] [Aut o_Re fres h] 7.
104 (7) Program example The f ollowin g figur e shows a prog ram exam ple. W rite the progra m to the CPU m odule on the master stati on. T imers for i nterlock between the own and oth er stations (T 1 to T5) are se t to 100 ms. This program is set only when linear counter is used.
105 CHAPT ER 10 PRO GRAMM ING 10 10.2 Connecting the Module to t he Head Module T o use each function, inse rt the following program i nto the posit i on "A" in the program a bove.
106 10.3 Program Example wit h the Coincidence D etection Interrupt F unction This s ection describ es a program exa mple to sta rt an interrupt p rogram at coincidenc e detect ion in C H1 Coinciden ce detecti on point No.1. (1) System configuration The sys tem con figuration is the same as the follow ing.
107 CHAPT ER 10 PRO GRAMM ING 10 10.3 Program Example with the Coincidence Detection Interrupt Function (3) Program ex ample Before usin g an inter rupt pointer , enable an i nterrupt with the IM ASK instr uction. ● When the program abov e is executed, the I50 interrupt program is enabled, and all other interrupt programs ar e disabled.
108 CHAPTER 1 1 TROUBL ESHOOTIN G This c hapter describes errors tha t may occur whil e using the hig h-speed counter module, and tho se troubleshooti n g. The high-speed counter modul e does not support the following functions performed in the s ystem monitor .
109 CHAPTER 1 1 TROUBLESHOOTING 11 11.2 The Module Does Not Start Counting O peration 11 . 2 Th e Module Does No t St art Co unting Op eration 11 . 3 Th e Module Does Not C orrectly Count Pu lses Chec.
110 11 . 4 C oincidenc e Output F unction Do es Not Corre ctly Operate 11 . 5 C oincidenc e Detection Interrupt Doe s Not Occur 11 . 6 Presen t V alue Cannot b e Replaced wit h the Preset V alu e Check ite m Action Are CH Coincidence signal No.1 reset command (Y0, Y8) and CH Coincidence signal No.
111 CHAPTER 1 1 TROUBLESHOOTING 11 11.7 Pulse Wavefo rm Shaping Method 11 . 7 Pulse W av eform Shaping Method An ef fect ive metho d for pulse sha ping is to apply a dummy resi st ance of s everal hundreds ohms (/several watts ) across p ulse inp ut terminals co nnected to a pulse generat or to in crease a load current throu gh the cable s.
112 APPENDICES Appendix 1 Det ails of I/O Signa ls This s ection describ es the detail s on the I/O si gnals from the h i gh-sp eed counter mod ule to the CPU mo dule. The I/O num bers (X/Y) in this section are shown on the assumpti on that the start I/O number of the high-speed c ounter module is set t o 0.
113 APPENDICES A Appendix 1 Details of I/O Signals Appendix 1.1 Input signals (6) CH Counter value large (point No.2) (X5, XC) • This signal t urns on when C H Present v alue (UnG 2, UnG3, Un G34, UnG35) is la rger than CH Coincide nce outpu t point No.
114 Appendix 1.2 Output signals (1) CH Coinc idenc e signal No.1 re set comm and (Y0, Y8) This s ignal is turned on to reset CH Counter value coinci dence (point No .1) (X2, X9 ). (a) Operati ng timing The command is valid as l ong as th e signal is on.
115 APPENDICES A Appendix 1 Details of I/O Signals Appendix 1.2 Output signals (8) CH Coincidence signal No.2 rese t command (Y 7, YF) This signal is turned on to re set CH Counter v alue coi ncidenc e (point N o.2) (X6, XD ). (a) Operating timing The co mmand i s valid as lon g as the sig nal is on .
116 Appendix 2 Det ails of Bu ffer Memory Areas (1) CH Preset va lue (UnG0, UnG1 , UnG32, UnG33) • A preset value i s stored i n this area. • The setting ra nge is fro m -214 7483648 to 21474 83647 (32-bit signed binary). (2) CH Present value (U nG2, UnG3, UnG3 4, UnG35 ) • The present coun ter value is st ored in this ar ea.
117 APPENDICES A Appendix 2 Details of Buffer Memory Areas (7) CH Sampling/periodic counter flag (UnG1 1, UnG43) • When the sam pling count er functio n or the perio dic pulse co unter function i s selected , the ope rating sta tus of the sele cted functio n is stor ed in this area.
118 Appendix 3 Checking Seria l Number and F unction Ve r s i o n For how to ch eck the s erial number an d the function v ersion, ref er to the follo wing.
119 APPENDICES A Appendix 4 Differences Between L Series and Q Series M odules Appendix 4 Differen ces Between L Series and Q Series Modules The follo w ing table descri bes the dif ferences betwe en the L seri es modul es and the Q s eries modules in specifi cations.
120 Appendix 5 When Using GX Developer and GX Conf igurator- CT This c hapter describes how to operate G X Developer and G X Configu rator-CT . (1) Applicable sof tware versions For the a pplicable sof tware versions, refer to the followi ng. MELSE C-L CPU Modu le User's Manu al (Hardw are De sign, Mainte nance an d Inspection ) Appendix 5.
121 APPENDICES A Appendix 5 When Using GX Developer and GX Configurator-CT Appendix 5.1 GX Developer operation (2) Intelligent function module det ailed setting Open the "I/O assignm ent" t ab.
122 (3) Switch setting Open th e "I/O assign ment" tab . Parameter [PLC p arameter] [I/O assig nment] button ● In counting speed s etting, "500kPPS" can be selected for the LD62 only . Do not set "500k PPS" for the LD 62.
123 APPENDICES A Appendix 5 When Using GX Developer and GX Configurator-CT Appendix 5.2 GX Configurator-CT operation Appendix 5.2 G X Configurator-CT operation When usi ng GX Develop er , proced ures for display ing para meter setti ng screens of GX Config urator-CT differ from thos e of GX Works2.
124 Enter "Start I/O No.", and select "Module type" and "Module model name". Initial setting window Initial setting Auto refresh setting window 1) GX Developer screen [T .
125 APPENDICES A Appendix 5 When Using GX Developer and GX Configurator-CT Appendix 5.2 GX Configurator-CT operation [Online] - [Monitor/T est] Select monitor/test module dialog box Monitor/T est window Select a module to be monitored/tested.
126 Appendix 6 Extern al Dim ensions The followin g figu res show the e xternal di mensions of th e high-speed count er module . (1) LD62, LD62 D 28.5 95 4 49 0 45 (45) 4 (Unit: mm) DIN rail center.
127 APPENDICES A Appendix 6 External Dimensions Memo.
128 INDEX 0 to 9 1-phase m ultiple of 1 . . . . . . . . . . . . . . . . . . . . . . 59 1-phase m ultiple of 2 . . . . . . . . . . . . . . . . . . . . . . 59 2-phase m ultiple of 1 . . . . . . . . . . . . . . . . . . . . . . 59 2-phase m ultiple of 2 .
I 4 4 7 8 129 R Readi ng the c ounter fun ction selecti on count value . . 76 Readi ng the presen t valu e . . . . . . . . . . . . . . . . . . . 62 Ring cou nter functi on . . . . . . . . . . . . . . . . . . . . . . . 65 S Samplin g counter functi on .
130 REVISIONS *The m anual number is given on the b ottom left of the b ack cov er . Jap anese m anual versi on SH- 080912 -D 2010 MITSUBISHI ELECTRIC CORPORA TION Print date *Manual nu mber Revision April 2010 SH(N A)-080920ENG-A First edition December 2010 SH(N A)-080920ENG-B SAFETY PRECAUTIONS, Section 1.
131 W ARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure&quo.
132 TRAD EMARKS Micros oft , Windo ws, Win dows V ista, Wind ows NT , Windows XP , Wi ndows Se rver , Visio, Excel, Pow erPoin t, Visual Bas ic, V isual C ++, and Ac cess are either registered trad emarks o r trademark s of Microsof t Corporati on in the United S tates, Jap an, and other cou ntries.
.
SH(NA)- 080920ENG -D(1 410 )M EE MODEL: LD62( D)-U-E MODEL CODE: 13JZ49 Specifications subject to change without notice. When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Mitsubishi Electronics 0 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Mitsubishi Electronics 0 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Mitsubishi Electronics 0 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Mitsubishi Electronics 0 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Mitsubishi Electronics 0, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Mitsubishi Electronics 0.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Mitsubishi Electronics 0. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Mitsubishi Electronics 0 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.