Home

High-Speed Counter Module Type AJ65BT-D62/AJ65BT

image

Contents

1. 2 phase multiplied by one Counts a pulse on trailing edge of phase A Down counting Count decreases in response to phase differ ence between phases A and B Counts a pulse on leading and trailing edges of phase A Count increases in response to phase differ ence between phases A and B Counts a pulse on leading and trailing edges of phase A Count decreases in response to phase differ ence between phases A and B Counts a pulse on leading and trailing edges of phases A and fB Count increases in response to phase differ ence between phases A and B Counts a pulse on leading and trailing edges of phases A and B Count decreases in response to phase differ ence between phases A and B Up counting 2 phase multiplied by two Down counting Up counting 2 phase multiplied by four Down counting 2 Even if the pulse input mode is changed counting will start from the value at the time the mode is changed 5 1 5 PULSE INPUT AND COUNTING METHOD MELSEC A 5 1 1 phase pulse input In 1 phase pulse input multiplication by one or two can be selected for counting 1 Relationship between phase A pulse input and down count command The following diagram shows the relationship between phase A pulse input and down count command High speed counter module Pulse input To A Encoder A Down count c
2. 10 2V 30V 2 AJ65BT D62D S1 AJ65BT D62D S1 EQU1 12 24V 710 2V 30V NN COM cee COUNTING ME TTO D M E LS EC A 5 PULSE INPUT AND COUNTING METHOD This chapter describes the pulse input and counting modes of the high speed counter module 1 The pulse input mode is classified into 1 phase pulse input and 2 phase pulse input 1 phase pulse input is subdivided into multiplication by one and multiplication by two whereas 2 phase pulse input covers multiplication by one two and four The following table indicates the pulse input modes and count timing Pulse Input Mode Count Timing A B Counts a pulse on leading edge of phase A RY n 1 3 Phase B and RY n 1 3 RY n 1 A are off RY n 1 A Up counting 1 phase multiplied by one A B Counts a pulse on trailing edge of phase A RY n 1 3 Phase B or RY n 1 3 RY n 1 A is on RY n 1 A Down counting Counts a pulse on leading and trailing edges B RY n 1 3 of phase A RY n 1 A Phase B and RY n 1 3 RY n 1 A are off Up counting 1 phase multiplied by two us PA i ahi bis Counts a pulse on leading and trailing edges B RY ne4 3 of phase A RY n 1 A Phase B or RY n 1 3 RY n 1 A is on Down counting Counts a pulse on leading edge of phase A Up counting Count increases in response to phase differ ence between phases A and B
3. nn es VIEL S EC A 7 2 Preset Using the Sequence Program Turn on the preset command RY n 1 1 RY n 1 8 in the sequence program to execute the preset function Present value storage area Addresses RWrn 0 to 1 RWrn8 to 9 Count enable command e RY n 1 4 RY n 1 B OFF I Input pulse for counter i Lf LST Lf f i LE Lf Lf Lf Li fete CB Sup ante ae exp Pe ee tie 2 i 1 T i 1 1 i 1 j i i 1 1 eb hatia ds Hin Se Preset value setting area 5 H A 7 e es S Addresses RWwm 0 to 1 RWwm8 to 9 H N S Preset command ON l 2 Groe omi MN a See ERI Sy N 3 ee A S 1 1 1 i 1 1 1 1 1 1 1 f Preset completion ONS 40 me a R A H A GOUARN EA Nia ai RX n 1 0 RX n 1 2 rk Poort 1 l I i 1 1 1 I 1 i 1 Dee fi Sim S18 ap d Bote Se ak aS PO ae hoot ro rot 2 to 65 66 67 100 101102103104 105 Wie Write any value in advance in 24 bit binary to the preset value setting area addresses RWwm 0 to 1 RWwm 8 to 9 2 jitas On the leading edge OFF ON of the preset command RY n 1 1 RY n 1 8 the value in the preset value setting area is preset to the present value storage area Preset can be executed independently of whether the count enable command RY n 1 1 RY n 1 8 is on or off IJa When the preset function is executed by the preset command RY n 1 1 RY n 1 8 switched on the preset completion signal RY n 1 1 RY n 1 8 switches on Wh
4. REMARK A Set the pulse input voltage setting pins in the H position 4 INSTALLATION AND PRE OPERATION SETTING PROCEDURE MELSEC A 2 Pulse generator is voltage output type 5VDC AJ65BT D62 Pulse input 5102 1 3w voltage Pulse generator O setting pin 2 3 3 7 4 7KQ 113W EEY a e 4 7KQ 1 3W B A Pulse input 5102 1 3w voltage L I setting pin i 4 7KQ 1 3W e 4 7KQ 1 3W H re Dedicated cable for CC link C oe Ro E 5VDC External power suppl pi pply ov oV REMARK aa Ta Set the pulse input voltage setting pins in the H position ee ee OPERAT ON SEINO PROCEDUR ee MELSEC A 3 Pulse generator is line driver equivalent to Am26LS31 AJ65BT D62D Pulse generator SEE i VCC VCC External power supply GND GND 1 i i ee a Pulse generator AJ65BT D62D S1 a l W A Dedicated cable for CC link A o Sohac r if O A SSS a qt XX gS 777 Dedicated cable for CC link ey Gr an n a GP m l 14090 A nora 777 i EENEN PRESET Dedicated cable for CC link Zz ws O 7 es 14050 C 0 seers PRESET E J 777 External vec Z Z vee power supply GND 7 7j GND ee eee eee MELSEC A 4 6 5 Wiring examples of controller and external input PRESET F START terminals 1 Controller
5. Start request signal is OFF when start is normal Parameter status is read when start is abnormal Start request signal is OFF when start is abnormal RX00 to RX7F is read to X400 to X47F Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Write to master station Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 42 10 PROGRAMMING x Preset command Preset value set 142 DMOV K100 TOP HO H1E0 D200 Preset execution 59 PLS M11 63 Re ET X410 Puls e count stop Stop of counting 67 n ri Remote output signal write K4 400 e Snan i SEN Y HO H160 10 43 D200 K2 M1 Y411 Y411 Y4l4 MELSEC A CH 1 preset value is set RWw0 RWw1 100 Write to master station CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 count enable RY14 is OFF RY00 to RY7F is written to Y400 to Y47F 10 PROGRAMMING 10 6 3 Program example of preset with external control signal Network parameter settings x0 XOF 0 S LA
6. 0 8V or converter 17 input 4 more TI Current type line driver cannot be used 1 Phase B pulse 18 input 2 3 4 En EIA Standard RS 422 A line driver level 8 1 9 1 1 1 1 Preset input 10 8 to 13 2V 2 to 5mA 4 7KQ 1 3W J For 12v 12V 0 1mA or less ON OFF ON OFF on __ For 24v Preset input ON 4 5 to 5 5V 2 to 5mA SZ External input 5 0 1mA or less ON OFF ON OFF Sag SW Preset input ON 21 6 to 26 4V 2 to 5mA ey 1 3W Z For 5V 24V OFF 5vorless 0 1mA or less a9 OFF V p otage seting pin 1 SOn Respon OFF ON ON OFF 20 se time 0 5ms or less 3ms or less Function on 21 6 to 26 4V 2 to 5mA start input on 21 me ue Bi Function 10 8 to 13 2V 2 to 5mA start input Function 4 5 to 5 5V 2 to 5mA start input 4 7KQ 1 3W J For 12V For 24v External input voltage setting pin in Se se time 0 5ms or less 3ms or less 22 Operating voltage 10 2 to 30V 24 EQU1 Rated current 0 5A point Max inrush current 4A 10ms Max voltage drop at ON 1 5V 23 i EQU2 Response time 25 OFF ON 0 1ms or less ON OFF 0 1ms or less 12 24V Input voltage 10 2 to 30V Current consumption 8mA TYP 24VDC 1 The number within parentheses represents the terminal number of channel 2 3 SPECIFICATIONS MELSEC A 3 Interfaces of the
7. 5 5 CH 2 gt gt fesoajps fcoopsioooops poos sr pa A ae le eectea lone obecloc oops lace opee is 2 2 EU EBU gu gg gt 4 El E EE EE z D c c A e o C SSS SSS NP _ aS SSS E v 2 4 5 holes BRATE STATION NO z MITSUBISHI MELSEC Asesst pe2 07 coz CH 1 CH 2 e01 e01 901 AQ OFA PW O 1O3 38 3 BO OFB RUN O A 654 654 DEC DEC LRUN RING PLS RESET PRE O O PRE SDO CH 1 2 CH 1 2 FST O O FST RDO ION LOW EQUI O O EQui LERR O a ua J EQaU2 O O EQU2 HeH a S N ve o amp ire Ww r Ladi y CRF Kioa IMMM y 142 9 5 63 la gt 151 9 5 98 la gt Unit mm inch Appendix 2 WARRANTY 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 found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replac
8. MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWw0 RWw1 100 CH 1 external preset detection reset command RY20 is ON CH 1 external preset detection reset command RY20 is OFF CH 1 count enable RY14 is OFF 10 PROGRAMMING 10 3 4 Program example of ring counter function x High speed counter module status check x0 XOF X1 0 Woy silo Wo WC No Wo Jp _ e NO M100 T Pulse input mode function selection register external output hold clear settings Pulse count start Start of counting SE Current value reading Current value reading X4 7B 2 H P_ icy zt x Preset value set Preset value set DMOY K100 Change of counter current value to preset value Change of current value 37 PLS M11 4i a E x410 Ring counter value set Ring counter value set 45 s rv K2000 Reset command of coincidence signal x40 50 4 RET x40 53 RST x Pulse count stop Stop of counting se p _ _ _ __ i KIMO M100 D202 a73 M10 Y478 Yad D500 D200 M11 Ya
9. RWwm B to C i eee On the leading edge OFF ON of the preset command RY n 1 1 RY n 1 8 the value in the preset value setting area is preset to the present value storage area Preset can be executed independently of whether the count enable command RY n 1 4 RY n 1 B is on or off A itices When the counter value reaches the ring counter value the counter value coincidence signal switches on to execute presetting When the present value is read at the execution of presetting the ring counter value or preset value is read Dhan The coincidence signal reset command is switched on to reset the counter value coincidence signal lf the counter value coincidence signal remains on the next presetting cannot be performed 8 EXECUTING THE RING COUNTER FUNCTION MELSEC A 8 1 2 Count range As shown below the count range of the ring counter function differs depending on the relationship between the preset value ring counter value present value and counting mode up down count 1 If preset valuespresent valuesring counter value The following operation is performed if the ring counter function is executed at the preset value of 0 ring counter value of 2000 and present value of 500 1 In up count the present value returns to the preset value 0 as soon as it is counted up to the ring counter value 2000 500 501 to 1998 1999 2000 0 1 2 3 2 In down count the present value returns to the maximum value 16777215 when it is
10. normal operation cannot be guaranteed 3 SPECIFICATIONS MELSEC A 2 Output signals The following table lists the output signals transmitted by the master module to the high speed counter module Valid on leading edge OFF to ON of signal Valid while signal is ON Input Signals Signal Name Operation Timing Master module high speed Description Refer To counter module Resets the ring counter value coi Point No 1 coincidence signal ncidence signal latch and the Section 6 1 RY n 1 0 RY n 1 7 ie reset command coincidence output No 1 signal to the Section 8 1 external device RY n 1 1 RY n 1 8 Presetconmans L Performs preset value write Section 7 2 Turn on this signal to output the counter RY n 1 2 RY n 1 9 Coincidence signal enable value coincidence signal to the external Section 6 1 Down count is performed when this RY n 1 3 RY n 1 A Down count command A Chapter 5 signal is on in the 1 phase mode device Turn on this signal to enable count Chapters 6 RY n 1 4 RY n 1 B Count enable operation to 9 RYm 1 5 RY o y Unusable Counter function Starts executes counter function RY n 1 6 RY n 1 D i t l Chapter 9 selection start command selection RYMHEtoRY E o o sable d ai External preset detection reset RY n 2 0 RY n 2 2 Resets external preset detection Section 7 3 command Point No 2 coincidence signal Resets the
11. tightening torque range 78 to 118N cm DIN rail may also be used for mounting Applicable DIN rails TH35 7 5Fe TH35 7 5Al conforming to JIS C2812 Power supply voltage 18 to 28 8VDC ims ure time Current consumption 24VDC 100mA Weight 0 42kg 0 93Ib Counting speed is influenced by pulse rise time and fall time Countable speeds are as follows Note that counting of a pulse having long rise and fall times may result in miscounting Counting Speed HIGH Setting Switch i phase 2 phase 1 phase 2 phase Rise fall time input input input input t t t lt 0 1usorless 400KPPS sookers 2504s sors 250PPs 3 SPECIFICATIONS MELSEC A 3 Performance specifications of the AJ65BT D62D S1 Item Specifications Counting speed setting switch HIGH position LOW position Number of channels Count 1 phase input 2 phase input input Signal level EIA Standard RS 422 A differential type line driver level signal A B equivalent to AM26LS31 Japan Texas Instruments make phase 400kPPS 10kPPS Counting speed input max 300kPPS 7kPPS input Counting range 24 bit binary 0 to 16777215 UP DOWN preset counter and ring counter functions Counter 2 5us 3 3us Minimum pulse width that H an can be counted p j p Adjust rise fall time of ned to 0 1us or less hastal TAEA Duty ratio 50 HS ps ps ps 1 phase input 2 phase input 1 phase input 2 phase input Coinciden 24
12. 60 MOV HO MOV H1 MOY H400 MOY 128 MOY HO MOV H2 MOV H400 MOY 128 MOY HO MOV H7 MOV 200 MOV 263 10 23 MO DO DI RLPA HO DO M1 LEDR Kl M3 07 08 Synchronous mode is invalid No of modules connected 1 Station information of high speed counter module remote device station 4 stations occupied station number 1 Dedicated command RLPA Head I O number of master module Parameter storage head device Device that turns on 1 scan at completion Parameter status reading at abnormal completion RX head number is set X is set X400 is set 128 points is set RY head number is set Y is set Y400 is set 128 points is set RW head number is set D is set D200 is set 263 points is set 10 PROGRAMMING MOV HO D112 MOV H4 D113 MOV KO D114 MOV K512 D115 MOV HO D116 MOV H8 D117 MOV HO D118 MOV K256 D119 LEDB RRPA SUB HO LEDC D100 LEDR x High speed counter module status check x0 XOF XI 181 H MOV w80 M4 M4 MC NO M100 M4 HK DS NO __ M100 T x Pulse input mode function selection register external output hold clear settings X478 x Pulse count start Start of counting S E x Current value reading urrent value reading X47B nd rR RS vit Coincidence output data set Coincidence output data set 221 DMOV K100 PLS Coincidence output command Coincidence output command D202
13. A differential type line driver level signal A B equivalent to AM26LS31 Japan Texas Instruments make 1 phase 400kPPS 10kPPS Counting speed input nae 300kPPS 7kPPS input Counting range 24 bit binary 0 to 16777215 UP DOWN preset counter and ring counter functions Minimum pulse width that can be counted Adjust rise fall time of input to 0 1us or less abt kostal Duty ratio 50 HS ps ps ps 1 phase input 2 phase input 1 phase input 2 phase input Coinciden 24 bit binary ce output Set value lt count value set value count value set value gt count value ON OFF 3ms or less External 2A 1common output 0 1ms or less CC Link station type Remote device station Number of stations occupied 4 stations RX RY 128 points each RWw RWr 16 points each Connection cable Dedicated cable for CC link Withstanding voltage 500VAC for 1 minute across all DC external terminals and grounding terminal 10MQ or more across all DC external terminals and grounding terminal using Insulation resistance a 500VDC insulation resistance tester kbs Measure using a noise simulator of noise voltage 500Vp p noise width 1us Noise immunity and noise frequency 25 to 60Hz Terminal block 27 pin terminal block M3 5x7 screws Applicable cable size 0 75 to 2 00mm Applicable crimping terminal RAV1 25 3 RAV2 3 5 conforming to JIS C2805 Counter Screws of M4x0 7mm 0 03inch x16mm 0 63inch or larger Module mounting screws
14. AJ65BT D62D S1 with external devices Operating Current Guaranteed nies Terminal i Input Voltage Internal Circuit Signal Name ON OFF Number 1 Guaranteed Receiver Am26LS32 5V E gt Asz DC DC converter ET Phase A pulse input Q Phase A pulse input 30 f EIA Standard RS 422 A line driver level ere Pea Aies Am26LS31 Japan Texas Instruments Asz eae eee make or equivalent 4 Vhys hysteresis VT VT 60 mV a FT VIH E H level enable input voltage 2V or more ViL E L level enable input voltage 0 8V or more Current type line driver cannot be used oe Phase B pulse input Pia o Receiver Am26LS32 5V Az DC DC Preset input converter TEED N N wo Preset input Function 21 6 to 26 4V 2 to 5mA start input Z For 5V Function 10 8 to 13 2V 2 to 5mA start input Z For 24V Function 4 5 to 5 5V 2 to 5mA Pulse input start input voltage setting pin 5V OFF 2V or less 0 1mA or less Function start input COM oa Respon OFF ON ON OFF se time 0 5ms or less 3ms or less Operating voltage 10 2 to 30V Rated current 0 5A point Max inrush current 4A 10ms Max voltage drop at ON 1 5V Response time OFF ON 0 1ms or less ON OFF 0 1ms or less 26 12 24V Input volt
15. Count operation stop Theni Count operation starts when the count enable command RY n 1 4 RY n 1 B switches on 2 fish Count operation stops when the counter function selection start command RY n 1 6 RY n 1 D F START terminal switches on Also the counter function detection RX n 1 1 RX n 1 3 switches on when the counter function selection start command RY n 1 6 RY n 1 D switches on hen Count operation resumes when the counter function selection start command RY n 1 6 RY n 1 D F START terminal switches off Also the counter function detection RX n 1 1 RX n 1 3 switches off when the counter function selection start command RY n 1 6 RY n 1 D switches off Ayes Count operation stops when the count enable command RY n 1 4 RY n 1 B switches off San a a aan anes V E LS EC A Dhaan Since the count enable command RY n 1 4 RY n 1 B is off count operation stops independently of whether the counter function selection start command RY n 1 6 RY n 1 D F START terminal Ghuri If the count enable command RY n 1 4 RY n 1 B is switched on count operation remains stopped since the counter function selection start command RY n 1 6 RY n 1 D F START terminal is on die Count operation resumes when the counter function selection start command RY n 1 6 RY n 1 D F START terminal switches off San a aeons V E LS EC A 9 3 Latch Counter Function This function latches the counter s present value
16. Quantity AJ65BT D62 type high speed counter module AJ65BT D62D ee ete eee high speed counter module AJ65BT D62D S1 type AJ65BT D62D S1 type high speed countermodule gt speed counter module AJ65BT D62 AJ65BT D62D AJ65BT D62D S1 type high speed counter module user s manual Hardware 1 INTRODUCTION This user s manual describes the specifications handling and programming of the AJ65BT D62 D62D D62D S1 type high speed counter module hereinafter called the high speed counter module to be used in a Control Communication Link hereinafter called CC Link system The high speed counter module can import and count pulses of a pulse generator which cannot be imported by a programmable controller CPU The high speed counter module can detect and count up to 400 000 pulses per second The high speed counter module is available in the following three different types AJ65BT D62 AJ65BT D62D AJ65BT D62D S1 DC input oe S Type Differential input sink output type sink output type Differential input Function 5 12 24VDC 2 to 15mA 5 12 24VDC start 2 to 5mA Max counting speed Max 200kPPS Max 400kPPS CC Link station type Remote device station Counting range 24 bit binary 0 to 16777215 F 1 phase 400k Counting switch over 200k 10k 10k 2 phases 300k The high speed counter module counts 1 phase and 2 phase pulse inputs as described below 1 phase pulse input multiplied by one Counts on the lead
17. RWr3 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 count enable RY14 is OFF RYO0O0 to RY7F is written to Y400 to Y47F 10 PROGRAMMING 10 6 7 Program example of sampling counter function Network parameter settings x0 XOF 0 S LE MO 5 MOY KI MOY K3 MOV 1 TO HO H1 DO MOV 1 TO HO H6 D3 MO 44 MOV H1401 TO HO H20 D4 x Data link start MO 59 SET SET x6 62 i st x 64 FROM HO H668 D100 RST x Remote input signal reading x0 XOF X1 75 KR BR in HO HOEO K4x400 x Status check of high speed counter module 1 xO XOF x 87 FROM HO H680 M WC M J_ cg NO M100 T x Pulse input mode function selection register external output hold clear settings x Pulse count start Start of counting 129 x Current value reading Current value reading X47B DE ee Y T H2E0 NO D300 MO DO D1 D2 K3 D3 KI D4 KI YO Y6 Y6 Kl Y6 KI M100 D202 KI Y478 M10 Y478 Y4l4 K2 MELSEC A No of units connected 1 Retry count 3 times No of auto paralleling modules 1 Write to master station Data link status when master station PLC CPU is abnormal Continued Read to master station Station information of high speed counter module remote device station 4 station occupied station number 1 Write to master station Refresh command Data
18. RY78 is OFF Pulse count start Start of counting 23 s EE Y4ld CH 1 count enable RY14 is ON Current value reading Current value reading x4 7B CH 1 current value af BOTT frre 8 00 Daga RWr0 RWr1 is read Execution of count disable Execution of count disable CH 1 counter function SET Y416 selection start command RY16 is ON Stop of count disable Stop of count disable CH 1 counter function 35 _ fis Y416 selection start command RY16 is OFF Pulse count stop St f ti op of counting CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 10 10 PROGRAMMING 10 3 6 Program example of latch counter function x High speed counter module status check x0 XOF x1 0 m MOY SWS0 K1M0 MO ME NO M100 MO Haass NO T o0 x Pulse input mode function selection register external output hold clear settings X473 MOY Pulse count start Start of counting SE Current value reading Current value reading X47B i M p_ ition Latch count value reading Latch counter command 32 A tt D302 x Execution of latch counter function Execution of latch counter Stop of counting 45 _ A st D202 Y4T8 M10 478 Y44 D500 D502 Md Y416 Y416 MELSEC A Data link status is read High speed counter module data link is normal High
19. SETTING PROCEDURE MELSEC A Description Terminal block For the AJ65BT D62D Pin Signal name Signal name Number Number 1 A COM ee ee com 27 com F START For the AJ65BT D62D S1 Signal name Signa ae aes name bA ae e ae i Lae SLD TM B 24V a PRESET 21 y a F START 8 sa LA 23 Poe A 2 cur cou ry ee ee ee ee are te 2s aa E PRESET 27 13 PRESET 4 INSTALLATION AND PRE OPERATION SETTING PROCEDURE Pulse external input voltage setting pins Description The also applies to CH2 AJ65BT D62 ea board 5 B Ta A Jumper Jumper connected to 5V AJ65BT D62D o 0 o Jumper connected to 12V AJ65BT D62D S1 ggo o UUU gt gt gt TN WO Nr Jumper connected to 24V Factory setting 24V MELSEC A ee AND PRE OPERATION SEINO Ee MELSEC A 4 4 Station Number Setting The buffer memory addresses of the master module where the remote I O signals and read write data are stored are determined by the station number setting of the AJ65BT 64RD For details refer to the user s manual details of the used master module 4 5 Orientation of Module Installation The following shows the possible orientation for AJ65BT 64RD installation When installing alongside the panel When installing on the panel ee eee eee ee MELSEC A 4 6 Wiring 4 6 1 Dedicated cable for CC link handling instru
20. Write a value in advance in 24 bit binary to the coincidence output point No 1 setting area addresses RWwm 3 to 4 RWwm B to C Di ries When the counter value reaches the set coincidence output point value the counter value less signal switches off and the counter value coincidence signal switches on e The coincidence signal reset command is switched on to reset the counter value coincidence signal If the counter value coincidence signal remains on the next coincident signal cannot be issued cD eee When the counter value becomes greater than the set coincidence signal output point value the counter value greater signal switches on Sa at seas wien TO N MELSEC A For the coincidence output function preset the coincidence output point and reset the coincidence output before switching on the coincidence signal enable If the coincidence signal enable is switched on without the above operation being performed the coincidence output is provided since the coincidence output point and count value matches in the initial state If the following time is not satisfied for the execution of the point No 2 coincidence output reset command the point No 2 coincidence output reset command will not switch on off ON Point No 2 coincidence output reset command RY n 2 1 RY n 2 3 4 10 link scans 2 sequence scans As the point No 2 coincidence output reset command is only valid on the leading edge OFF ON of the signal
21. ____ _ _ gt __ _ _ _ _ oo KI00 0200 Preset execution MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWwo0 RWw1 100 CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 16 10 PROGRAMMING 10 4 3 Program example of preset with external control signal High speed counter module status check x0 XOF x1 0 MOV W80 K1MO MO MC No M100 MO S NO _ M100 x Pulse input mode function selection register external output hold clear settings D202 Y478 Y478 x Pulse count start Start of counting 23 D Nk E Y414 Current value reading Ci t val reading S X47B of H P_ toy z00 0500 Preset command Preset value set Jp__ V K100 D200 MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function
22. a 7I VHHA Remote device station Pulse generator Shielded twisted cables Controller 2 SYSTEM CONFIGURATION MELSEC A 2 2 Applicable System Application system is described 1 Applicable master module Master modules that use the high counter unit are shown below AJ61BT 11 A1SJ61BT11 AJ61QBT11 A1SJ61QBT11 QJ61BT 11 When AJ61BT11 A1SJ61BT11 AJ61QBT11 and A1SJ61QBT11 are used be sure to use the type with the number 9707 B or later in the date column of the rating nameplate shown below The system cannot be used with the module which does not indicate 9707 B in the date column lt Large type gt MEESEC ce lt Small type gt MITSUBISHI PROGRAMMABLE CONTROLLER DATE 9707 BOC 9707 B A urave Lec We comPORATON JAPA MTSU RAHI ELECTING CORPORATION JAPAN BD992D008H40 ae MITSUBISHI ELECTRIC BD992D008H40 Manufacturing Function version Manufacturing Function version year and month year and month 2 Limitations for use of dedicated command RLPA RRPA for CC Link The dedicated command RLPA RRPA for CC Link may not be used depending on the PLC CPU and the master module For details of limitations refer to the A series master module user s manual Detail and the ANSHCPU AnACPU AnUCPU programming manual Dedicated command Dedicated commands other than RLPA and RRPA cannot be used on the high speed counter module Refer to Section 10 5 for a program example using dedic
23. bit binary ce output Set value lt count value set value count value set value gt count value Preset EIA Standard RS 422 A differential type line driver level equivalent to AmM26LS31 Japan Texas Instruments make Response time OFF gt ON 0 5ms or less ON OFF 3ms or less External 2A 1common output 0 1ms or less 10MQ or more across all DC external terminals and grounding terminal using Insulation resistance a 500VDC insulation resistance tester ted Measure using a noise simulator of noise voltage 500Vp p noise width 1us Noise immunity and noise frequency 25 to 60Hz Terminal block 27 pin terminal block M3 5x7 screws Applicable cable size 0 75 to 2 00mm Applicable crimping terminal RAV1 25 3 RAV2 3 5 conforming to JIS C2805 Screws of M4x0 7mm 0 03inch x16mm 0 63inch or larger Module mounting screws tightening torque range 78 to 118N cm DIN rail may also be used for mounting Applicable DIN rails TH35 7 5Fe TH35 7 5Al conforming to JIS C2812 Power supply voltage 18 to 28 8VDC Permissible instantaneous power fail Ims ure time 931b Current consumption 24VDC 120mA Weight 0 42kg 0 93lb Counting speed is influenced by pulse rise time and fall time Countable speeds are as follows Note that counting of a pulse having long rise and fall times may result in miscounting Counting Speed HIGH Setting Switch i phase 2 phase 1 phase 2 phase Rise fall time input input inp
24. cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion High Speed Counter Module Type AJ65BT D62 AJ65BT D62D AJ65BT D62D S1 User s Manual MODEL AJ65BT D62 U E MODEL 13JL45 IB NA 66823 F 0609 MEE a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
25. encoders may be connected to the high speed counter module 1 Encoders connectable to the AJ65BT D62 a Open collector type encoder b CMOS output type encoder Make sure that the output voltage of the encoder complies with the specifications of the module 2 Encoder connectable to the AJ6E5BT D62D and AJ65BT D62D S1 a Line driver output type encoder Make sure that the output voltage of the encoder complies with the specifications of the module The following type of encoder cannot be used TTL output type encoder 3 8 Data Link Processing Times In the high speed counter module the following data link processing times are required to execute the corresponding function For the link scan time refer to the master module user s manual Detail The following example shows processing times 1 to 4 in coincidence output operation The master module is QJ61BT11 in asynchronous mode Count enable command ON RY n 1 4 RY n 1 B OFF Coincidence signal enable command ON SS RY n 1 2 RY n 1 9 OFF PALE Input pulse for counter Coincidence output point No 1 setting area Addresses RWwm 3 to 4 RWwm B to C Counter value less point No 1 RXn2 RXn6 Counter value coincidence point No 1 RXn1 RXn5 Coincidence signal reset command RY n 1 0 RY n 1 7 Counter value greater point No 1 RXn0 RXn4 Present value storage area Addresses RWrn 0 to 1 RWrn 8 to 9 Master statio
26. fault and contact your sales representative Monitor and confirm the pulse waveform using a synchroscope If the waveform does not match the specifications enter pulses of a correct waveform The following table lists check items for use when count operation is not performed Check Item Corrective Action Is the external wiring of phases A and B correct When a voltage is applied directly to the pulse input terminals of phases A and B are the LEDs of phases Aand B lit Is the count enable command RY n 1 4 RY n 1 B on Does the master module indicate an error Is the counter function selection start command RY n 1 6 RY n 1 D on or a voltage applied to the F START terminal Check the external wiring and make correction If they are lit check the external wiring and pulse generator and make correction If they are not lit hardware is faulty Check the cause of the fault and contact your sales representative Switch on the count enable command RY n 1 4 RY n 1 B using the sequence program If the master module is in error refer to the troubleshooting procedure of the manual of the master module used and make operation normal When the count disable function has been set by the counter function selection switch off RY n 1 6 RY n 1 D or F START terminal 11 1 11 TROUBLESHOOTING MELSEC A 11 3 How to Check an Error with the LED Lamps This section describes how to check a
27. following four counter functions Execute the selected function by switching on the counter function selection start command or by applying a voltage to the external F START terminal 1 Count disable function 0 Refer to Section 9 2 Inputs the signal while the count enable command is ON to stop pulse counting g Present value storage area Signal SFF Addresses RWrn 0 to 1 RWm 8 to 9 2 Latch counter function 0 cee Refer to Section 9 3 Latches the present value of the counter at the input of the signal Latch count value storage area ON Addresses RWrn 2 to 3 RWrn A to B Signal OFF f f l l 100 100 Pulse input Current value storage area Addresses RWrn 0 to 1 RWrn 8 to 9 3 Sampling counter function Refer to Section 9 4 Counts pulses entered during a preset time T which begins with the input of the signal N Sampling count value storage area O Siglnal ore Addresses RWrn 2 to 3 RWrn A to B Current value storage area Addresses RWrn 0 to 1 RWrn 8 to 9 4 Periodic pulse counter function Refer to Section 9 5 Stores the present and previous counter values at preset intervals T while the signal is entered Periodic pulse count previous present value storage areas Addresses RWrn 2 to 3 RWrn A to B Addresses RWrn 4 to 5 RWrn C to D ON Signal 100 OFF 40 i Previous value gt i i 0 o0 80 D g
28. is made by the external input by applying a voltage to the F START terminal or by the sequence program by turning on the counter function selection start command 1 For external input there is the following count delay range Maximum count delay 1 ms xpulse input speed PPS xmultiplication number count Minimum count delay 0 1 ms xpulse input speed PPS xmultiplication number count 2 When a counter function selection is made by the sequence program the number of pulses counted during one sequence scan plus three link scans is added to the counting delay in above 1 3 The internal clock error is calculated as follows ae xpulse input speed PPS xmultiplication number count POINT It is recommended to use the external input to make a counter function selection Sa aa ae a aceon anes V E LS EC A 9 2 Count Disable Function This function stops the counting operation while the count enable command is on The following chart shows the relationships between the count enable command the counter function selection start command and the counter s present value Count enable command RY n 1 4 RY n 1 B Counter function selection start command RY n 1 6 RY n 1 D Count function detection RX n 1 1 RX n 1 3 Count value stored into the present Present value storage area value storing remote registers Addresses RWrn0 to 1 RWrn8 to 9 Count operation stop gt
29. is set 10 38 10 PROGRAMMING MOV HO D116 MOV H8 D117 MOV HO D118 MOV 256 D119 LEDB RRPA SUB HO LEDC D100 LEDR High speed counter module status check x0 XOF X1 181 s MOV W80 K1M4 M4 MC NO M100 M4 R so NO q 00 x Pulse input mode function selection register external output hold clear settings X478 199 MOV H303 D202 SE Y478 SE M10 208 RS 478 x Pulse count start Start of counting 210 gt NY FEE Y414 Current value reading Current value reading X47B KS E tov D456 D500 x Frequency pulse counter command Frequency time set 221 f ov 500 D205 Count value reading 229 DMOV D458 D502 DMOV D460 D504 Execution of frequency pulse counter 244 Y416 Pulse count stop Stop of counting 246 n eT Y414 MELSEC A SW head number is set W is set Wo is set 256 points is set Dedicated command RRPA Head I O number of master module Parameter storage head device Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 frequency time is set RWw5 5000 ms CH 1 frequency pulse count previous value RWr2
30. is set D200 is set 263 points is set SB head number is set B is set BO is set 512 points is set 10 PROGRAMMING MELSEC A MOV HO D116 SW head number is set MOV H8 D117 W is set MOY HO D118 WO is set MOV K256 D119 256 points is set Dedicated command LEDB RRPA RRPA SUB HO Head I O number of master module LEDC D100 Parameter storage head device LEDR x High speed counter module status check lt 1M4 Data link status is read High speed counter M100 module data link is normal High speed counter a S module data link is abnormal CH 1 pulse input mode function selection MOY D202 register hold clear settings RWw2 Initial data processing Y478 completion flag RY78 is ON M10 Initial data processing Y478 completion flag RY78 is OFF x Pulse count start Start of counting sE vit CH 1 count enable RY14 is ON Current value reading Current value reading X47B ol RS RIT foro 458 D500 CH 1 current value RWr0 RWr1 is read Sampling time set sed Sampling time set e i A CH1 sampling time is set RWw5 20000 ms x Sampling count value reading Counter value reading CH1 sampling count 229 i __fnrov D458 D502 value RWr2 RWr3 is read x Execution of sampling counter function Execution of sampling counter 237 bP SP M1 M11 CH 1 counter function 241 n E Y416 selection start command RY16 is ON CH 1 counter function 243 RST Y416 selection start
31. link is started with buffer memory Start request signal is OFF when start is normal Parameter status is read when start is abnormal Start request signal is OFF when start is abnormal RX00 to RX7F is read to X400 to X47F Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Write to master station Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 52 10 PROGRAMMING Sam Sampling time set T pirg Sampling count value reading Execution of sampling counter function Execution of sampling counter pling time set Count value reading 5 x Pulse count stop x Rem Stop of counting DMOV TOP HO H1E5 FROM HO H2E2 K2000 D205 D302 A a RST ote output signal write HO H160 K4 400 D205 K2 K2 M1 Y416 Y416 Y414 10 53 MELSEC A CH 1 sampling time set RWw5 20000 ms Write to master station CH 1 sampling count value RWr2 RWr3 is read CH 1 counter function selection start command RY16 is ON CH 1 counte
32. point No 2 coincidence Section 6 1 RY n 2 1 RY n 2 3 i reset command signal Section 8 1 matoryine7y o Unusable Turned on after completion of initial data Initial data RY n 7 8 processing performed after power on or processing completion flag hardware reset RY ERV ni7jotoRVine7F d Unusable n Address assigned to the master station by station number setting For the output signal whose operation timing is use the corresponding input signal as an interlock for turning off that output signal Example Preset command operation User Preset command SET RY n 1 1 H Sets the preset command RX n 1 0 Preset completion Ae RST RY n 1 1 H Resets the preset command Use corresponding I O signals The unusable devices are used in the system and should not be used by the user If any of them is used by the user normal operation cannot be guaranteed 3 13 3 6 Remote Register Allocation The following table gives the assignment of the remote registers in the high speed counter module The initial values of the remote registers are set when power is switched on or the PC CPU is reset T initial ranmission a Description ee Read Write Refer To Direction Value Section 7 2 Preset value setting area Section 7 3 irae RNA Pulse input mode function selection a Chapter 5 j wi wi Write area of external output hold or clear setting area 1 Chapter 9 master stati
33. reset the pulse input mode function selection reqgister external output hold clear settings are reset 10 31 10 PROGRAMMING 10 5 5 Program example of count disable function Network parameter settings with dedicated command RLPA x0 XOF 0 rs MO 5 MOV KO MOV KI MOY H1401 LEDA SUB LEDC LEDC M2 44 k _ Fe HO H668 D3 x Automatic refresh parameter settings with dedicated command RRPA x0 XOF M2 54 pe pig M3 60 MOV HO MOV H1 MOY H400 MOY 128 MOY HO MOY H2 MOY H400 MOV 128 MOV HO MOV H7 MOV 200 MOV 263 MOV HO MOV H4 MOV 0 MOY 512 10 32 MO DO D1 D2 RLPA HO DO MI LEDR K1 M3 i i i i i i i B 00 01 02 03 04 05 06 07 08 09 MELSEC A Synchronous mode is invalid No of modules connected 1 Station information of high speed counter module remote device station 4 stations occupied station number 1 Dedicated command RLPA Head I O number of master module Parameter storage head device Device that turns on 1 scan at completion Parameter status reading at abnormal completion RX head number is set X is set X400 is set 128 points is set RY head number is set Y is set Y400 is set 128 points is set RW head number is set D is set D200 is set 263 points is set SB head number is set B is set BO is set 512 po
34. selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWw0 RWw1 100 CH 1 external preset detection reset command RY20 is ON CH 1 external preset detection reset command RY20 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 17 10 PROGRAMMING 10 4 4 Program example of ring counter function High speed counter module status check x0 XOF x1 0 m MOV W80 K1MO MO MC NO M100 MO a OC NO r 00 Pulse input mode function selection register external output hold clear settings X478 Pulse count start Start of counting A fp 5 Current value reading Current value reading X47B X47B Af ee a E Ei Preset value set Preset value set 32 s nov K100 Change of counter current value to preset value Change of current value Ring counter value set Ring counter value set 46 4 J _foonov 2000 Reset command of coincidence signal x401 52 _ i set x401 55 RST x Pulse count stop Stop of counting 5 f sr M10 478 Y414 D500 D200 Y411 Y411 D203 Y410 Y410 MELSEC A Data link status is read
35. sink load type is 12V AJ65BT D62 AJ65BT D62D AJ65BT D62D S1 External 5102 1 3w_ input voltage Controller Internal circuit is set to PRESET AJ65BT D62D S1 has F START only 2 Controller source load type is 5V AJ65BT D62 AJ65BT D62D AJ65BT D62D S1 External 510Q 1 3W_ input voltage Controller Internal circuit is set to PRESET AJ65BT D62D S1 has F START only REMARK error Set the external input voltage setting pins in the H position N CAUTION e Set the pulse external input voltage setting pins correctly after confirming the rated voltage of the external power supply Miss wiring wrong setting can cause a fire or failure The pulse external input voltage setting pins must be set after switching power off externally in all phases Otherwise the module can fail or misoperate Set the jumper to the pulse external input voltage setting pins in the correct inserting orientation Otherwise a failure can occur ees eS Jumper 00 0 o Jumper gt g o o lt Correct gt lt Incorrect gt ee AND ERE OPERAT ON SEINO PROCEDUR E MELSEC A 4 6 6 Wiring examples of external output EQU1 EQU2 terminals When using the EQU terminals a 10 2VDC to 30VDC external power supply is required to activate the internal photocoupler Connection methods are as follows 1 AJ65BT D62 AJ65BT D62D AJ65BT D62 AJ65BT D62D
36. speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 latch count value RWr2 RWr3 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 11 10 PROGRAMMING 10 3 7 Program example of sampling counter function High speed counter module status check xO XOF xI Q a MOY Swed KIM Ma MC NO M100 MO s NE NO T 00 Pulse input mode function selection register external output hold clear settings x478 MOV 21 Pulse count start Start of counting 23 D s ES Current value reading reading US X47B fey po 300 Sampling time set Sampling time set DMOY K2000 Sampling count value reading Count value reading 37 _ SYS itv 8 02 x Execution of sampling counter function Execution of sampling counter 42 Ene ULES D202 Y478 M10 Ydre Y4l4 D500 D205 D502 MI Y416 Yd16 MELSEC A Data link status is read High speed counter module data link is normal
37. value set 142 DMOV K100 TOP HO H1E0 D200 Change of counter current value to preset value Change of current value 59 __ AAN ANN ris M11 e pooo ET x410 5 _A__ A esr x Ring counter value set Ring counter value set 67 DMOY K2000 TOP HO H1E3 D203 x Reset command of coincidence signal X401 86 RST x Pulse count stop Stop of counting 83 S st x Remote output signal write o aaa _ A AAA 0 HO H160 K4Y400 D100 K2 M11 Y411 Y411 D203 K2 Y410 Y410 Y414 10 47 MELSEC A CH 1 preset value is set RWwo0 RWw1 100 Write to master station CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 coincidence output point No 1 set RWw3 RWw4 2000 Write to master station CH 1 point No 1 coincidence signal reset command RY10 is ON CH 1 point No 1 coincidence signal reset command RY10 is OFF CH 1 count enable RY14 is OFF RY00 to RY7F is written to Y400 to Y47F 10 PROGRAMMING 10 6 5 Program example of count disable function Network parameter settings x0 XOF 0 Re LAE MO MO 5 MOV KI DO MOV K3 D1 MOV K1 D2 TO HO H1 DO 3 MOV K1 D3 TO HO H D3 1 MO 44 MOY H1401 D4 TO HO H20 D4 1 x Data link start MO 59 SET YO SET 6 x6 62 __ A est Y6 X7 64 FROM HO H668 D100 KI RST Y6 x Remote input signal reading XOF 75 ith o w HO HOEO K4x400 K8 x Status check of high speed counter module x0
38. 7B a _ ron 0 H2E0 D300 Execution of count disable Execution of count disable Stop of count disable 44 Stop of count disable RST Pulse count stop 46 Stop of counting b st Remote output signal write i HO H160 K4Y400 10 49 K2 Y416 Y416 Y4l4 MELSEC A CH 1 current value RWr0 RWr1 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 count enable RY14 is OFF RYO0 to RY7F is written to Y400 to Y47F 10 PROGRAMMING 10 6 6 Program example of latch counter function Network parameter settings xO XOF 0 LAE MO 5 MOY KI MOV K3 MOY KI TO HO H1 DO MOV K1 TO HO H6 D3 MO 44 MOV H1401 TO HO H20 D4 x Data link start MO 59 SET SET x Remote input signal reading i XOF 75 1 o HO HOEO x Status check of high speed av module x0 Y FROM H680 i NO o x Pulse ilput mode function selection register external output hold clear settings x Pulse count start Start of counting 129 D100 RST K4x400 KIMI NO MO DO D1 D2 K3 D3 K1 D4 K1 YO Y6 Y6 K1 Y6 K8 KI M100 D202 KI Y478 M10 Y478 Y414 MELSEC A No of units connected 1 Retry count 3 times No of auto paralleling modules 1 Write to master station Data link status when master station PLC CPU is abnormal Continued Read to ma
39. A E oa Se eae 5 3 5 3 Reading the Present Valute uniaan a T aT A 5 4 6 EXECUTING THE COINCIDENCE OUTPUT FUNCTION 0 0 0c eee ete reer eneeeetee 6 1 to 6 3 6 1 Coincidence Output FUNCTION cccececeeeeeeeee cece eeeeeeeecaeeeeeeeeesecanaeceeeeeeesecsnaaeceeeeeeesecsinaeeeeees 6 1 6 1 1 Coincidence output function Operation 2 0 2 2 ececcecccceceeeeeeeeeeeceeeeeeesececaeeeeeeeeesetsenaeaeeeeeess 6 2 7 EXECUTING THE PRESET FUNCTION arinena A a a 7 1 to 7 3 PAD KPEESSEUNICUON oea E EE EE EEE E 7 1 7 2 Preset Using the Sequence Program eesssseessrreseeriesrrnesrrnnearinnestennadninasdttnnaannnneetanactinaetenaaat 7 2 7 3 Preset by External Control Signal serere ieiki e EAEE EREE EE AAE TAEAE E ERR AA EEA EENE aE 7 3 8 EXECUTING THE RING COUNTER FUNCTION ssssesessssisseerrssrrrrssrrrssrtrnsssrrrnssrrrnssrens 8 1 to 8 4 3 1 Ring Counter FUNCION sarekoa no iaaa eea A AA T AE E A Ae A T FEE E E 8 1 8 1 1 Ring counter function Operation eee rae ieira kaerra ne SKARA KU EENAA ENK KEEA NAKANA RELEE LA ine ak 8 3 EE O CTE e EEE AEREE PTE ET ET EE E ETEO EET 8 4 9 SELECTING AND EXECUTING THE COUNTER FUNCTION eesseeessesrresrrrrssrerssrnn 9 1 to 9 11 9 1 Selecting the Counter Function 000 0 eee eeeteee ee etne ee ee tne ee eet e ee ee tae ee ee taeeeeetaeeeeeeieeeeetaeeee 9 1 9 1 1 Reading the counter function selection count value sssessssseeesesrrsseerrssrerrssrrrrsseernses 9 3 Se Counid ero i a
40. BLESHOOTING MELSEC A 11 TROUBLESHOOTING 11 1 Count Value Is Incorrect The following table lists check items for use when the count value is incorrect Check Item Is the pulse input mode consistent with the pulse input setting in the remote register Is the sequence program data processed in 24 bit binary Is a twisted shielded cable used for pulse input wiring Does noise enter through the ground of the high speed counter module Have adequate measures been taken against noise in the panel or noise resulting from the other equipment Is sufficient distance provided between heavy current equipment and counter input line Is the count value the same at CH1 and CH2 after the same count value was entered Does the input pulse waveform match the performance specifications 11 2 Count Operation Is Not Performed Corrective Action Make the pulse input mode consistent with the pulse input setting in the remote register Correct the sequence program so that the data is processed in 24 bit binary Use a twisted cable for wiring Disconnect the high speed counter module from the ground If the high speed counter module is in contact with the ground separate it from the ground Provide CR surge suppression to magnetic switches etc Wire the pulse input line independently and separate in panel wiring 150mm 5 91 inch or more from power line If the count values are different hardware is faulty Check the cause of the
41. DA SUB LEDC LEDC M2 44 s L HO H668 D3 x Automatic refresh parameter settings with dedicated command RRPA X0 XOF M2 54 r A S LAE M3 60 MOV HO MOV H1 MOY H400 MOY 128 MOY HO MOV H2 MOV H400 MOY 128 MOY HO MOV H7 MOY K200 MOY K263 MOY HO MOY H4 MOV KO MOV K512 10 28 MO DO D1 D2 HO DO RLPA LEDR KI M3 a i i i 00 01 02 03 04 05 06 07 08 09 MELSEC A Synchronous mode is invalid No of modules connected 1 Station information of high speed counter module remote device station 4 stations occupied station number 1 Dedicated command RLPA Head I O number of master module Parameter storage head device Device that turns on 1 scan at completion Parameter status reading at abnormal completion RX head number is set X is set X400 is set 128 points is set RY head number is set Y is set Y400 is set 128 points is set RW head number is set D is set D200 is set 263 points is set SB head number is set B is set BO is set 512 points is set 10 PROGRAMMING MOV High speed counter module status check NO__ M100 x Pulse input mode function selection register external output hold clear settings Pulse count start Start of counting nfi fe Current value reading Current value reading X47B RX Hai i a o gt _ ov x P
42. EFH RWrF RWrF Not allowed for use In the program example Refer to Section 10 5 using RRPA command automatic refresh parameter setting in ACPU QCPU A mode RWr0 to RWr6 are assigned to D456 to D462 A device used in program examples in this chapter may not be used depending on your CPU module Refer to your CPU module user s manual for the range of device setting For example devices of X100 and Y100 or later cannot be used for A1SCPU Use devices of B or M 10 2 3 Set description Set description of program examples for each function is shown below a Program example of coincidence output function Set description CH 1 pulse input mode function selection 2 phase 2 multiplex register external output hold clear settings RWw2 CH 1 coincidence output point No 1 set area RWw3 RWw4 b Program example for preset execution with sequence program Set description CH 1 pulse input mode function selection 2 phase 2 multiplex register external output hold clear settings RWw2 CH 1 preset value set area RWw0 RWw1 h00 c Program example for preset execution with external control signal Set description CH 1 pulse input mode function selection 2 phase 2 multiplex register external output hold clear settings RWw2 CH 1 preset value set area RWw0 RWw1 t00 d Program example of ring counter function Set description CH 1 pulse input mode function selecti
43. ES MO 5 MOY 1 MOY 3 MOV 1 TO HO H1 DO MOV 1 TO HO H6 D3 MO 44 MOV H1401 TO HO H20 D4 x Data link start MO 59 SET SET X6 62 R UL X7 64 FROM HO H668 D100 RST x Remote input signal reading Ea w a 75 peppy HO HOEO K4x400 x Status an of high speed counter module xo i x1 FROM H680 KIMI No W w NO _ x Pdea input mode function selection register external output hold clear settings x Pulse count start Start of counting 129 n EE Current value reading trent value rea ro X47B 131 H frroM HO H2E0 D300 MO DO D1 D2 D3 D4 KI YO Y6 Y6 KI M100 D202 K Y478 M10 Y478 Y414 K2 MELSEC A No of modules connected 1 Retry count 3 times No of auto paralleling modules 1 Write to master station Data link status when master station PLC CPU is abnormal Continued Read to master station Station information of high speed counter module remote device station 4 station occupied station number 1 Write to master station Refresh command Data link is started with buffer memory Start request signal is OFF when start is normal Parameter status is read when start is abnormal Start request signal is OFF when start is abnormal RX00 to RX7F is read to X400 to X47F Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function
44. High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 sampling time set RWw5 20000 ms CH 1 sampling count value RWr2 RWr3 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 12 10 3 8 Program example of frequency pulse counter function x High speed counter module status check xO XOF x1 MOV SW80 KIMO Data link status is read MO High speed counter MC No M100 module data link is normal Mo High speed counter Cran module data link is abnormal NO q 00 Pulse input mode function selection register external output hold clear settings CH 1 pulse input X478 mode function selection 14 MOY H303 D202 register hold clear settings RWw2 Initial data processing ae ae completion flag RY78 is ON SE M10 Initial data processing 2 RS YTS completion flag RY78 is OFF Pulse count start 23 Start of counting se y414 CH 1 count enable RY14 is ON Current value reading Current value rea
45. High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWw0 RWw1 100 CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 point No 1 coincidence signal reset is set RWw0 RWw4 2000 CH 1 point No 1 coincidence signal reset command RY10 is ON CH 1 point No 1 coincidence signal reset command RY10 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 18 10 PROGRAMMING 10 4 5 Program example of count disable function x High speed counter module status check xo XOF x1 0 _ MOV W80 K1MO MO MC NO M100 MO GT NO__ M100 Pulse input mode function selection register external output hold clear settings D202 Y478 M10 Y478 x Pulse count start Start of counting gt ce Y414 Current value reading Current value reading X47B of M _ icy 00 D500 x Execution of count disable Execution of count disable SET Y416 Stop of count disable Stop of count disable AM J_ E R Y416 x Pulse count sto
46. MITSUBISHI Type AJ65BT D62 AJ65B T D62D AJ65BT D62D S1 User s Manual Mel Slell Mitsubishi Programmable Logic Controller e SAFETY PRECAUTIONS Always read this instruction before using the equipment Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The instructions given in this manual are concerned with this product For the safety instructions of the PLC system please read the user s manual for the CPU module to use In this manual the safety instructions are ranked as WARNING and CAUTION ne aa ee ne Eagan ge eg ge py a me Me PY a cea Ag CY eed Sieh EGER OER es ee hs gt Improper handling could cause hazardous conditions resulting in l Q DANGER wee 9 g l severe injury or death l l l Indicates that incorrect handling may cause hazardous conditions l N CAUTION ama l resulting in medium or slight personal injury or physical damage Items marked with an exclamation point in a triangle could also cause severe consequences depending on the circumstances if not handled properly They indicate information that should be taken seriously and observed conscientiously Manuals supplied with the products should be stored carefully where they can be accessed whenever necessary and should always be passed on to the
47. N EE 10TA EEEE EEE A EE A EEA E tb atattee 4 2 4 251 Handling MStruGtOns errer r E E A AATE AEN EE 4 2 4 2 2 Installation environment nesniiiiieneii anaa ia aaa aiai aia 4 3 43 Part Names and Settings snoninger aI AA E AAEE idei T iiaii PRA ARAE EEE 4 4 4 4 Station Number Setting ie ea EE AEE EEEE EE 4 8 4 5 Orientation of Module Installation cc ececeeeeeeeeeeeeeeeeeeeeeeeeeeseneeeeeseeeeeeeseeeeeeeseneaeeeseeaeeneenaees 4 8 4 67 WINING vec ecieteectivls os Series ee tntde tapos Caden Lea reanda aoe retin tinh ota ed hea riay 4 9 4 6 1 Dedicated cable for CC link handling inStrUCtionS ecccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeees 4 9 4 6 2 Connection of cables with the MOUIES eccceeeeeeeeeeeeeeeeeeseeeeeeeteeeaeeeseeeaeeeteeaeeeeeeaeees 4 10 4 6 3 Instructions for wiring pulse generator ec eeeeeeeeeeeeeeeeeneeeeeeeeaeeeeeeaeeeeeeaeeeeeenaeeeeeeaas 4 11 4 6 4 Wiring examples of pulse generators eee eeeeeeeeeeeeeeeeeaeeeeeeaeeeeeeaeeeeeeaeeestenaeeeeseaes 4 12 4 6 5 Wiring examples of controller and external input PRESET F START terminals 4 15 4 6 6 Wiring examples of external output EQU1 EQU2 terminals 00 ee 4 16 5 PULSE INPUT AND COUNTING METHOD vrari ie cette ee ee enne ee REAA A EE EEA a 5 1 to 5 4 5 1 1 phase pulse input cic eed cee iain tench eee iad aa aden EERE a naea h a adie eed nee ee 5 2 5 2 2 phase pulSe input AE AE E tee tees WO sda ended Doe A
48. RWr3 is read CH 1 frequency pulse count current value RWr4 RWr5 is read CH 1 counter function selection start command RY 16 is ON CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 39 10 PROGRAMMING MELSEC A 10 6 Program Example when ACPU QCPU A Mode is Used From To Command Network parameters are set by the sequence program 10 6 1 Program example of coincidence output function Network parameter settings x0 XOF 0 te ES MO MO 5 WOY KI Do No of modules connected 1 MOY K3 DI Retry count 3 times No of auto paralleling MOV KI D2 modules 1 TO HO H1 DO K3 Write to master station Data link status when MOY K1 D3 master station PLC CPU is abnormal Continued TO HO H6 D3 KI Read to master station Station information of MO high speed counter 44 MOY H1401 D4 module remote device station 4 station occupied station number 1 TO HO H20 D4 KI Write to master station x Data link start MO 59 SET YO Refresh command SET Y6 Data link is started with buffer memory Start request signal is x6 82 _ ist Y6 OFF when start is normal X7 64 FROM HO H668 D100 KI Parameter status is read when start is abnormal Start request signal is RST Y6 OFF when start is abnormal x Remote input signal reading 4 e i l es eT ec Yea Ke RX00 to RX7F is read to X400 to X47F Status A of
49. T Y410 Coincidence output reset 53 Pe est Y412 x Pulse count stop Stop of counting Y414 MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 coincidence output point No 1 is set RWw3 RWw4 100 CH 1 coincidence output enable RY12 is ON CH 1 point No 1 coincidence signal command RY10 is ON CH 1 point No 1 coincidence signal reset command RY10 is OFF CH 1 coincidence output enable RY12 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 15 10 PROGRAMMING 10 4 2 Program example of preset with sequence program x High speed counter module status check x0 XOF x1 0 KX MOV W80 K1M0 MO MC NO M100 MO HK S i NO ih 00 Pulse input mode function selection register external output hold clear settings X478 D202 Y478 M10 Y478 Pulse count start Start of counting 23 HH a Y414 x Current value reading rrent value rurrent X47B af J fp _ toy 800 D500 x Preset command Preset value set 82
50. T11 A1SJ61BT11 User s Manual Describes the system configuration performance specifications functions handling IB 66721 wiring and troubleshooting of the AJ61BT11 and A1SJ61BT11 13J872 Option CC Link System Master Local Module type AJ61QBT11 A1SJ61QBT11 User s Manual Describes the system configuration performance specifications functions handling IB 66722 wiring and troubleshooting of the AJ61QBT11 and A1SJ61QBT11 134873 Option Conformation to the EMC Directive and Low Voltage Instruction When incorporating a Mitsubishi PLC that is compliant with the EMC and low voltage directives into any other product and ensuring compliance with these directives refer to Chapter 3 EMC and Low Voltage Directives of the User s Manual Hardware for the PLC CPU included with the CPU module or base unit A module compliant with the EMC and low voltage directives bears a CE mark logo printed on the rating plate To make this product compliant with the EMC and low voltage directives refer to CC Link module in Chapter 3 EMC and Low Voltage Directives of the User s Manual Hardware for the CPU module BY making this product conform to the EMC directive and low voltage instruction it is not necessary to make those steps individually General name and abbreviation Unless otherwise specified this manual describes the AJ65BT D62 AJ6E5BT D62D AJ65BT D62D S1 type high speed counter module using general name and abbreviation describ
51. When 420 is set to the sampling interval time setting area RWwm 5 RWwm D 420x10 4200 ms The sampling and interval time values are set to the same address of the remote register but the value set is that of the function selected 9 SELECTING AND EXECUTING THE COUNTER FUNCTION MELSEC A 9 1 1 Reading the counter function selection count value The counter function selection count value is the count value at a time when a counter function selection is made This section describes how to read the counter function selection count value 1 The counter function selection count values are stored in the following remote registers Latch Count Value Description Sampling Count Value Periodic Pulse Count Previous Value Remote CH1 RWrn 2 to 3 RWrn 4 to 5 register RWrn A to B RWrn C to D 2 The counter function selection count value 0 to 16777215 is stored in 24 bit binary Periodic Pulse Count Present Value 3 In up count the counter function selection count value returns to 0 when it exceeds 1677715 In down count the counter function selection count value returns to 1677715 when it exceeds 0 The latch count value sampling count value and periodic pulse count previous value are stored in the same address but the value stored is the count value selected 9 SELECTING AND EXECUTING THE COUNTER FUNCTION MELSEC A 9 1 2 Counting errors An error is produced in counting when a counter function selection
52. X20 to RX2F X430 to X43F E3H RX30 to RX3F RX30 to RX3F X440 to X44F E4H RX40 to RX4F RX40 to RX4F X450 to X45F E5H RX50 to RX5F RX50 to RX5F X460 to X46F E6H RX60 to RX6F RX60 to RX6F X470 to X47F E7H RX70 to RX7F RX70 to RX7F Device Y Remote output RY Remote output RY Y400 to Y40F 160H RYOO to RYOF RYOO to RYOF Y410 to Y41F 161H RY10 to RY1F RY10 to RY1F Y420 to Y42F 162H RY20 to RY2F RY20 to RY2F Y430 to Y43F 163H RY30 to RY3F RY30 to RY3F Y440 to Y44F 164H RY40 to RY4F RY40 to RY4F Y450 to Y45F 165H RY50 to RY5F RY50 to RY5F Y460 to Y46F 166H RY60 to RY6F RY60 to RY6F Y470 to Y47F 167H RY70 to RY7F RY70 to RY7F Device D Remote register RWw Remote register RWw D200 RWw0 D201 RW CH 1 preset value set area D202 RWw2 CH 1 pulse input function selection hold clear settings D203 RWw3 IN D204 RWw4 CH 1 coincidence output point No 1 set area D205 RWw5 CH 1 sampling synchronous time set area to to D214 RWwE Sen D215 RWwE CH 2 coincidence output point No 2 set area Device D Remote register RWr Remote register RWr D300 ZEON RWO RWO CH 1 current value storage area D301 2E1H RWr1 Rwrg current vau g D302 2E2H RWr2 RWr2 CH 1 latch count value sampling count value D303 2E3H RWr3 RWr3 Frequency pulse count previous value storage area D304 2E4H RWr4 RWr4 CH 1 frequency pulse count current value storage area D305 2E5H RWr5 RWr5 Sampling frequency counter flag storage area D306 2E6H RWr6 RWr6 to to to D315 2
53. Y478 M10 Y478 Y414 D500 D203 M11 Y412 M12 MELSEC A SB head number is set B is set BO is set 512 points is set SW head number is set W is set WO is set 256 points is set Dedicated command RRPA Head I O number of master module Parameter storage head device Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 coincidence output point No 1 is set RWw3 RWw4 100 CH 1 coincidence output enable RY12 is ON When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 24 10 PROGRAMMING Coincidence signal reset Coincidence signal reset SET RST RST 10 25 410 Y410 Y412 Y414 MELSEC A CH 1 point No 1 coincidence signal reset command RY10 is ON CH 1 point No 1 coincidence signal reset command RY10 is OFF CH 1 coincidence output enable RY12 is OFF CH 1 count enable RY14 is OFF 10 PROGRAMMING 10 5 2 Program example of preset with sequence program Network parameter settings w
54. Yo XI FROM H680 KIMI KI NO M100 fp vay el x Pulse Li mode function selection register external output hold clear settings X478 x Pulse count start Start of counting 29 HR ES When the PLC CPU is reset the pulse input mode function selection register external output hold cl 10 48 D202 K1 Y478 Y414 MELSEC A No of units connected 1 Retry count 3 times No of auto paralleling modules 1 Write to master station Data link status when master station PLC CPU is abnormal Continued Read to master station Station information of high speed counter module remote device station 4 station occupied station number 1 Write to master station Refresh command Data link is started with buffer memory Start request signal is OFF when start is normal Parameter status is read when start is abnormal Start request signal is OFF when start is abnormal RX00 to RX7F is read to X400 to X47F Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Write to master station Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON lear settings are reset 10 PROGRAMMING x x Current value reading 31 urrent value reading X4
55. ade to Appendix 1 Partial correction made to 4 2 1 2 Partial correction made to 11 3 4 Dec 2003 IB NA 66823 C Addition Conformation to the EMC Directive and Low Voltage Instruction Product configuration Partial Correction SAFETY PRECAUTIONS About the Manuals Section 2 1 2 2 3 1 3 2 3 4 3 8 4 2 1 4 3 4 4 1 4 4 2 9 1 9 5 11 3 Delete Section 1 2 3 3 3 4 fees 2005 IB NA aces D Partial Correction P0682200 Perel PRECAUTIONS Section 3 5 4 3 4 4 6 5 3 9 1 9 3 9 4 9 5 had 2006 IB NA 66823 E Partial Correction SAFETY PRECAUTIONS Conformation to the EMC Directive and Low Voltage Instruction Section 10 6 4 Sep 2006 IB NA 66823 F Partial Correction SAFETY PRECAUTIONS Addition Section 11 4 Section number Section number change Section 11 4 11 5 Japanese Manual Version SH 3637 F This manual confers no industrial property rights or any right 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 1997 Mitsubishi Electric Corporation Introduction Thank you for the Mitsubishi MELSEC A Series of General Purpose Programmable Controllers Please read this manual carefully so that equipment is used to its optimum A copy of this manual should be forwa
56. age 10 2 to 30V 27 Current consumption 8mA TYP 24VDC 1 The number within parentheses represents the terminal number of channel 2 3 SPECIFICATIONS MELSEC A 3 5 I O Signals Transferred to from the Master Module This section explains the input output signals RX RY of the high speed counter module transferred to from the master module 1 Input signals The following table lists the input signals of the high speed counter module transmitted to the master module Signal Name High speed counter module master module RXn0 RXn4 Counter value greater Turned on if the counter value is greater than the set point No 1 value No 1 Input Signals Description Refer To Section 6 1 Counter value coincidence point No 1 Latched on if the counter value is equal to the set value RXn1 RXn5 Counter value less point No 1 External preset command detection Counter value greater Counter value coincidence point No 2 J RX RxD Counter value less point No 2 No 1 turned off by the coincidence signal reset command Turned on when the counter value is less than the set value No 1 Latched on when the preset request is given from external input Turned off by the external preset detection reset command Turned on if the counter value is greater than the set value No 2 Latched on if the counter value is equal to the set value No 2 turned off by the coincidence signa
57. ail for the master module Section 3 6 for the remote register and the AnSHCPU AnACPU AnUCPU programming manual Dedicated command for details of dedicated command 10 1 Programming Procedures Create the high speed counter module program with the procedures below ra Start Pulse input mode model selection register external output hold clear settings Count start of pulse Turn ON CH O count enable Current value reading Various function settings j Count stop of pulse Turn OFF CH O count enable 10 2 Condition of Program Example Program examples in this chapter are created under the conditions below 1 System configuration PLC CPU Master station X0 to X1F YO to Y1F I O input 64 points I O output 64 points x High speed counter module station number 1 a End F 7y TEA ELE 10 1 10 PROGRAMMING MELSEC A 2 Relation of PLC CPU master module and high speed counter module PLC CPU _ Master module High speed counter module station number 1 Device X Address Remote input RX Remote input RX X400 to X40F EOH RX00 to RXOF RX00 to RXOF X410 to X41F E1H RX10 to RX1F RX10 to RX1F X420 to X42F E2H RX20 to RX2F R
58. al 0 RWwm 2 CH1 0 010 4 bits 8 bits Le AN y yv Counter function Pulse input mode register selection register Refer to Sections 5 1 5 2 Refer to Chapter 9 External output hold clear setting 0 Clear 1 Hold 3 When a hardware reset or WDT error occurs the external output coincidence output is forcibly switched off 4 If the fuse of the high speed counter module is blown it can be confirmed by monitoring the link special registers for other station fuse blown status in the master station SW0088 to SW008B Fuse blown status 0 normal 1 fuse blown If the fuse blown bit is set check the following once Corrective Action When using the external output EQU1 to EQU2 External power supply is not wired terminals wire an 10 2VDC to 30VDC external power supply as it is needed Refer to 4 4 6 The coincidence output function signal is not output Fuse for external power supply which operates the internal photocoupler when the EQU terminals are used Since the fuse cannot be changed by the user give details of the fault and consult our branch or sales representative Fuse is blown Appendix 1 APPENDIX MELSEC A Appendix 2 Outline Drawing The following is the outline drawing of the AJ65BT D6 2 This applies also to the AJ65BT D62D and AJ65BT D62D S1 wR Qo c 2S
59. always make sure that the point No 2 signal is off before executing the command es V E LS EC A 7 EXECUTING THE PRESET FUNCTION 7 1 Preset Function This chapter explains the preset function The preset function is used to rewrite the counter s present value into any value This new value is called the preset value The preset function can be used when a pulse count is started from the set value The preset function is available in two modes preset by the sequence program preset command RY n 1 1 RY n 1 8 and preset from the external control signal by applying a voltage to the external terminal Remote registers used Address Description amie CH1 preset value setting See CH2 preset value setting Example of using the preset function By using the preset function the production count can be continued from the previous day 1 Production amount of the previous day is preset from the PC CPU to the high speed counter module 2 Products are carried on a conveyor 3 Production amount is counted using the pulse input from the photoelectric switch 4 At the end of daily production the counter value in the present value storage area is stored to the word device D W etc in the PC CPU latch range A pepe9 Conveyor 3 A High speed counter module Master station PC CPU 1 Preset ke S Pulse l q lt SS 4 a
60. at a time when the signal is input The following chart shows the relationships between the counter s present value counter function selection start command and latch count value storage area Count enable command ON RY n 1 4 RY n 1 B et Current value storage area Addresses RWrn 0 to 1 RWrn 8 to 9 Counter function selection start command RY n 1 6 RY n 1 D Count function detection RX n 1 1 RX n 1 3 Latch count value storage area 100 Addresses RWrn 2 to 3 RWrn A to B On the leading edges 1 to 4 of the counter function selection start command RY n 1 6 RY n 1 D F START terminal the counter s present value is stored into the latch count value storage area addresses RWrn2 to 3 RWrnA to B The latch counter function is executed independently of whether the count enable command RY n 1 4 RY n 1 B is on or off Also the counter function detection signal RX n 1 1 RX n 1 3 switches on when the counter function selection start command RY n 1 6 RY n 1 D switches on and the count function detection signal RX n 1 1 RX n 1 3 switches off when the counter function selection start command RY n 1 6 RY n 1 D switches off 9 7 Sa aa Ne a aeons V E LS EC A 9 4 Sampling Counter Function This function counts pulses input during a preset sampling period The following chart shows the relationships between the signals of the sampling counter function remote regis
61. atch counter sampling counter or periodic pulse counter is executed the count value will be stored aside from the present value storage buffer memory in the remote registers indicated below Latch Count Value eer seen Periodic Pulse Count Description Sampling Count Value Periodic Present Value Pulse Count Previous Value addresses CH2 RWrn A to B RWrn C to D Remote register RWrn 2 to 3 RWrn 4 to 5 2 The present value 0 to 16777215 is stored in 24 bit binary in the present value storage area 3 In up counting the present value storage area returns to 0 when the count value exceeds 16777215 In down counting the present value storage area returns to 16777215 when the count value exceeds 0 ae anaes inane anes MELSEC A 6 EXECUTING THE COINCIDENCE OUTPUT FUNCTION This chapter describes the coincidence output function 6 1 Coincidence Output Function The coincidence output function issues a signal when a preset count value is compared with and matches the present counter value You can set two coincidence output points To use the coincidence output function set the coincidence signal enable command RY n 1 2 RYn 1 9 to ON Remote registers used CH1 coincidence output point No 1 setting CH1 coincidence output point No 2 setting CH2 coincidence output point No 1 setting CH2 coincidence output point No 2 setting In the AJ65BT D62D S1 its external output coincidence output do
62. ated command RLPA RRPA 3 SPECIFICATIONS MELSEC A 3 SPECIFICATIONS 3 1 General Specifications The following table lists the general specifications of the high speed counter module common to the AJ65BT D62 AJ65BT D62D and AJ65BT D62D S1 Specifications Operating ambient 0 to 55 C temperature Storage ambient 20 to 75 C temperature Operating ambient a 10 to 90 RH non condensing humidity Storage ambient ra 10 to 90 RH non condensing humidity Frequency Acceleration Amplitude Sweep Count In case of 0 075mm Conforms to 10 to 57Hz intermittent aay 003in 10 times in each P JIS B3502 i Vibration resistance i vibration 57 to 150Hz o X Y and Z an directi IEC 61131 2 In case of 10 to 57Hz 0 035mm Irec cn continuous A 001in for 80 minutes vibration 57 to 150Hz Shock resistance Conforms to JIS B3502 and IEC 61131 2 AAMs 3 times in n of three directions Operating No corrosive gas atmosphere Operating altitude ee 38feet or less Installation site Inside control fs nside controlpanel S O Overvoltage Il or less category 1 Contamination 2 or less level 2 1 Indicates the element in the distribution system between the public electricity grid and the mechanical equipment inside the premises that the relevant device is assumed to be connected to Category II applies to devices such as those that draw their power supply from fixed installations The surge voltage with
63. c pulse count previous value storage area addresses RWrn 2 to 3 RWrn A to B hereinafter called the previous value storage area 3B ice The counter s present value 20 is stored into the present value storage area The count value 200 stored until then is stored into the previous value storage area cD eee The counter s present value 100 is stored into the present value storage area The count value 20 stored until then is stored into the previous value storage area D Jiss The counter s present value 50 is stored into the present value remote register The count value 100 stored until then is stored into the previous value storage area 6 The periodic pulse counter function is executed independently of whether the count enable command RY n 1 4 RY n 1 B is on or off Tyan While the periodic pulse counter function is being executed the following value is stored into the sampling periodic counter flag storage area During Execution During Execution During Execution Operating Status at CH1 Only at CH2 Only at CH1 and CH2 Remote register K2 K3 address RWrn 6 10 PROGRAMMING Program examples such as programming procedure current value reading and various function settings of the high speed counter module are described When program examples introduced in this chapter are used in the actual system make sure that the control on the system concerned is acceptable Refer to the applicable master module user s manual Det
64. command RY16 is OFF Stop of counting CH 1 count enable a RST wails RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 37 10 PROGRAMMING MELSEC A 10 5 8 Program example of frequency pulse counter function Network parameter settings with dedicated command RLPA XO XOF 0 _ _ _ LS MO Mo Synchronous mode is 5 MOY KO bo Syne invalid No of modules Mov E Di connected 1 Station information of high speed counter module MOY H1401 D2 remote device station 4 stations occupied station number 1 Dedicated command LEDA RLPA RLPA Head I O number of SUB HO master module LEDC bo Parameter storage head device Device that turns on 1 LEDC Mi scan at completion LEDR Parameter status M2 44 be 71 __ erin HO H668 D3 Kl reading at abnormal completion x Automatic refresh parameter settings with dedicated command RRPA x0 XOF M2 54 p T M3 60 MOV HO D100 RX head number is set MOV H1 D101 X is set MOV H400 D102 X400 is set MOY 128 D103 128 points is set MOY HO D104 RY head number is set MOY H2 D105 Y is set MOV H400 D106 Y400 is set MOY 128 D107 128 points is set MOV HO D108 RW head number is set MOY H7 D109 D is set MOV 200 D110 D200 is set MOY 263 D111 263 points is set MOY HO D112 SB head number is set MOV H4 D113 B is set MOV 0 D114 BO is set MOV 512 D115 512 points
65. counted down to the preset value 0 Then when the present value is counted down to the ring counter value 2000 it returns to the preset value 0 16777215to 2002 2001 2000 0 16777215 PUL UU If preset valuesring counter valuespresent value The following operation is performed if the ring counter function is executed at the preset value of 0 ring counter value of 2000 and present value of 3000 1 In up count the present value returns to the minimum value 0 when it is counted up to the maximum value 16777215 Then when the present value is counted up to the ring counter value 2000 it returns to the det value 0 3000 3001 016777215 1999 2000 0 FULT UU UU In down count the present value returns to the preset value 0 as soon as it is counted down to the ring counter value 2000 3000 2999 to 2001 2000 0 16777215 16777214 16777213 16777212 Do not write the preset and ring counter values during execution of the ring counter function If they are written the ring counter operation may not be performed properly Note that the ring counter function is not activated when the following expression is satisfied Ring counter cycles10 link scantime 2 sequence scantime San a enone V E LS EC A 9 SELECTING AND EXECUTING THE COUNTER FUNCTION 9 1 Selecting the Counter Function Select and execute one of the
66. ctions If dedicated cable for CC link are handled roughly they will be damaged Therefore 1 Do not compress the cable with a sharp edge 2 Do not twist the cable roughly 3 Do not pull the cable roughly more than allowable tension 4 Do not stamp on the cable 5 Do not put anything on the cable 6 Do not scratch the cable sheath ee ee OPERAT ON SEINO PROCEDUR ee MELSEC A 4 6 2 Connection of cables with the modules The following diagram shows the wiring of the master module remote module and high speed counter module with dedicated cable for CC link Master module Terminal resistor XI A N High speed counter module Remote module QAO G TAN a resistor gt Dedicated cable for CC link Sketch Master module High speed counter module Remote module Terminal DA 7 T 7 T DA j T i T DA Terminal resistor i DB an ci DB pt i DB resistor DG 4 a4 DG gt i DG SLD H Dedicated cable i Y SLD E Dodia cable for SLD CC link CC link E A i The terminal resistors supplied with the master module must be connected to the modules at both ends of data link Connect them across DA DB 4 INSTALLATION AND PRE OPERATION SETTING PROCEDURE MELSEC A 4 6 3 Instructions for wiring pulse generator When connecting a pulse generator to the high speed counter module take the following precauti
67. ding HATE CH 1 current value 26 PO vows si RWr0 RWr1 is read Frequency pulse counter command Frequency time set 99 rowov 500 D205 CH 1 frequency time set RWw5 5000 ms Count value reading CH 1 frequency pulse 37 DMOY D302 D502 count previous value RWr2 RWr3 is read CH 1 frequency pulse DMOY D304 D504 count current value RWr4 RWr5 is read Execution of frequency pulse counter a CHA counter function selection start command RY16 is ON Pulse count stop Stop of counting CH 1 count enable a irr me RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 13 10 PROGRAMMING MELSEC A 10 4 Program Example when QnACPU is Used The network parameter and the automatic refresh parameter are set by the GX Developer 1 Parameter settings a Network parameter settings Start 1 0 No Type All connect count Remote input Ax lt Remote output RY Remote register Awt Remote register Aww Special relay SB Special register S w Retry count Automatic reconnection station count Wait master station No PLC down select Scan mode setting Delay information setting Station information setting poo Master station v s sak 4 Stop Asynchronously v Station information Station No Station type Exclusive station count Reserve invalid station select Intelli
68. e sequence program are not enabled If the following time is not satisfied for the execution of the external preset detection reset command the external preset detection reset command will not switch on off Executed Executed External preset detection reset command SY 1 RY n 2 O RY n 2 2 10 link scans 2 sequence scans 7 3 8 EXECUTING THE RING COUNTER FUNCTION MELSEC A 8 EXECUTING THE RING COUNTER FUNCTION This chapter describes the ring counter function 8 1 Ring Counter Function The ring counter function repeats counting between the preset value set by the ring counter command and the ring counter value The ring counter function can be used for control such as fixed pitch feed When using the ring counter preset the ring counter setting switch of the high speed counter module to ON Also set the preset value and ring counter value to the remote registers Remote registers used Address Description ce PUNCT ON V E LS EC A Example of using the ring counter function In a system where a sheet is cut to the specified size set the ring counter value to roller feed a sheet in fixed pitch and cut it to the given length 1 Set the preset and ring counter values to execute the ring counter function 2 The motor is run to rotate the rollers 3 The motor is stopped as soon as the given length of the sheet is fed by the rollers 4 The sheet is cut 5 The operations in steps 2 to 4 are r
69. ean i I 1100 80 i Current value storage area 6 40 6 i Addresses RWrn 0 to 1 i l 40 10 0 RWrn 8 to 9 Present value Sa a aaa MELSEC A 1 Select any of the counter functions by writing a value to the lower 4 bits in the upper bits of the remote register address RWwm 2 RWwm A When the value set is other than the following set value the initial value count disable function selection is set However when changing the counter function make sure that the counter function selection start command RY n 1 6 RY n 1 D and F START terminal are off Counter Function Selection Set Value Count disable function Latch counter function Sampling counter function Periodic pulse counter function Address 15 Set in hexadecimal 0 RWwm 2 CH1 TTT RWwm A CH2 0 00 4 bits 8 bits Q R J NG yY Counter function Pulse input mode register selection register Refer to Sections 5 1 5 2 External output holdE clear setting Refer to Appendix 1 2 Either of the counter function selection start command RY n 1 6 RY n 1 D and F START terminal external input may be used to make a counter function selection The earlier one of the above input signals overrides the latter 3 Set the time for the sampling counter function and periodic counter function between 1 and 65535 in 10ms increments The unit of time is 10 ms and the precision is less than 1 count Example
70. eated station number status Station number switch setting correct Power on y Correct station number switch setting Switch power on again or turn on reset switch Corresponding module faulty POWER LED lit RD LED lit v v To next page To next page 11 4 Lass Is supply voltage within specified range Set supply voltage to within specified range Corresponding module faulty N Communication cable wired correctly 1 Correct communication cable wiring Corresponding module faulty v To next page 11 TROUBLESHOOTING From preceding page From preceding page SD LED lit flicker Station number switch setting correct not repeated MELSEC A From preceding page SD LED lit flicker Baudrate setting correct Correct baudrate setting y Switch power on again or turn on reset switch Lg A A Corresponding module faulty Communication cable wiring correct 1 y Correct communication cable wiring ssi Corresponding module faulty Baudrate switch Station number switch setting correct not repeated Correct station number setting Switch power on again or turn on reset switch orresponding module faulty Station number switches Correct station number setting Switch
71. ed below General name abbreviation Description of general name and abbreviation General name of product model SWnD5C GPPW SWnD5C GPPW A SWnD5C GX Developer GPPW V and SWnD5C GPPW VA nin the model name is 4 or more General name of AOJ2CPU AOJ2HCPU A1CPU A2CPU A2CPU S1 A3CPU A1SCPU A1SCPUC24 R2 A1SHCPU A1SJCPU A1SJCPU S3 A1SJHCPU ACPU A1NCPU A2NCPU A2NCPU S1 A3NCPU A3MCPU A3HCPU A2SCPU A2HCPU A2ACPU A2ACPU S1 A3ACPU A2UCPU A2UCPU S1 A2ACPU A2ACPU S1 AZUHCPU S1 ASUCPU and A4UCPU QnACPU General name of Q2ACPU Q2ACPU S1 Q2ASCPU Q2ASCPU S1 Q2ASHCPU i Q2ASHCPU S1 Q3ACPU Q4ACPU and Q4RCPU QCPU A mode General name of QO2CPU A QO2HCPU A and QO6HCPU A QCPU Q mode General name of QO2CPU QO2HCPU QO6HCPU Q12HCPU and Q25HCPU Station that controls the data link system Master station aa 1 station is required for 1 system k Station with PLC CPU that communicates with the master station and other local Local station Station Station that handles bit information only Input output is performed with external Remote 1 O station devices AJ65BTB1 16D AJ65SBTB1 16D etc Station that handles bit information and word information Input output with external Remote device station devices analog data conversion General name of remote I O station and remote device station It is controlled by Remote station master station Station e g AJ65BT R2 that can perform transient transmi
72. eeeeeeeeeeeetteeeeeeees 10 54 11 TROUBLESHOOTING saeco eer ee tac aaa dace aneeshatti aes 11 1 to 11 5 11 4 CountValuelsiInCorrect five ieteees cis cacedeattee a tied et canta ad cepts ae e aa aa teets 11 1 11 2 Count Operation Is Not Performed cccceceeeeeeeecee cece eeeeeeceacaeeeeeeeseseccaeaeeeeeeeeeseesnnaeess 11 1 11 3 How to Check an Error with the LED Lamp6 cccceceeeeeeeeceeeeeeeeeeeeeceeeaeeeeeeeeeseeseaees 11 2 11 4 When SW0088 to SWO008B fuse blown status of master station is turned ON 11 3 11 5 If Communication Error Occurs between Master Station and This Module s es 11 4 APPENDIX iruei onre aaae aa sor a a Ac ane A tue Wha tie a Ee a aaa Appendix 1 to Appendix 2 Appendix 1 Directions for USE zernai eaaa a e a a ae eenaa a aa a daa aian anaE Appendix 1 Appendix 2 Outline Drawing c ccccceeeeeeeeneeceeeeeeeeeceeeaeceeeeeeesecaaaeeeeeeeeesensuaeeeeeeeeeteees Appendix 2 About the Manuals The following product manuals are available Please use this table as a reference to request the appropriate manual as necessary Related Manuals Manual Name Manual No Model Code High Speed Counter Module type AJ65BT D62 AJ65BT D62D AJ65BT D62D S1 User s Manual Hardware Describes the module specifications applicable systems handling wiring and other information for use of the module IB 66822 13JL44 Option CC Link System Master Local Module type AJ61B
73. eeees 10 13 10 4 Program Example when QnACPU is Used cecceeeeeteeeeeeeneee ee teneeeeetaeeeeetaeeeeeenaeeeentea 10 14 10 4 1 When preset is made by Sequence Program eeceeecceceeeeeeeeeeeaeeeeeeeeesetennaeeeeeeeess 10 15 10 4 2 Program example of preset with sequence Program ccccceeeeseeeeceeeeeeeeeeteeeeeeeeees 10 16 10 4 3 Program example of preset with external Control Signal cccceeeeeeeeeeeeeeeeeeneeees 10 17 10 4 4 Program example of ring Counter function eee eeeeeeeeeeeeeeeeteeeeeeeseeneeeeteeeaeeeeenaaees 10 18 10 4 5 Program example of count disable function 00 eect eeeeeeeeteeeeeeeteeeeeeeeeeeeeeeeenaeees 10 19 10 4 6 Program example of latch counter function 0 0 0 eect ceeeeeeeteeeeeeteeeeeeeeeeeaeeeeeenaeees 10 20 10 4 7 Program example of sampling counter function 00 ee eeeeeeeeeeeteeeeeeeeeeeteeeeeeeteenaeees 10 21 10 4 8 Program example of frequency pulse counter function ecceceeceeeeeeeeeetteeeeeeees 10 22 10 5 Program Example when ACPU QCPU A Mode is Used Dedicated Command 10 23 10 5 1 Program example of coincidence output fUNCTION ccceeeeeeeeeeeeceeeeeteeeenteeeeeeeees 10 23 10 5 2 Program example of preset with sequence PrOgraM cceeeeeeseeceeeeeeeeeeeetteeeeeetes 10 26 10 5 3 Program example of preset with external Control Signal c cceeeeeeeeeeeeeeeeeeneeees 10 28 10 5 4 Program example
74. ement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instructi
75. en the preset command switches off the preset completion signal also switches off ne V E LS EC A 7 3 Preset by External Control Signal A voltage is applied to the external input PRESET terminal to execute preset EMEEN Aee a indie te PUSL ALA LLL Preset value setting area a 3 Addresses RWwm 0 to 1 RWwm8 to 9 Preset command PRESET terminal External preset command detection flag RXn3 RXn7 fi 14 5 ive a External preset detection reset command ON j f i ne oa a cc es RY n 2 0 RY n 2 2 OFF DD i i e ta i ie eka T i i I I 1 i i i i Present value storage area E pa i Ee ee ee ties SN eee 0 1 2 to 65 66 67 100 101 to 1231241001101 Addresses RWrn 0 to 1 RWrn8 to 9 Tja Write any value in advance in 24 bit binary to the preset value setting area addresses RWwm 0 to 1 RWwm 8 to 9 2 rics When the preset command switches on voltage is applied to the PRESET terminal the value in the preset value setting area is preset to the present value storage area e ERE Preset can be executed independently of whether the count enable command RY n 1 4 RY n 1 B is on or off For externally input preset make an external preset detection reset after every preset is completed Resetting enables the next external input to be provided If the external preset request detection RXn3 RXn7 is ON the preset by the next external input and the next external input by th
76. end user along with the equipment Design Precautions e When a communication error occurs in data link the faulty station will result in the following status Using the communication status information configure up an interlock circuit in the sequence program to make the system safe Misoutput or misoperation may cause an accident 1 General purpose inputs from this module all switch off 2 General purpose outputs from this module all switch off e Some module failures may keep input output on or off Provide an external monitoring circuit for I O signals which may lead to serious accidents e Do not bundle control lines or communication cables with main circuit or power lines or lay them near these lines As a guideline separate the cables at least 100mm 3 94inch Not doing so could result in noise that would cause erroneous operation Installation Precautions e Use the module in an environment that conforms to the general specifications in the manual Otherwise an electric shock fire misoperation or product damage or deterioration can occur e Securely fix the module using the DIN rail or mounting screws and fully tighten the mounting screws within the specified torque range Undertightening can cause a drop or misoperation Overtightening can cause a drop or misoperation due to damaged screws or module Do not touch the conductive areas of the module directly Otherwise the module can misoperate or fail Wirin
77. epeated Cutter Roller Sheet pi gt Cutter Motor Encoder High speed counter module cae COUNTER PUNCT ON V E LS EC A 8 1 1 Ring counter function operation When using the ring counter function preset the ring counter setting switch of the high speed counter module to ON Also set the preset value and ring count value to the remote registers Count enable command A e e RY n 1 4 RY n 1 B OFF RIUN Preset value setting area wo A Addresses RWwm 0 to 1 RWwm8 to 9 a Coincidence output point setting area 2100 Addresses RWwm 3 to 4 RWwm B to C ee Input pulse for counter i i I I I I i f rot roto Counter value coincidence point No 1 ON Ee aE ye ee RXn1 RXn5 OFF bt eak sie Seis ele Gig tie age ot es a O Coincidence signal reset command OID ae E Gi ge TEAN oe Ue dea A RY n 1 0 RY n 1 7 TESES ES et Pe ae eee Preset command on 3 RY n 1 1 RY n 1 8 orr Li ig zSSR I I i I I I I i i i i if tin Oi sie in SERS Cir Pie ane Si i i i 1 i i 1 i I i Present value storage area 4 00 1 0 1 2 to 98 99 OF 1 2 3 Addresses RWrn 0 to 1 RWrn8 to 9 VW Write a preset value in advance in 24 bit binary to the preset value setting area addresses RWwm 0 to 1 RWwm8 to 9 Dyess Write a ring counter value in advance in 24 bit binary to the coincidence output point No 1 setting area addresses RWwm 3 to 4
78. er or the like during operation and stop of the AC motor encoder and check that the voltages are within the rated voltage of the encoder If the voltage drop is large increase the size of wiring or use an encoder of 24VDC with less current consumption gt Encoder Ground the twisted shield cable on the encoder side joint box This is a connection example for 24V sink load 24V Power supply for encoder OV To encoder To phase A Connect the encoder shield wire to the shield wire of the twisted To phase B cable inside the joint box If the shield wire of the encoder is not Uneven eg ee a ee grounded in the encoder ground it inside the joint box as indicated k by the dotted line 4 INSTALLATION AND PRE OPERATION SETTING PROCEDURE MELSEC A 4 6 4 Wiring examples of pulse generators 1 Pulse generator is open collector output type 24VDC AJ65BT D62 Pulse input 5109 1 3w Voltage ri setting pin Pulse generator 4 7KQ 1 3W Pulse input 5109 1 3w voltage setting pin 24VDC When wiring the AJ65BT D62 and encoder separate the power supply and signal lines as shown below AJ65BT D62 Incorrect Wiring Example AJ65BT D62 Since the same twisted wire is used for both the encoder signal and power supply the canceling effect will reduce and electro External magnetic induction may occur power supply
79. es not switch on off if the coincidence output No 2 is set However the counter value comparison coincidence greater less output signals X signals switch on off as ordinarily Example of using the coincidence output function In a machining line system machining operations are performed in response to the corresponding coincidence outputs to turn out products 1 Materials are carried on a belt conveyor 2 Material positions are identified as the present count values determined by the pulses sent to the high speed module 3 As soon as the materials reach the specified positions the relevant machining operations are performed in response to the coincidence outputs EQU1 EQU2 from the high speed counter module Part cutting Drilling High speed counter module Se at ae TN T O UNC TO N a MELSEC A 6 1 1 Coincidence output function operation Count enable command ON RY n 1 4 RY n 1 B OFF Coincidence signal enable command ON RY n 1 2 RY n 1 9 OFF Input pulse for counter Coincidence output point No 1 setting area Addresses RWwn 3 to 4 RWwn B to C Counter value less point No 1 ON RXn2 RXn6 OFF Counter value coincidence point No 1 ON RXn1 RXn5 OFF Coincidence signal reset command ON RY n 1 0 RY n 1 7 opp gt TT Counter value greater point No 1 ON RXn0 RXn4 OFF Present value storage area Addresses RWrn 0 to 1 RWrn8 to 9 Testes
80. g Precautions e Before starting mounting wiring or other work always switch power off externally in all phases Otherwise an electric shock product damage or misoperation may occur e When switching power on or starting operation after mounting wiring or other work always install the supplied terminal cover to the product Otherwise you may get an electric shock Be sure to shut off all phases of the external power supply used by the system before installation or wiring Not doing so can cause the product to be damaged or malfunction Always connect the FG terminal to the ground using class 3 or higher grounding exclusively designed for PC Otherwise an electric shock or misoperation may occur Use applicable solderless terminals and tighten them with the specified torque If any solderless spade terminal is used it may be disconnected when the terminal screw comes loose resulting in failure Before wiring the module confirm the rated voltage and terminal arrangement of the product A fire or failure can occur if the power supply connected is different from the rating or wiring is incorrect Tighten the terminal screws within the specified torque range Undertightening can cause a short circuit or misoperation Overtightening can cause a short circuit or misoperation due to damaged screws or module Ensure that foreign matters such as chips and wire off cuts do not enter the module They can cause a fire failure or misopera
81. gent buffer select word lt ceive Automatic 1 1 Remote device station _ Exclusive station 4 No setting A b Automatic refresh parameter settings Start 1 0 No Operational setting Type Master station data link type Mode All connect count Remote input AXx Remote output RY Remote register Awr Remote register R w w Ver 2 Remote inputf Ax Ver 2 Remote output AY Ver2 Remote register Awr Ver 2 Remote register A W w Special relay SB Special register SW Retry count Automatic reconnection station count Stand by master station No PLC down select Scan mode setting Delay information setting Station information setting Remote device station initial setting Interrupt setting 1 Po Eee A swo po Asynchronous a Interrupt settings 10 14 10 PROGRAMMING 10 4 1 When preset is made by sequence program High speed counter module status check xO XOF x1 0 l MOV W80 KIMO MO MC NO M100 MO J__ e NO__ M100 T Pulse input mode function selection register external output hold clear settings 0202 Y478 M10 Y478 Pulse count start Start of counting A A Y414 Current value reading reading 0 9 X47B A m a 0 00 0500 Coincidence output data settings Coincidence output data settings 32 DMOV K100 D203 PLS M11 Coincidence output command Coincidence output command 40 fT Y412 Coincidence signal reset Coincidence signal reset SET Y410 RS
82. high speed counter module X0 n E x1 FROM H680 KIMI KI Data link status is read High speed counter NO M100 module data link is normal High speed counter w module data link is abnormal M100 Pulse Ta mode function selection register external output hold clear settings CH 1 pulse input mode function selection paos register hold clear settings RWw2 KI Write to master station Initial data processing Y478 completion flag RY78 is ON M10 Initial data processing Y478 completion flag RY78 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 40 10 PROGRAMMING x x Pulse count start Start of counting 12ghe gp P_ ce Current yalue reading urrent value reading 41B J HFR O H2E0 D300 Coincidence output data settings Coincidence output data settings 142 DMOY K100 H1E3 D203 Coincidence output command Coincidence output command 162 s E 14h E SET Coincidence output reset 74 s Li Pulse count stop Stop of counting 76 e LAA Remote output signal write 78 ke S HO H160 K4 400 10 41 44 K2 D203 Y410 Y410 Y412 Y414 MELSEC A CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 coincidence output point No 1 is set RWw3 RWw4 100 Write to master station CH 1 coincidence output enable RY12 is ON CH 1 poi
83. i m a eum L Y414 MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 sampling time set RWw5 20000 ms CH 1 sampling count value RWr2 RWr3 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 21 10 PROGRAMMING 10 4 8 Program example of frequency pulse counter function x High speed counter module status check x0 XOF x1 0 MOV W80 KIMO MO MC No M100 MO P_ 90 No__ M100 Pulse input mode function selection register external output hold clear settings D202 Y478 M10 Y478 x Pulse count start Start of counting 23 a DEA Y414 x Current value reading Current value reading X47B KR i s LLO D300 D500 Frequency pulse counter command Frequency time set DMOY K500 D205 Count value reading DMOY D302 D502 DMOY D304 D504 Execution of frequency pulse counter 45 e a Pulse cou
84. i Yai D203 Y410 Y410 Y4l4 MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWw0 RWw1 100 CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 point No 1 coincidence signal reset command RY10 is ON CH 1 point No 1 coincidence signal reset command RY10 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 9 10 3 5 Program example of count disable function High speed counter module status check x0 XOF x1 a K _ MOY Sw80 K1MO Data link status is read MO High speed counter WC NO M100 module data link is normal WO 90 High speed counter module data link is 100 abnormal NOM T Pulse input mode function selection register external output hold clear settings CH 1 pulse input mode function selection D202 register hold clear settings RWw2 VATS Initial data processing completion flag RY78 is ON Initial data processing d78 completion flag
85. ilable Any of the following functions can be selected and used a Latch counter function 0 0ce Latches the present counter value in response to an input signal b Sampling counter function 5 Counts incoming pulses within the preset period of time starting from a signal input c Periodic pulse counter function Stores the present and previous counter values at preset intervals during a signal input d Count disable function 00 Stops pulse counting with an input signal entered while the count enable command is on 7 Preset or counter function can be selected with an external control signal By applying a voltage to the external PRESET Preset or F START Function start terminal the preset or counter function can be selected These functions are used to eliminate the influence of scantime 1 3 2 SYSTEM CONFIGURATION This chapter describes a system configuration using the high speed counter module 2 1 Overall Configuration The overall configuration using the high speed counter module is shown below Master local module for CC Link Master station Master local module for CC Link Local station AJ61BT11 A1SJ61BT11 AJ61QBT11 A1SJ61QBT11 QJ61BT11 AJ61BT11 A1SJ61BT11 AJ61QBT11 A1SJ61QBT11 QJ61BT11 AY YK 8X j Dedicated cable for CC link Intelligent device station Remote O station High speed counter module Remote device station 77
86. indicate data transmission Lit to indicate data receive On Communication data error CRC error Flashing at constant interval Station number settings and baud rate settings are changed during power supply Flashing at non constant interval Termination resistor is not provided or the unit or the dedicated cable for CC Link is subject to noise Off Normal communication LED indicators Lit to indicate that voltage is being applied to the phase A pulse input terminal Lit to indicate that voltage is being applied to the phase B pulse input terminal CH 1 CH 2 DEC Lit to indicate down count AO OFA Lit to indicate that voltage is applied to the PRESET terminal and remains lit BO OB Turns off on the trailing edge of the external preset detection reset command DEC O DEC ae as PREO PRE Lit to indicate that voltage is being applied to the F START terminal FST O FST Lit to indicate that the coincidence output setting No 1 is equal to the counter EQUI O O EQUI ESMI value See EY Lit to indicate that the coincidence output setting No 2 is equal to the counter value The AJ65BT D62D S1 does not have this LED Terminal block 13 15 17 19 21 23 25 27 2 4 6 8 10 12 14 16 18 20 22 24 26 Pin to signal correspondences are indicated below For the AJ65BT D62 PRESET COM F START 4 INSTALLATION AND PRE OPERATION
87. ing edge or trailing edge of a pulse 1 phase pulse input multiplied by two Counts on the leading edge and trailing edge of a pulse 2 phase pulse input multiplied by one Counts on the leading edge or trailing edge of a phase A pulse 2 phase pulse input multiplied by two Counts on the leading edge and trailing edge of a phase A pulse 2 phase pulse input multiplied by four Counts on the leading edge and trailing edge of phase A and phase B pulses The following diagram outlines how the high speed counter module operates 4 I O signal Master module Read write from to remote register Pulse generator 1 Encoder External To CH1 3 Coincidence output control signal 2 2 points Controller Preset counter function selection Pulse Pulse generator l Encoder External To CH2 3 Coincidence output control signal 2 2 points Controller High speed counter module Preset counter function selection Only the AJ65BT D62D S1 accepts one input and provides one coincidence output However it can use two points for the counter value magnitude comparison coincidence greater less signals 1 Pulses input to the high speed counter module are counted 2 The preset or counter function can be selected with an external control signal 3 The pulse is compared as a coincidence output with the p
88. input To A Encoder Phase B pulse input To B 2 Counting mode setting To use this counting mode set the following value to the lower 8 bits of the remote register RWwm 2 RWwm A using the sequence program When the value set is not the following set value the initial value 1 phase multiplication by one is set Counting Mode 2 phase multiplication by one 2 phase multiplication by two 2 phase multiplication by four Address 15 Set in hexadecimal 0 RW 2 CH1 Rwwmachol OLOO aus aa v Counter function Pulse input mode register selection register Refer to Chapter 9 External output hold clear setting 0 Clear 1 Hold Refer to Appendix 1 Sequence program example Counting in 1 phase multiplied by two mode Write command MOV H0003 DO TO H H DO K1 First I O number of master module Corresponding station register address of master module buffer memory Exercise care when setting the pulse input mode since the upper 8 bits are used for the counter function selection register and external output hold clear setting a COUN TINO METTO D a M E LS EC A 5 3 Reading the Present Value This section gives details on the present value stored in the present value storage area addresses RWrn 0 to 1 RWrn 8 to 9 and how to read it 1 The present value storage area stores the present value at a time when any counter function is executed When each function of l
89. ints is set 10 PROGRAMMING x High speed counter module status check xo XOF x1 1 I M100 T 18 NO MOV HO MOV H8 MOV HO MOV 256 LEDB SUB LEDC MOV W80 MC NO Pulse input mode function selection register external output hold clear settings x Pulse count start 210 Start of counting x Current value reading 212 221 urrent value arent X47B SE Sq EN Yy x Execution of count disable Execution of count disable Stop of count disable 223 Stop of count disable Pulse count stop 225 Stop of counting SET RST J _ A irc HO D100 LEDR M100 Se 7 414 D500 Y416 Y416 Y414 NO de o 10 33 MELSEC A SW head number is set W is set WO is set 256 points is set Dedicated command RRPA Head I O number of master module Parameter storage head device Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 c
90. ishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable logic controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable logic controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable logic controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable logic controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable logic controller range of applications However in certain
91. ith dedicated command RLPA x0 XOF 0 S LA E MO 5 MOV KO MOV KI MOV H1401 LEDA SUB LEDC LEDC M2 44 Hp erin HO H663 D3 x Automatic refresh parameter settings with dedicated command RRPA x0 XOF M2 54 r A s LAES M3 60 MOV HO MOV H1 MOV H400 MOV 128 MOV HO MOV H2 MOY H400 MOV 128 MOV HO MOV H7 MOV 200 MOV 263 MOV HO MOV H4 MOV 0 MOV 512 10 26 MO DO D1 D2 RLPA HO DO M1 LEDR KI D100 D101 D102 D103 D109 MELSEC A Synchronous mode is invalid No of modules connected 1 Station information of high speed counter module remote device station 4 stations occupied station number 1 Dedicated command RLPA Head I O number of master module Parameter storage head device Device that turns on 1 scan at completion Parameter status reading at abnormal completion RX head number is set X is set X400 is set 128 points is set RY head number is set Y is set Y400 is set 128 points is set RW head number is set D is set D200 is set 263 points is set SB head number is set B is set BO is set 512 points is set 10 PROGRAMMING MOY HO MOV H8 MOV HO MOY K256 LEDB SUB LEDC x High speed counter module status check NO_ M100 x Pulse input mode function selection register external output hold clear settings x Pulse count start Start of counting KS r x Current value reading Curre
92. l reset command Turned on when the counter value is less than the set value No 2 Section 6 1 Section 8 1 Section 6 1 Section 7 3 Section 6 1 RX RxF Pa usable d CT Preset completion E RX n 1 1 RX n 1 3 Counter function detection RX n 1 4 to RX n 7 7 CT RX n 7 8 Initial data processing request flag RX n 7 9toRX n 7 A o RX n 7 B Remote ready X n 7 C to RX n 7 F Turned on on completion of the preset function executed when the preset command RY n 1 1 RY n 1 8 turns on Turned off when the preset command switches from ON to OFF Turned on at counter function start execution when the counter function selection start command RY n 1 6 RY n 1 D turns on Turned off when the counter function selection start command switches from ON to OFF Unusable Turned on by the high speed counter module to request initial data setting after power on or hardware reset Turned off on initial data processing completion when initial data processing completion flag RY N 7 8 turns on Unusable Turned on when the high speed counter module is in the ready state on completion of initial data setting after power on or hardware reset Unusable Section 7 2 Section 9 2 Section 9 3 Section 9 4 Section 9 5 n Address assigned to the master station by station number setting The unusable devices are used in the system and should not be used by the user If any of them is used by the user
93. matic refresh parameter settings with dedicated command RRPA x0 XOF M2 54 _ uH YY PL M3 60 MOV HO MOV H1 MOV H400 MOV 128 MOV HO MOV H2 MOV H400 MOV 128 MOV HO MOV H7 MOV 200 MOV 263 MOV HO MOV H4 MOV 0 MOV 512 MOV HO MOV H8 10 30 MO DO DI D2 RLPA HO DO M1 LEDR KI i o i i 00 01 02 04 05 06 07 08 09 MELSEC A Synchronous mode is invalid No of modules connected z1 Station information of high speed counter module remote device station 4 stations occupied station number 1 Dedicated command RLPA Head I O number of master module Parameter storage head device Device that turns on 1 scan at completion Parameter status reading at abnormal completion RX head number is set X is set X400 is set 128 points is set RY head number is set Y is set Y400 is set 128 points is set RW head number is set D is set D200 is set 263 points is set SB head number is set B is set BO is set 512 points is set SW head number is set W is set 10 PROGRAMMING D118 D119 RRPA HO LEDR x High speed counter module status check xO XOF XI 181 m MOV w80 M4 M4 MC NO M100 M4 E T NO__ M100 x Pulse input mode function selection register external output hold clear settings D202 Y478 M10 Y478 x Pulse count start Sta
94. me of master station sequence program LS Link scantime ee AND ERE OPERATION SELINO Ee MELSEC A 4 INSTALLATION AND PRE OPERATION SETTING PROCEDURE This chapter describes the pre operation procedure of the high speed counter module the names and settings of each part and the wiring method 4 1 Pre Operation Setting Procedure Use the following procedure to make pre operation setting for the high speed counter module START Set the following switches of the module Station number setting switches Transmission baudrate setting switch Refer to Section 4 3 Counting speed setting switch e Ring counter setting switch Set the pulse input voltage f eet he ty eeens areant enee ene aa Refer to Section 4 3 and external input voltage setting pins Install the high speed counter module GFL i eee ee eee Refer to Section 4 2 1 4 5 Vv Wire the high speed counter module a a aaa E Refer to Section 4 6 A A Programming ee eee E u MELSEC A 4 2 Installation This section gives the handling instructions to be followed from unpacking to installation of the high speed counter module and its installation environment 4 2 1 Handling instructions This section gives the handling instructions of the high speed counter module N CAUTION Securely fix the module using the DIN rail or mounting screws and fully tighten the mounting screws within the specified torque range Undertightening can cau
95. n RY remote device station RY processing time Normal value The following processing time is required until the remote device station starts pulse input when the count enable signal RY n 1 4 RY n 1 B turns on Formula high speed counter module SM Scantime of master station sequence program LS Link scantime 2 Master station RWr remote device station RWr processing time Normal value The following processing time is required by the master station to read the counter value counted by the remote device station Formula high speed counter module SM Scantime of master station sequence program LS Link scantime 3 Master station RX remote device station RX processing time Normal value The following processing time is required from when the remote device station receives the coincidence signal reset command until when the coincidence signal RXn1 RXn5 turned off at the remote device station is transmitted to the master station The processing time required to transmit the coincidence signal reset command to the remote device station is not included Formula high speed counter module SM Scantime of master station sequence program LS Link scantime 4 Master station RWw remote device station RWw processing time The transmission time to set the coincidence output point No 1 set value at the remote device station is shown below Formula high speed counter module SM Scanti
96. n error using the LED lamps of the high speed counter module For errors related to the PC CPU and master module refer to the PC CPU and master module user s manuals 1 If the RUN LED of the high speed counter module goes off Corrective Action Watchdog timer error occurred Switch on power of the high speed counter module again 1 If the RUN LED is not lit after power is switched on again the hardware may be faulty Consult your sales representative 2 If the L RUN LED of the high speed counter module goes off Corrective Action Watchdog timer error occurred Switch on power of the high speed counter module again 1 If the L RUN LED is not lit after power is switched on again the hardware may be faulty Consult your sales representative Cable is broken or shorted Check for a broken or shorted cable among transmission cables and Cer Eeee it Master station Master station stopped link link Check foranerroratmasterstation lt for an error at master station counter module or voltage is insufficient Station number was repeated Switch power on again 1 after correcting the station number setting of the module of which station number was repeated Switch setting is outside the permissible range Correct the switching setting and switch power on again 1 station number 0 or not less than 62 transmis sion speed 5 to 9 3 If the L ERR LED of the high speed counter module flickers Correc
97. nput 24V Phase B pulse input 12V Phase B pulse input 5V Phase B ae ae COM Preset oo Preset input 12V Preset input 5V Function start input 24V Function start input 12V Function start ae EQU1 EQU2 2 to 5mA 0 1mA or less 2 to 5mA 0 1mA or less 2 to 5mA 0 1mA or less 2 to 5mA 0 1mA or less 2 to SMA 0 1mA or less ane OFF ON ON OFF se time 0 5ms or less 3ms or less O lolOl lo o 2 to 5mA 0 1mA or less 2 to 5mA 0 1mA or less 4 5 to 5 5V 2 to 5mA 2V or less 0 1mA or less Operating voltage Rated current Max inrush current 10 2 to 30V 0 5A point 4A 10ms Max voltage drop at ON 1 5V Response time OFF ON ON OFF 12 24V Input voltage Current consumption 8mA TYP 24VDC 1 The number within parentheses represents the terminal number of channel 2 3 9 0 1ms or less 0 1ms or less 10 2 to 30V 3 SPECIFICATIONS MELSEC A 2 Interfaces of the AJ65BT D62D with external devices Operating Ft Terminal Input Voltage Internal Circuit Signal Name ON OFF Current Number 1 Guaranteed Guaranteed Receiver Am26LS32 Phase A pulse input Am26LS31 Japan TexasInstruments Phase A pulse make or equivalent input 5 6 Vhys hysteresis VT VT 60 mV VIH E H level enable input voltage 2V or Receiver Am26LS32 TON gg 0 Phase B pulse de Ax DC DC l P ViL E L level enable input voltage
98. nt No 1 coincidence signal reset command RY10 is ON CH 1 point No 1 coincidence signal reset command RY10 is OFF CH 1 coincidence output enable RY12 is OFF CH 1 count enable RY14 is OFF RY00 to RY7F is written to Y400 to Y47F 10 PROGRAMMING 10 6 2 Program example of preset with sequence program Network parameter settings X0 XOF 0 S LAE MO MO 5 MOV KI D0 MOV K3 DI MOV Kl D2 TO HO H1 DO K3 MOV KI D3 TO HO H6 D3 KI MO 44 MOV H1401 D4 TO HO H20 D4 KI Data link start MO 59 SET YO SET Y6 X6 62 FT Y6 X7 64 FROM HO H668 D100 KI RST Y6 x Remote input signal reading XOF X1 75 i Huuu FRO HO HOEO K4x400 K8 x Status check of high speed counter module x0 Y i XI FROM H680 KIMI K1 M100 W w NO a Pulse i mode function selection register external output hold clear settings Pulse count start Start of counting 129 Current value reading urrent value reading X47B 131 KS E rr HO H2E0 SE 0300 D202 KI Y478 M10 Y478 Y414 K2 MELSEC A No of modules connected 1 Retry count 3 times No of auto paralleling modules 1 Write to master station Data link status when master station PLC CPU is abnormal Continued Read to master station Station information of high speed counter module remote device station 4 station occupied station number 1 Write to master station Refresh command Data link is started with buffer memory
99. nt stop Stop of counting AP ___________ e Y414 NO 8 ti MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 frequency time set RWw5 5000 ms CH 1 frequency pulse count previous value RWr2 RWr3 is read CH 1 frequency pulse count current value RWr4 RWr5 is read CH 1 counter function selection start command RY 16 is ON CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 22 10 PROGRAMMING MELSEC A 10 5 Program Example when ACPU QCPU A Mode is Used Dedicated Command The network parameter and the automatic refresh parameter are set by the sequence program 10 5 1 Program example of coincidence output function Network parameter settings with dedicated command RLPA x0 XOF 0 EL MO 5 MOV KO MOV KI MOY H1401 LEDA SUB LEDC LEDC M2 44 _ Nm _ _ _ _ Frio HO H668 D3 Automatic refresh parameter settings with dedicated command RRPA x0 XOF M2 54 a A s ris M3
100. nt value reading X47B 212 H _ tov DASG x Preset command Preset value set 221 s L1 K100 Execution of preset 229 s LAE Pii N i E Stop of counting 237 _ esr XO XOF x1 181 4 Mov w80 M4 MC No M4 T T HO D100 LEDR KI M4 M100 D202 Y478 M10 Y478 Y414 D500 D200 M11 Y411 Y411 Y414 NO de tir When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 27 MELSEC A SW head number is set W is set WO is set 256 points is set Dedicated command RRPA Head I O number of master module Parameter storage head device Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWw0 RWw1 100 CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 count enable RY14 is OFF 10 PROGRAMMING 10 5 3 Program example of preset with external control signal Network parameter settings with dedicated command RLPA x0 XOF 0 Kee LS MO 5 MOY KO MOV KI MOY H1401 LE
101. nter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 latch count value RWr2 RWr3 is read CH 1 counter function selection start command RY 16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 20 10 PROGRAMMING 10 4 7 Program example of sampling counter function High speed counter module status check xO XOF XI 0 MOV W80 KIMO MO MC NO M100 MO n 2 1 NO W 00 x Pulse input mode function selection register external output hold clear settings X478 14 MOY H203 D202 SE 478 SE M10 21 RS Y478 Pulse count start Start of counting 23 J _ Am E 44 x Current value reading Current value reading X47B HS E rrv D300 D500 x Sampling time set Sampling time set 32 JAA iy K2000 D205 x Sampling count value reading Count value reading 38 s L O D302 D502 Execution of sampling counter function Execution of sampling counter 43 PLS M1 M11 47 RR TT Y416 X411 49 S A Y416 x Pulse count stop Stop of counting 51 D i
102. o JIS C2812 TH35 7 5Fe TH35 7 5Al b DIN rail mounting screw pitch When mounting the DIN rail tighten screws in 200mm 7 88inch or less pitch 4 2 2 Installation environment CAUTION When installing the module avoid the following environment If the environment of U the module used is outside the range of general specifications an electric shock fire misoperation or product damage or deterioration can occur e Ambient temperature outside the range 0 to 55 C e Ambient humidity outside the range 10 to 90 RH e Condensation due to sudden temperature changes Corrosive or combustible gasses Dust conductive powder e g metal filings oil mist salt and organic solvent Direct sunlight Strong power and magnetic fields Vibration and impact ee eee eee ee MELSEC A 4 3 Part Names and Settings This section gives the names and settings of the high speed counter module controls 7 6 2 1 vy ty gt MITSUBISHI MELSEC aveset ps2 BRATE STATION NIO SA SMA PW O 2 save O O fe R BO O B RUN O wa eee eg DEC O DEC LRUN O RING PLS RESET PRE O O PRE SDO CH 12 CH 1 2 FST O OFST RD O ION Low 5 EQU1 O EQUI LERR O wl wa 4 J EQU2 O O EQU2 4 HIGH K A A bate iN NU 1 8 4 3 Station number setting switches Used to set the station number of the high speed counter module between 1 and STATION NO 61 Use x10 to set
103. ode function selection D202 register hold clear settings RWw2 Y478 Initial data processing completion flag RY78 is ON Initial data processing Y478 completion flag RY78 is OFF x Pulse count start Start of counting CH 1 count enable 5 a RY14 is ON x Current value reading Curent value y 4 7p ae 1 current value Eh ue pu RWr0 RWr1 is read x Preset command Preset value set 39 onov K100 D200 CH 1 preset value is set RWw0 RWw1 100 Preset execution CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 7 10 PROGRAMMING 10 3 3 Program example of preset with external control signal x High speed counter module status check xo XOF x1 MOY MO WC M 0 P_ rg M100 0 NO T x Pulse input mode function selection register external output hold clear settings x473 Sw80 No x Pulse count start Start of counting 23 Current value reading Current value reading x4 TE A oe x Preset command Preset value set pepa D300 K100 KIMO M100 D202 478 M10 478 Y4l4 D500 D200 Y420 420 Y4ld NO wf When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 8
104. of ring Counter function ee cece eeeeeeeeeeeeeeeeeeseeeeeeeteeeaeeeeeenaees 10 30 10 5 5 Program example of count disable function 00 2 eect cette ee eeeeeeeeteeeeeeeteeaeeeeeeaeees 10 32 10 5 6 Program example of latch counter function 0 0 0 eee ceeeeeeeceeeeeeeteeeeeeeteeeeeeeeeeeaeeeeeenaeees 10 34 10 5 7 Program example of sampling counter function 0 0 0 eeeeeeeeeeeeeeeeeeeeeeeteeeeeeteeeaeees 10 36 10 5 8 Program example of frequency pulse Counter function ccececeeeeeeeeeetteeeeeeees 10 38 10 6 Program Example when ACPU QCPU A Mode is Used From To Comman4d 245 10 40 10 6 1 Program example of coincidence output fUNCTION ccceeeeeeeseeeceeeeeteteenteeeeeetees 10 40 10 6 2 Program example of preset with sequence Program cceeeeeeeeeceeeeeeeeeeeenteeeeeeees 10 42 10 6 3 Program example of preset with external control Signal ccccceeeeeeeeeeeeeeeeeneeees 10 44 10 6 4 Program example of ring Counter function 0 ee cece eeeeeeeeeeeeeeeeeeteeneeeeteeeaeeeeeenaees 10 46 10 6 5 Program example of count disable function 00 2 eect eeeeteeeteeeeeeteeeeeeeeeeeaeeeeeenaeees 10 48 10 6 6 Program example of latch counter function 000 0 eceeeeceeeeeeeteeeeeeeteneeeeeeeeeaeeeeeenaeees 10 50 10 6 7 Program example of sampling counter function 0 0 0 eect eeeeeeeeeeeeeeeeeeeeeeeteeaaeees 10 52 10 6 8 Program example of frequency pulse Counter function ccece
105. ommand To B o or RY n 1 3 RY n 1 A on 2 Counting mode setting To use this counting mode set the following value to the lower 8 bits of the remote register RWwm 2 RWwm A using the sequence program When the value set is not the following set value the initial value 1 phase multiplication by one is set Counting Mode Set Value 1 phase multiplication by one 00H 1 phase multiplication by two 01H Address 15 Set in hexadecimal 0 RWwm 2 CH1 RWwm A CH2 0 0 L 4 bits 4 8 bits J v Counter function Pulse input mode register selection register Refer to Chapter 9 External output hold clear setting 0 Clear 1 Hold Refer to Appendix 1 Sequence program example Counting in 1 phase multiplied by two mode Write command MOV H0001 DO m H H DO K First I O number of master module Corresponding station register address of master module buffer memory Exercise care when setting the pulse input mode since the upper 8 bits are used for the counter function selection register and external output hold clear setting ee VEL SEC A 5 2 2 phase pulse input In 2 phase pulse input the counting mode can be selected from multiplication by one two and four 1 Relationship between phase A pulse input and phase B pulse input The following diagram shows the relationship between phase A pulse input and phase B pulse input High speed counter module Phase A pulse
106. on Coincidence output point No 1 L Write only Chapter 6 Section 9 4 counter module RWwm 5 RWwm D Sampling cycle time setting area Section 9 5 Coincidence output point No 2 L L Chapter 6 setting area 2 H t pees Present value storage area aaa Section 5 3 H RWrn 2 Latch count value sampling count L Section 9 3 M value periodic pulse count previous Section 9 4 High speed value storage area Section 9 5 counter module Rwme4 RWm C Periodic pul t t val eriodic pulse count present value J oe oe cas Read only Section 9 5 Read area of RWrn 5 RWrn D storage area master station RWrn 6 Sampling periodic counter flag storage area Section 9 4 for both CH1 and CH2 Section 9 5 RWrn 7 RWrn E Unusable RWrn F m n Addresses assigned to the master station by station number setting 1 External output hold or clear setting is used for both CH1 and CH2 The value set to the remote register of CH1 is valid 2 In the AJ65BT D62D S1 external output coincidence output does not switch on off if coincidence output No 2 is set However the counter value magnitude comparison coincidence greater less output signals X signals switch on off as ordinarily The unusable remote registers are used in the system and should not be used by the user If any of them is used by the user normal operation cannot be guaranteed 3 SPECIFICATIONS MELSEC A 3 7 Applicable Encoders The following
107. on 2 phase 2 multiplex register external output hold clear settings RWw2 CH 1 sampling frequency time set area RWw6 20000ms e Program example of count disable function Set description CH 1 pulse input mode function selection 2 phase 2 multiplex register external output hold clear settings RWw2 f Program example of latch counter function Set description CH 1 pulse input mode function selection 2 phase 2 multiplex register external output hold clear settings RWw2 latch counter function 10 3 10 PROGRAMMING MELSEC A g Program example of sampling counter function Set description CH 1 pulse input mode function selection 2 phase 2 multiplex register external output hold clear settings RWw2 sampling counter function CH 1 sampling frequency time set area RWw5 20000ms h Program example of frequency pulse counter function Set description 2 phase 2 multiplex CH 1 pulse input mode function selection s frequency pulse counter register external output hold clear settings RWw2 f rcti unction CH 1 sampling frequency time set area RWw5 5000ms 10 4 10 PROGRAMMING MELSEC A 10 3 Program Example when QCPU Q mode is Used The network parameter and the automatic refresh parameter are set by the GX Developer 1 Parameter settings a Network parameter settings 1 All connect count Remote input RX Remote outputf A Y Remote register Rw Remote
108. on manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsub
109. on start command RY16 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection reqister external output hold clear settings are reset 10 35 10 PROGRAMMING 10 5 7 Program example of sampling counter function Network parameter settings with dedicated command RLPA J AA iis o x0 MO MOV MOV MOV W2 4g y ROM HO H668 x Automatic refresh parameter settings with dedicated command RRPA 54 60 xO M3 XOF M2 KO KI H1401 LEDA SUB LEDC LEDC ei is MOV MOV MOV MOV MOV MOV MOV MOV MOV MOV MOV MOV MOV MOV MOV MOV 10 36 H400 K128 200 263 512 MO DO D2 HO DO RLPA LEDR KI M3 00 01 02 03 04 05 06 07 08 09 MELSEC A Synchronous mode is invalid No of modules connected 1 Station information of high speed counter module remote device station 4 stations occupied station number 1 Dedicated command RLPA Head I O number of master module Parameter storage head device Device that turns on 1 scan at completion Parameter status reading at abnormal completion RX head number is set X is set X400 is set 128 points is set RY head number is set Y is set Y400 is set 128 points is set RW head number is set D
110. only one function may be selected from among the four counter function selection functions 3 SPECIFICATIONS 3 4 Interfaces with External Devices MELSEC A The following tables give lists of the interfaces of the high speed counter module with external devices 1 Interfaces of the AJ65BT D62 with external devices Internal Circuit 5102 1 3W 47KQ 1 3W J For 5V 1 3W Z For 12V 5 For 24V Pulse input voltage setting pin 5102 1 3W 4 7KQ Ha D For 5V 4 7KQ 1 3W For 12V p Z Pulse input voltage setting pin 510R 1 3W To Z For 5V 4 7KQ 1 3W Z For 12V E For 24V External input voltage setting pin 5102 1 3W 4 7KQ 1 3W For 5V i f 1 3W For 12V For 24V Z External input voltage setting pin Terminal Number 1 10 17 ne ne a 21 Respon OFF ON ON OFF se time 0 5ms or less 3ms or less 22 24 23 25 Signal Name Phase A pulse input 24V Operating Current Input Voltage ON OFF Guaranteed Guaranteed 21 6 to 26 4V 2to5mA Phase A pulse input 12V input 5V Phase A pulse input COM 5V or less 0 1mA or less ON 10 8 to 13 2V 2 to 5mA 0 1mA or less Phase A pulse 4 5 to 5 5V 2 to SMA 0 1mA or less Phase B pulse 21 6 to 26 4V 2to5mA i
111. ons 1 When using high speed pulse inputs take the following precautions against noise a Always use shielded twisted cables Also provide Class 3 grounding b Do not run a twisted pair cable in parallel with any power line I O line etc which may generate noise It is necessary to run the twisted pair cable at least 150mm 5 91inch away from the above lines and over the shortest possible distance 2 For a 1 phase input always connect the count input pulse to phase A 3 If the high speed counter module picks up noise it will count incorrectly 4 The diagram below indicates the type of precautions required to prevent the wiring from picking up noise 999 High speed counter module nverter Terminal 4 Terminal block block In metal piping never run solenoid or inductive wiring through the same piping If sufficient distance cannot be provided between the high current line and input le WA wiring in a conduit use shielded cable such as CVVS for the high current line Separate more than 150mm 5 91inch from high power equipment such as inverters etc Also take care of wiring The distance between the encoder and joint box should be as insi Joint box short as possible inside the panel p vwe If the distance from the high speed counter module to the encoder is too long an excessive voltage drop will occur Therefore measure voltages with a test
112. ount enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 PROGRAMMING 10 5 6 Program example of latch counter function Network parameter settings with dedicated command RLPA x0 XOF 0 rs MO 5 MOY KO MOV KI MOV H1401 LEDA SUB LEDC LEDC M2 44 _ AN YS NANA _ Fro HO H668 D3 x Automatic refresh parameter settings with dedicated command RRPA xO XOF M2 54 ppp eg M3 60 MOV HO MOV H1 MOY H400 MOY 128 MOY HO MOV H2 MOV H400 MOY 128 MOY HO MOY H7 MOV K200 MOV K263 MOY HO MOV H4 MOV 0 MOV 512 10 34 MO DO D1 HO DO M1 RLPA LEDR K1 M3 00 01 02 03 04 05 06 07 08 09 MELSEC A Synchronous mode is invalid No of modules connected 1 Station information of high speed counter module remote device station 4 stations occupied station number 1 Dedicated command RLPA Head I O number of master module Parameter storage head device Device that turns on 1 scan at completion Parameter status reading at abnormal completion RX head number is set X is set X400 is set 128 points is set RY head number is set Y is set Y400 is set 128 points is set RW head number is set D is set D200 is set 263 points is set SB head number is set B is set BO is set 512 points i
113. ounter function is executed independently of whether the count enable command RY n 1 4 RY n 1 B is on or off San a a ER ENC anes V E LS EC A 9 5 Periodic Pulse Counter Function This function stores the present and previous counter values in the corresponding periodic pulse count present and previous value storage areas at preset intervals T The unit of frequency is 10 ms and the precision is less than 1 count The following chart shows the relationships between the signals remote registers and others Count enable command RY n 1 4 RY n 1 B Current value storage area Addresses RWrn 0 to 1 RWrn 8 to 9 Counter function selection start command RY n 1 6 RY n 1 D Counter function deteciton RX n 1 1 RX n 1 3 Sampling interval time setting area Address RWwm 5 RWwm D Periodic pulse count present value storage area Addresses RWrn 4 to 5 RWrn C to D Periodic pulse count previous value storage area Addresses RWrn 2 to 3 RWrn A to B Sampling periodic counter flag storage area Address RWrn 6 San a a aan anes MELSEC A Tice The counter s present value 0 is stored into the periodic pulse count present value storage area addresses RWrn 4 to 5 RWrn C to D hereinafter called the present value storage area 2 lide The counter s present value 200 is stored into the present value storage area The count value 0 stored until then is stored into the periodi
114. p Stop of counting MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selection start command RY16 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 19 10 PROGRAMMING 10 4 6 Program example of latch counter function High speed counter module status check X0 XOF X1 m MOV W80 KIMO MO MC No M100 MO TT M100 0 NO T x Pulse input mode function selection register external output hold clear settings X478 MOV H103 D202 SE Y478 SE M10 21 RS Y478 x Pulse count start Start of counting e Y414 Current value reading Current value reading X47B E a E pY Y 0800500 x Latch count value reading Latch counter command 32 HR Srv D302 D502 x Execution of latch counter function Execution of latch counter 37 s LAE MI BA _ ier Y416 Stop of counting BB __ rst Y414 MELSEC A Data link status is read High speed cou
115. power on again or turn on reset switch Corresponding module faulty Station number switches Complete 1 Check for short circuit reverse connection wire breakage no terminal resistor improper FG connection improper overall distance and improper interstation distance 11 5 APPENDIX MELSEC A APPENDIX Appendix 1 Directions for Use 1 For the master station you can select whether data is cleared or held when a communication error or WDT error occurs or when remote device power switches off using the condition setting switch Make setting according to the system The above error can be confirmed by monitoring the link special registers for other station communication status in the master station When the error has occurred the status of the corresponding station is stored into the following area in bit pattern SW0080 to SW0083 Data link status 0 normal 1 data link error occurrence SW0084 to SW0087 WDT error status 0 normal 1 WDT error occurrence 2 For the remote device station you can select whether the external output coincidence status is held or cleared when a communication error PC CPU stop or master station reset is detected using the external output hold clear setting area of the remote register most significant bit of address RWwn 2 As the external output hold clear setting is used for both CH1 and CH2 set it to the remote register of CH1 Address 15 Set in hexadecim
116. put command Coincidence signal reset Coincidence signal reset Y410 410 Coincidence output reset 52 __ A Sp sr Y412 Pulse count stop Stop of counting YAid MELSEC A Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWOr RWr1 is read CH 1 coincidence output point No 1 is set RWw3 RWw4 100 CH 1 coincidence output enable RY12 is ON CH 1 point No 1 coincidence signal reset command RY10 is ON CH 1 point No 1 coincidence signal reset command RY10 is OFF CH 1 coincidence output enable RY12 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 6 10 3 2 Program example of preset with sequence program High speed counter module status check x0 KOF xI Q m MOY sw30 K1M0 Data link status is read MO High speed counter MC No M100 module data link is normal vo c30 High speed counter 100 module data link is abnormal NOM T x Pulse input mode function selection register external output hold clear settings CH 1 pulse input m
117. r a a A T N E A SA 9 4 9 2 Count DISable FUNCHON oses aenn A RE EA ARAA 9 5 9 3 Latch Counter EUnction aisn er E E EE 9 7 94 Sampling Counter Function 2 sccc2ccissanccesvstucgens dan Aea anaE AEEA EAEE AEREN RANEA AEE 9 8 9 5 Periodic Pulse Counter FUNGON siisii riiseni drii eiiis i a aE 9 10 T PROGRAMMING rare edie ee ee ae ee ede 10 1 to 10 55 10 1 Programming Procedures esrara aariaa eair iaa aaRS Aa la eaa aaea AATE aa EE REA 10 1 10 2 Condition of Program Example erori e anar aE E EE NEE E 10 1 10 3 Program Example when QCPU Q mode iS Used 0 0 0 eecee cence ee eeeeeeeeeneeeeeeaeeeeeenaeeeeeeaas 10 5 10 3 1 Program example of coincidence output fUNCTION cece eeeee cece ee eeeeeeenteeeeeeeettees 10 6 10 3 2 Program example of preset with sequence Program ceseececceeeeeeeeeeeteteeeeeeeettees 10 7 10 3 3 Program example of preset with external control signal 10 8 10 3 4 Program example of ring counter function ee eee ee eeeeeeeeeeeeeeeeeeeeeeeeseneaeeeeeenatees 10 9 10 3 5 Program example of count disable function 00 cece eeeeeeeeteereeeeteeeeeeeeeeeeeeeeenaeees 10 10 10 3 6 Program example of latch counter function 0 0 0 eeeeeeeeeeeeeeteeeeeeteeeeeeeeeeaeeeeeenanees 10 11 10 3 7 Program example of sampling counter function 0000 eect ceeeteeeeeeeeeeeteeeeeeeeeenaeees 10 12 10 3 8 Program example of frequency pulse counter function ccecceeeeeeeeeeeetteeeee
118. r function selection start command RY16 is OFF CH 1 count enable RY14 is OFF RYO0 to RY7F is written to Y400 to Y47F 10 PROGRAMMING 10 6 8 Program example of frequency pulse counter function Network parameter settings x0 XOF 0 tes PLS MO 5 MOV 1 MOV 3 MOV 1 TO HO H1 DO MOV 1 TO HO H6 D3 MO 44 MOV H1401 TO HO H20 D4 x Data link start MO 59 SET SET x6 s2 _ rst X7 64 FROM HO H668 D100 RST x Remote input signal reading H XOF x1 75 BR FRO HO HOEO K4x400 Status check of high speed counter module x0 yo X1 FROM H680 KIM NO Jp w Pulse Le mode function selection register external output hold clear settings X478 tT x Pulse count start Start of counting _ _ se Current value reading urrent value reading X47B 31 H eee FRO O H2E0 D300 MO D0 D1 D2 K3 D3 KI D4 KI YO Y6 Y6 KI Y6 KI M100 D202 KI Y478 M10 Y478 Y4l4 K2 MELSEC A No of units connected 1 Retry count 3 times No of auto paralleling modules 1 Write to master station Data link status when master station PLC CPU is abnormal Continued Read to master station Station information of high speed counter module remote device station 4 station occupied station number 1 Write to master station Refresh command Data link is started with buffer memory Start request signal is OFF when start is normal Paramete
119. r status is read when start is abnormal Start request signal is OFF when start is abnormal RX00 to RX7F is read to X400 to X47F Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Write to master station Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 54 10 PROGRAMMING Frequency pulse counter command Frequency time set 142 DMOV 500 TOP HO H1E5 D205 Count value reading 159 FROM HO H2E2 D302 FROM HO H2E4 D304 Execution of frequency pulse counter 78 Pulse count stop Stop of counting BOP y N x Remote output signal write 82 A HO H160 K4Y400 10 55 0205 K2 K2 K2 Y416 Y4l4 K8 MELSEC A CH 1 frequency time set RWw5 5000 ms Write to master station CH 1 frequency pulse count previous value RWr2 RWr3 is read CH 1 frequency pulse count current value RWr4 RWr5 is read CH 1 counter function selection start command RY16 is ON CH 1 count enable RY14 is OFF RY00 to RY7F is written to Y400 to Y47F 11 TROU
120. rded to the end user CONTENTS Tad NTRODUCTION ora ir T ai piel dagialaie tone T nea nied 1 1 to 1 3 LI SROATUIOS 2 25 5e becsahins kines oe cas bar neta tee A A ae ttake sunt easeneattaued state ence eaten 1 3 2 SYSTEM CONFIGURATION eared re ireke e he Jeeves AaS TN EAT ASNA aa a 2 1 to 2 2 2 1 Overall CONnTIQUPATION ia e EEA a E AR E A 2 1 2 2 Applicable SVStern a a aa a a aah 2 2 3 OPECIFICATION S oa tana A A A E ee 3 1 to 3 18 3 1 General Specifications teaa aa a ai aa ape ae aaa aia iaaa ii eaat 3 1 3 2 Performance Specifications ccccccceceeeeeeeeeceeeeeeeeeeceaaeceeeceeesecceaeeeeeeesessecueaeeeeeeesetsnaeeeeess 3 2 33 FUNCIONS nodara EN acct AAE A EEND TAEA ila aE AAEE CEEE EAS r a dave eng 3 8 3 4 Interfaces with External Devices sssseesssesssrresssrnesernnesnnnnestnnnnsnnanedttnnenttnadnanaennennetennananannna 3 9 3 5 I O Signals Transferred to from the Master Module sssesssessissesinsserrsseerrsseerrssrerrssrrnrsserrssnt 3 12 3 6 Remote Register Allocation escroa ita E T EAA ANERER A EET ARREA 3 14 37 Applicable Encoders enerett aede aaa tags a ad ea ARE oaeee Ea aa eee ina aN EEEa 3 15 3 8 Data Link Processing TIMES reied a eaae a A er aata 3 16 4 INSTALLATION AND PRE OPERATION SETTING PROCEDURE cceeeceteeeeestteeeeeees 4 1 to 4 16 4 1 Pre Operation Setting Procedure s essssesssiessssnseserridennneerinneeiniansnnnaddianneadanaantannneaadadatannaananaat 4 1 AD MAStA
121. register Riw w Ver 2 Remote input RXx Ver 2 Remote output RY Ver 2 Remote register Wr Ver 2 Remote registerfAww Special relay SB Special reqister Sw Retry count Automatic reconnection station count Stand by master station No PLC down select Scan mode setting Delay information setting Station information setting Start 1 0 No 0000 Operational setting Operational settings Type Master station bd Master station data link type Mode 3 1 Stop v 0 Station information Remote device station initial setting Initial settings Interrupt setting Interrupt settings Expanded Exclusive station Remote station Reserve invalid Inteligent buffer select word Station No Station type cyclic setting count points station select Send Receive Automatic 1 1__ Remote device station v single v Exclusive station 4 v 128 points v No setting BJ x b Automatic refresh parameter settings Start 1 0 No Operational setting Type Master station data link type Mode All connect count Remote input RX Remote output RY Remote register Rw Remote register Riww Ver 2 Remote inputf R2 Ver2 Remote output RY Ver 2 Remote register A Wr Ver 2 Remote register Ww Special relay SB Special register Sw Retry count Automatic reconnection station count Stand by master station No PLC down select Scan mode setting Delay information setting Station information set
122. resent count value and a signal is issued accordingly 4 The sequence program can be used to confirm the I O signals and remote register status of the high speed counter module and to start stop and preset the counter 1 1 Features The high speed counter module has the following features 1 Pulses can be counted in a wide range from 0 to 16777215 The count value is stored in 24 bit binary 2 Count value can be multiplied Multiplication by either one or two can be selected for 1 phase pulse inputs or multiplication by one two or four for 2 phase pulse inputs 3 Maximum counting speed can be switched Since the maximum counting speed of either 400k 200k for the D62 or 10k can be selected pulses can be counted without errors on gentle leading and trailing edges 4 Coincidence output is available ON OFF signals are issued according to the comparison between the preset output status of a selected channel and the present counter value One module can accept two inputs and issues two outputs to one input which can serve as upper and lower limit signals The AJ65BT D62D S1 accepts one input and provides one coincidence output Note that it can use two points for counter value coincidence greater less signals 5 Ring counter function is available Counting repeats between the preset value and the ring counter value and this function is effective in controlling fixed pitch feed 6 Four counter functions are ava
123. reset command Preset value set Stop of counting HO H8 HO K256 LEDB SUB LEDC NO XO XOF x1 181 m MOV M4 MC M4 SS T T D456 283 ___ ist HO D100 LEDR M4 M100 D202 Y478 Y414 D500 D200 Y420 Y420 Y414 MELSEC A SW head number is set W is set WO is set 256 points is set Dedicated command RRPA Head I O number of master module Parameter storage head device Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWwo0 RWw1 100 CH 1 external preset detection reset command RY20 is ON CH 1 external preset detection reset command RY20 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 29 10 PROGRAMMING 10 5 4 Program example of ring counter function Network parameter settings with dedicated command RLPA xO XOF 0 S LAES MO 5 MOV KO MOV KI MOV H1401 LEDA SUB LEDC LEDC M2 44 HRD rin HO H668 D3 Auto
124. rt of counting 210 Je Y414 Current value reading Current value reading X47B 2b RS e TO D500 Preset value set Preset value set 220 _ __ foro 100 D200 Change of counter current value to preset value Change of current value 229 NY Ps M11 e a P__ cer Y411 235 _ _ ist vant Ring counter value set Ring counter value set tt J _ m Sino e200 208 Reset command of coincidence signal x401 2451 Haaa ET Y410 x401 247 RST Y410 Pulse count stop Stop of counting PZT mar fp RST Y414 MELSEC A WO is set 256 points is set Dedicated command RRPA Head I O number of master module Parameter storage head device Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 preset value is set RWw0 RWw1 100 CH 1 preset command RY11 is ON CH 1 preset command RY11 is OFF CH 1 coincidence output point No is set RWw3 RWw4 2000 CH point No 1 coincidence signal reset command RY10 is ON CH point No 1 coincidence signal reset command RY10 is OFF CH 1 count enable RY14 is OFF When the PLC CPU is
125. s set 10 PROGRAMMING MOV HO D116 MOY H8 D117 MOY HO D118 MOV 256 D119 LEDB RRPA SUB HO LEDC D100 LEDR x High speed counter module status check x0 XOF x1 181 MOV w80 1M4 M4 MC NO M100 M4 E A NO__ M100 T x Pulse input mode function selection register external output hold clear settings MOV D202 Y478 M10 Y478 x Pulse count start Start of counting 210 HK Y414 Current value reading Current value reading X47B 7 eee y y D500 x Latch count value reading Latch counter command 221 s rir D458 D502 x Execution of latch counter function Latch counter execution 229 Hs AE M1 233 Haass EET Y416 235 _ st Y416 Stop of counting 237 _ __ st Y414 MELSEC A SW head number is set W is set WO is set 256 points is set Dedicated command RRPA Head I O number of master module Parameter storage head device Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read CH 1 latch count value RWr2 RWr3 is read CH 1 counter function selection start command RY16 is ON CH 1 counter function selecti
126. se a drop or misoperation Overtightening can cause a drop or misoperation due to damaged screws or module Do not touch the conductive areas of the module directly Otherwise the module can misoperate or fail Tighten the terminal screws within the specified torque range Undertightening can cause a short circuit or misoperation Overtightening can cause a short circuit or misoperation due to damaged screws or module Ensure that foreign matters such as chips and wire off cuts do not enter the module They can cause a fire failure or misoperation Do not disassemble or modify the module This can cause a failure misoperation injury or fire The module case is made of resin Do not drop it or give it hard impact This can damage the module Before mounting or dismounting the module to or from an enclosure always switch power off externally in all phases Otherwise the module can fail or misoperate When disposing of the product handle it as industrial waste 1 Tighten the terminal screws and fixing screws of the module within the following ranges Tightening Torque Range Module mounting screw M4 screw 78 to 118N cm Terminal block terminal screw M3 5 screw 59 to 88N cm Terminal block mounting screw M3 5 screw 98 to 137N cm 4 INSTALLATION AND PRE OPERATION SETTING PROCEDURE MELSEC A 2 When using the DIN rail adapter note the following in mounting the DIN rail a Applicable DIN rail type conforming t
127. selection register hold clear settings RWw2 Write to master station Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 44 10 PROGRAMMING MELSEC A Preset command Preset value set CH 1 preset value is set 142 D200 RWw0 RWw1 100 K2 Write to master station CH 1 external preset Y420 detection reset command RY20 is ON CH 1 external preset Y420 detection reset command RY20 is OFF x Pulse count stop Stop of counting 63 _ sz Y414 CH 1 count enable RY14 is OFF x Remote output signal write M9036 i sH Hmo TOO HO Hie0 K4Y400 K8 RY00 to RY7F is written to Y400 to Y47F 10 45 10 PROGRAMMING 10 6 4 Program example of ring counter function x Network parameter settings x0 XOF 0 HK aris MO MO 5 MOY K1 DO MOV K3 D1 MOV K1 D2 TO HO H1 DO K3 MOV K1 D3 TO HO H6 D3 1 MO 44 MOY H1401 D4 TO HO H20 D4 1 Data link start MO 59 SET Yo SET Y6 X6 62 _ _sASs st Y6 X7 64 FROM HO H668 D100 K1 RST Y6 x Remote input signal reading x0 Lemi X1 75 s E in HO HOEO K4x400 K8 x Status check of EAR counter module x0 Y X1 FROM H680 KIMI KI M100 mm 90 ar M100 Pulse ls mode function selection register external o
128. ssion Including local Intelligent device station station Mast dul General name when QJ61BT11 AJ61BT11 A1SJ61BT11 AJ61QBT11 and ASen rs A1SJ61QBT11 are used as master station Losi modul General name when QJ61BT11 AJ61BT11 A1SJ61BT11 AJ61QBT11 and iol cake A1SJ61QBT11 are used as local station R i dul General name of AJ65BTB1 16D AJ65SBTB1 16D AJ65BT 64AD AJ65BT 64DAV emee ee AJ65BT 64DAI A852GOT etc Link special relay for CC Link Bit information that indicates master station local station module operation status and data link status It is indicated by SB for convenience Link special register for CC Link 16 bit information that indicates master station local station modul operation status and data link status It is indicated by SW for convenience Remote input for CC Link RX Bit information input from the remote station to the master station It is indicated by RX for convenience Remote output for CC Link Bit information output from the master station to the remote station It is indicated by RY for convenience Remote register write area for CC Link 16 bit information output from the master station to the remote device station It is indicated by RWw for convenience Remote register read area for CC Link 16 bit information input from the remote device station to the master station It is indicated by RWr for convenience Product configuration The configuration of this product is shown below
129. stand capability of devices with ratings up to 300V is 2 500V 2 This index gives a measure of the incidence of conductive materials in the environment in which the device is used A contamination level of 2 indicates an environment in which there is only contamination by non conducting materials but due to occasional condensation conductivity may occur 3 2 Performance Specifications The following table gives the performance specifications of the high speed counter module 1 Performance specifications of the AJ65BT D62 2 channels 1 phase input 2 phase input Signal level 5VDC A B 12VDC 2 to 5mA 24VDC i Ek a 200kPPS TOPPS Counting speed input E 200kPPS 7kPPS input Counting range 24 bit binary 0 to 16777215 UP DOWN preset counter and ring counter functions Counter he f 100s 142us Minimum pulse width that can be counted Adjust rise fall time of input to 2 5us or less 2 5us 2 5us Duty ratio 50 1 2 phase input 1 phase input 2 phase input Coinciden 24 bit binary ce output Comparison result Set value lt count value set value count value set value gt count value Preset 5 12 24VDC 2 to 5mA ON OFF 3ms or less External 2A 1common output 0 1ms or less Remote device station Number of stations occupied 4 stations RX RY 128 points each RWw RWr 16 points each Connection cable Dedicated cable for CC link Withstanding voltage 500VAC for 1 minute across all DC external terminals and gro
130. ster station Station information of high speed counter module remote device station 4 station occupied station number 1 Write to master station Refresh command Data link is started with buffer memory Start request signal is OFF when start is normal Parameter status is read when start is abnormal Start request signal is OFF when start is abnormal RX00 to RX7F is read to X400 to X47F Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Write to master station Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 50 10 PROGRAMMING x Current value reading x Late Current value reading X47B a a a _ From 0 H2E0 D300 h count value reading Latch counter command A J _ iro 0 H2E2 D302 Execution of latch counter Execution of latch counter 52 e FS Pulse count stop Stop of counting 60 HH Fest x Remote output signal write K4Y400 62 _ AAA i f HO H160 10 51 K2 K2 M1 Y416 Y416 Y414 MELSEC A CH 1 current value RWr0 RWr1 is read CH 1 latch count value RWr2
131. ters and others Count enable command RY n 1 4 RY n 1 B Current value storage area Addresses RWrn 0 to 1 RWrn 8 to 9 Counter function selection start command RY n 1 6 RY n 1 D Counter function detection RX n 1 1 RX n 1 3 Sampling interval time setting area Address RWwm 5 RWwm D Sampling count value storage area Addresses RWrn 2 to 3 RWrn A to B Sampling periodic counter flag Address RWrn 6 Ti On the leading edge of the counter function selection start command RY n 1 6 RY n 1 D F START terminal pulses input are counted from 0 Also the counter detection function signal RX n 1 1 RX n 1 3 switches on when the counter function selection start command RY n 1 6 RY n 1 D switches on and the counter detection signal RX n 1 1 RX n 1 3 switches off when the counter function selection start command RY n 1 6 RY n 1 D switches off San a a aan anes V E LS EC A 2 hens Counting stops when the preset sampling time elapses Shane While the sampling counter function is being executed the following value is stored into the sampling periodic counter flag storage area During Execution During Execution During Execution Operating Status at CH1 Only at CH2 Only at CH1 and CH2 Remote register K2 K3 address RWrn 6 eee If the sampling counter function ends the value in the sampling count value storage area is held Dhines The sampling c
132. the fuse of the high speed counter module is blown it can be confirmed by monitoring the link special registers for other station fuse blown status in the master station Corrective Action When using the external output EQU1 to EQU2 terminals External power supply is not wired wire an 10 2VDC to 30VDC external power supply as it is needed Refer to 4 4 6 The coincidence output function signal is not output Fuse for external power supply which operates the internal photocoupler when the EQU terminals are used Since the fuse cannot be changed by the user give details of the fault and consult our branch or sales representative Fuse is blown 11 3 11 TROUBLESHOOTING MELSEC A 11 5 If Communication Error Occurs between Master Station and This Module If any repeated station number bit in any of the link special registers SW0098 to SWO09B repeated station number status switches on check the high speed counter module of the corresponding station number in the following flowchart Troubleshooting flowchart used when the ERR LED of the master station flickers ERR LED of master station flickers Parameter setting match system configuration A A Correct parameter setting or system configuration Any of master station link special registers SW0080 to SW0083 other station data link status Any of master station link special registers SW0098 to SW009B rep
133. the tens Use x1 to set the modules Factory setting 0 Transmission baudrate setting switch Used to set the transmission speed of the high speed counter module For data link Number to Be Set Transmission Baudrate SS ae 156kBPS factory setting 625kBPS 2 5MBPS 4 5MBPS 10MBPS Unused If the value set is other than 0 to 4 the Other than 0 to 4 L ERR LED lights up to indicate a communication error Counting speed setting switch LOW position Up to 10kPPS can be counted for 1 phase input or up to 7kKPPS PLS pet for 2 phase input low HIGH position Up to 400k 200 PPS can be counted for 1 phase input or up to nich m m 300k 200 PPS for 2 phase input Values in parentheses are those for use of the AJ65BT D62 Factory setting HIGH position Ring counter setting switch Used to select whether the ring counter function is used or not RING CH 1 2 2 4 When using the ring counter ON m m When not using the ring counter OFF Factory setting OFF position Reset switch Hardware reset RESET Used to initialize the remote registers in the high speed counter module By turning this switch on the initial data processing flag switches on 1 3 5 ee eee ee MELSEC A LED indicators pw On Power on Off Power off RUN On Normal operation Off 24VDC power off or WDT error On Normal communication L RUN TAR Off Communication break time excess error 2 _ Lit to
134. ting Remote device station initial setting Interrupt setting 1 0000 Operational settings Master station x PLC parameter auto start hd Remote net Ver 1 mode v Stop v Asynchronous he 0 Station information Initial settings Interrupt settings The remote device station initialization step registration function cannot be used When the remote device station initialization step registration instruction SBOOOD is turned OFF after initialization processing the remote register value set in the initialization step registration is cleared Set the pulse input mode function selection register external output hold clear in the sequence program For program examples in this chapter the pulse input mode function selection register external output hold clear are set in the sequence program 10 5 10 PROGRAMMING 10 3 1 Program example of coincidence output function High speed counter module status check xo XOF x1 0 __ Woy SH8a KIMO w WC NO M100 w tO 100 NO M T Pulse input mode function selection register external output hold clear settings D202 YATE M10 Y478 Pulse count start Start of counting 23 E s Yald Current value reading urrent value reading x4 TB P_ yp Pp_ aT sng D500 Coincidence output data settings Coincidence output data settings 32 DMOY K100 D203 PLS M11 Coincidence output command Coincidence out
135. tion Wiring Precautions e Always secure the wires or cables connected to the module e g run them in conduits or clamp them Otherwise the module or cables can be damaged due to dangling moved or accidentally pulled cables or misoperation can occur due to improper cable connection Do not install the control lines together with the communication cables or bring them close to each other Failure to do so may cause malfunctions due to noise Do not hold the cable part when unplugging the communication or power cable connected to the module When the cable is fitted with a connector hold the connector of the cable part connected to the module When the cable is not fitted with a connector loosen the screw in the cable part connected to the module If you pull the cable connected to the module the module or cable can be damaged or misoperation can occur due to improper cable connection Starting and Maintenance Precautions e Do not touch the terminals while power is on This can cause misoperation Before starting cleaning or terminal screw retightening always switch power off externally in all phases Otherwise a module failure or misoperation can occur Undertightening can cause a drop short circuit or misoperation Overtightening can cause a drop short circuit or misoperation due to damaged screws or module Do not touch the terminals while the power is on Doing so may cause malfunction Be sure to sh
136. tive Action Station number or transmission speed switch Return the station number or transmission speed switch setting was changed during normal operation setting to the old value and switch power on again 1 If the L RUN LED is not lit after power is switched on again the hardware may be faulty Consult your sales representative Station number or transmission speed switch is If the L ERR LED begins to flicker though switch setting was faulty not changed during operation the hardware may be faulty Consult your sales representative 11 2 11 TROUBLESHOOTING MELSEC A 4 If the L ERR LED of the high speed counter module is lit Corrective Action Switch setting is outside the permissible range Correct the switching setting and switch power on again 1 station number 0 or not less than 62 transmission speed 5 to 9 Terminal resistor is not connected Confirm that terminal resistor is connected If not connected connect it and switch power on again 1 Module or transmission cable is affected by Connect both ends of the shielded wire of the Dedicated noise cable for CC link to ground class D grounding via SLD and FG of each module Securely connect the FG terminal of the module to ground Securely ground the piping when running cables in piping 1 Switch power on again Switch power on again or turn on the reset switch 11 4 When SW0088 to SWO08B fuse blown status of master station is turned ON If
137. unding terminal j 10MQ or more across all DC external terminals and grounding terminal using Insulation resistance a 500VDC insulation resistance tester ei gt Measure using a noise simulator of noise voltage 500Vp p noise width 1us Noise immunity f and noise frequency 25 to 60Hz Terminal block 27 pin terminal block M3 5x7 screws Applicable cable size 0 75 to 2 00mm Applicable crimping terminal RAV1 25 3 RAV2 3 5 conforming to JIS C2805 Screws of M4x0 7mm 0 03inch x16mm 0 63inch or larger Module mounting screws tightening torque range 78 to 118N cm DIN rail may also be used for mounting Applicable DIN rails TH35 7 5Fe TH35 7 5Al conforming to JIS C2812 External power supply 18 to 28 8VDC Power consumption 70 mA Permissible instantaneous power fail ihs ure time Weight 0 41kg 0 911b Counting speed is influenced by pulse rise time and fall time Countable speeds are as follows Note that counting of a pulse having long rise and fall times may result in miscounting Counting Speed Bae HIGH Setting Switch Rise fall time phase 2 phase 1 phase 2 phase input input input input t t 500s sors 250PPs 3 SPECIFICATIONS MELSEC A 2 Performance specifications of the AJ65BT D62D Item Specifications Counting speed setting switch HIGH position LOW position Number of channels 2 channels Count 1 phase input 2 phase input input Signal level EIA Standard RS 422
138. ut input t t t lt 0 1usorless 400KPPS sookers 2504s sors 250PPs 3 SPECIFICATIONS MELSEC A 3 3 Functions The following table lists the high speed counter module functions Description Refer To TE Outputs an ON OFF signal in a specified output status comparing Section Coincidence output function Po it with the present value 6 1 Counting alternates between the preset value and the ring counter value Section The preset operation can be done either by a sequence program or 7 1 by an external preset input Section Ring counter function Counting alternates between the preset value and the ring counter 3 1 Preset function Section Count disable function Stops counting pulses while the count enable command is ON 9 2 Stores the present value of the counter into the remote registers Section Latch counter function when the signal of the counter function selection start command is 9 3 input After the signal of the counter function selection start command is Section Sampling counter function input input pulses are counted during a preset sampling period S and stored into the remote registers Counter function selection While the signal of the counter function selection start command is Section Periodic pulse counter function input input pulses are stored into the remote registers at preset 95 intervals These functions may be used together However
139. ut off all phases of the external power supply used by the system before cleaning Not doing so can cause the module to fail or malfunction Do not disassemble or modify the module This can cause a failure misoperation injury or fire The module case is made of resin Do not drop it or give it hard impact This can damage the module Be sure to shut off all phases of the external power supply used by the system before mounting or dismounting the module to or from the panel Not doing so can cause the module to fail or malfunction Do not install remove the terminal block more than 50 times after the first use of the product IEC 61131 2 compliant Before handling the module always touch grounded metal etc to discharge static electricity from the human body Failure to do so can cause the module to fail or malfunction The pulse external input voltage setting pins must be set after switching power off externally in all phases Otherwise the module can fail or misoperate Precautions Regarding Product Disposal e When disposing of the product handle it as industrial waste Revisions The manual number is given on the bottom left of the back cover Print Date Manual Number Oct 1997 NA 66823 A_ First edition Mar 2000 IB NA 66823 B Contents of 3 4 greatly changed Output signal list in 3 7 2 modified Partial correction made to POINT in 7 3 Partial addition made to contents of 10 2 Partial addition m
140. utput hold clear settings Pulse count start Start of counting AE x Current value reading Current value reading X47B 131 J _ _ Fron 0 H2E0 D300 D202 KI Y478 M10 Y478 Y414 K2 MELSEC A No of modules connected 1 Retry count 3 times No of auto paralleling modules 1 Write to master station Data link status when master station PLC CPU is abnormal Continued Read to master station Station information of high speed counter module remote device station 4 s tation occupied station number 1 Write to master station Refresh command Data link is started with buffer memory Start request signal is OFF when start is normal Parameter status is read when start is abnormal Start request signal is OFF when start is abnormal RX00 to RX7F is read to X400 to X47F Data link status is read High speed counter module data link is normal High speed counter module data link is abnormal CH 1 pulse input mode function selection register hold clear settings RWw2 Write to master station Initial data processing completion flag RY78 is ON Initial data processing completion flag RY78 is OFF CH 1 count enable RY14 is ON CH 1 current value RWr0 RWr1 is read When the PLC CPU is reset the pulse input mode function selection register external output hold clear settings are reset 10 46 10 PROGRAMMING Preset command Preset

Download Pdf Manuals

image

Related Search

Related Contents

Hampton Bay 34889 Instructions / Assembly  POW301  Minka Lavery 3127-126 Installation Guide  Konica Minolta Confidential 1/8  Lifetime 0125 Use and Care Manual  カタログ  Transcend JetFlash 2.0 2Gb  TECHNICAL SERVICE MANUAL  Défroisseur vapeur à main  36 in. Drum Fan  

Copyright © All rights reserved.
Failed to retrieve file