Hitachi NJI-350B инструкция обслуживания
- Просмотреть online или скачать инструкцию
- 319 страниц
- 4.37 mb
Идти на страницу of
Похожие руководства по эксплуатации
-
Flat Panel Television
Hitachi 50HDA39
52 страниц 2.91 mb -
Portable DVD Player
Hitachi VT-F381A
48 страниц 0.76 mb -
Refrigeration and freezing
Hitachi R-B410
16 страниц 24.54 mb -
Telephone
Hitachi IP5000
5 страниц 0.06 mb -
Projector
Hitachi CP-X275
51 страниц 0.92 mb -
Flat Panel Television
Hitachi L42K3
28 страниц 3.02 mb -
Camcorder
Hitachi VMH665LA
64 страниц 9.1 mb -
VCR
Hitachi VT-M290A
73 страниц 1.13 mb
Хорошее руководство по эксплуатации
Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Hitachi NJI-350B. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Hitachi NJI-350B или обучающее видео для пользователей. Условием остается четкая и понятная форма.
Что такое руководство?
Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Hitachi NJI-350B можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.
К сожалению немного пользователей находит время для чтения инструкций Hitachi NJI-350B, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.
Из чего должно состоять идеальное руководство по эксплуатации?
Прежде всего в инструкции Hitachi NJI-350B должна находится:
- информация относительно технических данных устройства Hitachi NJI-350B
- название производителя и год производства оборудования Hitachi NJI-350B
- правила обслуживания, настройки и ухода за оборудованием Hitachi NJI-350B
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам
Почему мы не читаем инструкций?
Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Hitachi NJI-350B это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Hitachi NJI-350B и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Hitachi, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Hitachi NJI-350B, как это часто бывает в случае бумажной версии.
Почему стоит читать инструкции?
Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Hitachi NJI-350B, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.
После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Hitachi NJI-350B. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.
Содержание руководства
-
Страница 1
HITA CHI PROGRA MMA BLE CONTROLLER APPLICATION MANUAL NJI-350B (X)[...]
-
Страница 2
WA RNING To ens ure that the equipm ent described by this manual. As well as all equipment c onnected to and used with it, operate satisf actorily and safely, all applicable local and national codes that apply to installing and operating the equipm ent m ust be followed. Since c odes can vary geographically and can change with time, it is the user?[...]
-
Страница 3
LIMITED WARRANTY AND IMITATION OF LIABILIT Y Hitachi, Ltd. (Hitachi) warrants to the original purc haser that the progr amm able c ontroller (PLC) manuf actured by Hitachi is fr ee from def ects in m aterial and work mans hip under norm al use and service. T he obligation of Hitac hi under this warranty shall be lim ited to the repair or exc hange [...]
-
Страница 4
Copyright 2000 by Hi tachi Industrial Equipment Systems Co., Ltd. All Rights r eserved - Printed in Japan The information an d /or drawings set f orth in this document and all righ ts in and to inventions disclosed herein and patents which might be grante d thereon di sclosin g or employ ing and th e materials , techniques or apparat us des cribed [...]
-
Страница 5
Safety Precautions Read this manual and attached documents thor oughly befor e installing and o pera ting this unit, and pe rforming main tenance or inspection of this un it in or der to use the unit correctly . Be sure to use this unit after acquirin g adeq uate know ledge of the un it, all safety inf o rmation , and all precautionary in form atio[...]
-
Страница 6
2. Wiring REQUIRED • Always perfor m groundi ng (FE t erminal) . If gro unding is no t pe rfor med, the re is a risk o f an elec tric shock o r malfunctio n. CAUTION • Connect a pow er supply th at meets the rating . If a pow er supply that does not meet the rating is connected, it may result in a fire. • An y w iring operation sh ould only b[...]
-
Страница 7
4. Mainte nance DANGER • Never connect th e and of the battery in reverse. Al so, never ch arge, disassem ble, heat, place in fi re, or short circuit the battery. There is a risk of an explosion or fire. PROHIBITED • Never dis assembl e or m odify the uni t. These actions may result in a fire, malf unction, or failure. CAUTION • Be sure to tu[...]
-
Страница 8
Revision History No. Description of Revision Date of Revision Manual Number 1 Appen dix- 1 Instru ction Support FUN92 to 96 of H-4010 { -> × . Appendi x-2 Task code H28 Corrected explanation of Timer count er num ber. 2000/11 NJI-350 (X) 2 Postscript of battery error detection. (3.2 chapters item num ber 26, 15 chapters (4) ) Correct a descript[...]
-
Страница 9
Table of Contents Chapter 1 Features .............................................................................................................. ....................... 1-1 to 1-2 Chapter 2 Sy stem Overview ....................................................................................................... ................ 2-1 to 2-2 Chapter [...]
-
Страница 10
Chapter 7 Programm ing ........................................................................................................... .................. 7-1 to 7- 8 7.1 Memory Size and Memory Assig nm ent ................................................................................... 7-1 7.2 Programm ing Devi ces ..................................[...]
-
Страница 11
Chapter 10 PLC Ins tallation, Moun ting, Wiring ................................................................................... ... 10-1 to 10- 8 10.1 Installation ............................................................................................................... .............. 10-1 10.2 W iring .....................................[...]
-
Страница 12
MEMO[...]
-
Страница 13
Chapter 1 Features 1-1 Chapter 1 Features 1. Multifunctional all-in-one ty pe PLC The MICRO-EH is a multif unctional all-in-o ne type PLC that contains all necessary parts—a power s upply and CPU parts as well a s I/O units--within one unit. Three sizes of PLCs ar e av ailable: 10, 14, a nd 28 points. A ty pe with 23 points plus thre e points of [...]
-
Страница 14
Chapter 1 Features 1-2 MEMO[...]
-
Страница 15
Chapter 2 System Overview 2-1 Chapter 2 System Overview This c hapter des cribes the sy stem config uration of the MIC RO-EH. The MIC RO-EH is an all-in- one ty pe program mable contr oller , and has the f ollowing sy stem config uration. Figure 2.1 10-point type system configuration diagram Figure 2.2 14-point type system configuration diagram 1] [...]
-
Страница 16
Chapter 2 System Overview 2-2 [1] Ba sic unit [2] Expa nsion unit [3] E xpa nsio n cable [2] Expa nsion unit [2] Expa nsion unit [2] Expa nsion unit [3] E xpa nsio n cable [3] E xpa nsio n cable [3] E xpa nsio n cable Figure 2.3 23,28-point type system configuration diagram No res triction f or combination of 14,23,28 points, and basic /expa nsion [...]
-
Страница 17
Chapter 3 Function and Per form ance Spec ifications 3-1 Chapter 3 Function and Performance Specifications 3.1 General Specifications Item Specification Power supply type AC DC Power v oltage 100/110/120 V AC ( 50/60 Hz), 200/220/240 V AC (50/60 Hz) 24 V DC Power voltag e fluctuation range 85 to 264 V AC wide range 19.2 to 30 V DC Current c onsum p[...]
-
Страница 18
Chapter 3 Function and Per form ance Spec ifications 3-2 3.2 Function Specifications The f unctions availa ble in the MICRO-EH a re describe d in the table be low . No. Item Description 1 Basic functions The f ollowing f unctions can be ex ecuted whe n constructing a syst em using the PLC. 1] An input sig nal is r eceived from the co ntrol object, [...]
-
Страница 19
Chapter 3 Function and Per form ance Spec ifications 3-3 No. Item Description 5 Control m ethod With the PL C, the use r program s are converted in batc h at operation sta rtup, and the prog rams afte r conversion will be executed in order a s they are read one by one. 1] The m ethod used for data I/O is that af ter the I/O da ta (inf ormation) is [...]
-
Страница 20
Chapter 3 Function and Per form ance Spec ifications 3-4 No. Item Description 9 Forced s et/res et Forced s et and force d rese t of the desig nated I/O can be perform ed from the program ming unit connect ed to the CPU m odule. 10 Force d output Output can be f orced with r espec t to the designat ed I/O num ber from the program ming unit connect [...]
-
Страница 21
Chapter 3 Function and Per form ance Spec ifications 3-5 No. Item Description 20 Interr upt input The ex ternal input of the basic unit can be s pecif ied for interrupt input. With the interrupt input, the corre sponding interrupt prog ram can be exe cuted. 21 PWM output The e xternal output of the basic unit can be s pecified f or pulse width m od[...]
-
Страница 22
Chapter 3 Function and Per form ance Spec ifications 3-6 3.3 Performance Specifications 3.3.1 Cal culation Specifications The calculati on speci fications o f the PLC are descri bed belo w . Model Name 10-point type 14-point type 23/28-point type Type EH-D10DT EH-D10DT P EH-D10DR EH-D14DT EH-D14DT P EH-A 14DR EH-D14DR EH-A 14AS EH-A 23DRP EH-A 23DR[...]
-
Страница 23
Chapter 3 Function and Per form ance Spec ifications 3-7 3.3.2 Input Specificati ons The input c ircuit cons ists of DC input and AC input, w ith the following specific ations. (1) DC input Item Specification Circuit diagram Input voltag e 24 V DC Allow able input voltag e range 0 to 30 V DC Input im pedance Approx . 2.8 k Ω Input curre nt 7.5 mA[...]
-
Страница 24
Chapter 3 Function and Per form ance Spec ifications 3-8 3.3.3 Output Specificati ons (1) DC output ( Y100 of EH-*23DRP/A23DRT/*28DRP/*2 8DRT) Item Specification Circuit diagram Ty pe EH-A23DR T EH-* 28DRT EH-* 23DRP EH-* 28DRP Y100 output spec ifications Tra n sistor output (sink ty pe) Tra nsistor output (source type) Rated load v oltage 24 / 12 [...]
-
Страница 25
Chapter 3 Function and Per form ance Spec ifications 3-9 (2) DC output: LCDC- Low Current (All points of EH-D10DT /DTP, Y102-Y105 of EH-D14D T/DT P, Y102-Y109 of EH-D28DT/DT P, Y*018-Y*021 of EH-D14EDT/D 14EDTP) Item Specification Circuit diagram Output speci fic ation Tra nsistor output Rated loa d voltage 24/12 V DC (+ 10 %, -15 % ) Minimum switc[...]
-
Страница 26
Chapter 3 Function and Per form ance Spec ifications 3-10 (4) DC output ( ESCP type): HCDC-Hig h Current ( Y100,Y101 of EH-D14DTPS, Y100-Y103 of D28D TPS) Y*016,Y*017 of EH-EDTPS, Y*016-Y*019 of EH-D28ED TPS) Item Specification Circuit diagram Output speci fic ation Tra nsistor output Rated loa d voltage 24/12 V DC (+ 10 %, -15 % ) Minimum switchin[...]
-
Страница 27
Chapter 3 Function and Per form ance Spec ifications 3-1 1 (6) Relay output Item Specification Circuit diagram Rated loa d voltage 5 to 250 V AC, 5 to 30 V D C Minimum switching current 1 mA 1 circ uit 2 A ( 24 V DC, 240 V A C) Maxim um load cu rrent 1 c o mmon 5 A OFF → ON 15 m s (ma x) Output response time ON → OFF 15 ms (m ax) Numbe r of out[...]
-
Страница 28
Chapter 3 Function and Per form ance Spec ifications 3-12 3.3.4 Hi gh-Speed Counter Specifications Single phase T w o phase A vaila ble input X0, X2, X4, X6 X0 a nd X2 in pair Input voltag e ON 15 V OFF 5 V Count pulse w idth 100 µ s Maxim um count f requency 10 kHz each channel Count reg ister 16 bits Coincidenc e output Allow ed On/Off -preset A[...]
-
Страница 29
Chapter 3 Function and Per form ance Spec ifications 3-13 Circuit diagram (23 points type) Circuit diagram (Analog ex pansion unit) 3.3.7 Analog ue Output Specifications Module ty pe 23 points type module Analog exp. unit Output channe l W Y40 WY u06, W Y u07 (u : unit numbe r) 0-10V (10.24V m ax.) 0-10V (10.24V m ax.) 0-20m A ( 20.48mA max .) 0-20[...]
-
Страница 30
Chapter 3 Function and Per form ance Spec ifications 3-14 3.3.8 Potentiometer Analogue Input Specifications Numbe r of potentiome ter inputs 2 Stored in Ch.1 : W RF03E, Ch.2 WRF03F Input rang e 0-1023 (H0-H 3FF) Resolution 10 bits Input filter By user settings 3.3.9 Interr upt Input Specif ications Input that can be used X1, X3, X5 , X7 (by use r s[...]
-
Страница 31
Chapter 3 Function and Per form ance Spec ifications 3-15 3.3.12 Clock Function 23-point and 28-point ty pes have cale ndar f unction. This can be operate d either by internal output are a or task code . * 10-point and 14-point ty pes do not have this function. (1) Reading the clock data By turning o n the read request (R7 F8), th e clock dat a is [...]
-
Страница 32
Chapter 3 Function and Per form ance Spec ifications 3-16 3.3.13 Power Supply for Sensor The 24 V te rmina l at the input term inal part can supply current to ex ternal e quipme nt (not for a ll units). If this ter mina l is used as the pow er supply for the input par t of this unit, the re maining c an be used as power supply for the sens ors. The[...]
-
Страница 33
Chapter 4 Product lineup and wiring 4-1 Chapter 4 Product lineup and wiring 4.1 Product lineup (1) Basic units Table 4.1 Product lineup list Type Specifications I/O assignment symbol EH-D10DT D C power, DC input × 6, Transistor (sink) output × 4 X48/Y32/em pty16 EH-D10DT P DC power , DC input × 6, T ransistor (s ource) output × 4 X48/Y32/e mpty[...]
-
Страница 34
Chapter 4 Product lineup and wiring 4-2 (2) Peripheral Units Table 4.2 List of peripheral units Product Form Specification Remarks HL-GPCL Ladder diagram/Instruction language editor LADDER EDITOR (for G P CL) HL-PC3 L adder diagram/Instruction lan guage editor LA DDER EDITOR (for PC98 series) with CP U connecti on cable HL-AT 3 E Ladder d iagram/In[...]
-
Страница 35
Chapter 4 Product lineup and wiring 4-3 4.2 10-Point Basic Unit Name and function of each part Type EH-D10DT, EH -D10DTP, EH- D10DR 1] PO W LE D 2] OK LED 3] RUN LED 4] Seri al port 5] RUN inp ut 9] M ounting hol e 8] Po wer termin al 7] Out put termin als 10] DI N ra il instal latio n clip 6] In put ter minals No. Item Detailed ex planation Remark[...]
-
Страница 36
Chapter 4 Product lineup and wiring 4-4 4.3 14-Point Basic Unit Name and function of each part Type E H - *1 4 *** 1] POW LED 2] OK LED 3] RUN LED 10] T erminal cover 4] Ser ial po rt cove r 11] Mounti ng hole 5] Input terminals 8] Expan sion connector cover 9] DIP SW cove r 6] Outp ut te rmina ls 12] DIN rail installation clip 7] Pow er terminal N[...]
-
Страница 37
Chapter 4 Product lineup and wiring 4-5 4.4 23-Point and 28-Point Basic Unit Name and function of each part E H - *2 3 *** E H - *2 8 *** Type 1] POW LED 2] OK LED 3] RUN LED 10] T erm inal cove r 13] RS -485 p ort c over 11 ] Mounting hole 4] Ser ial por t cover 5] Input te rminals 8] Expan sion connector cover 9] DI P SW c over 6] Outp ut term in[...]
-
Страница 38
Chapter 4 Product lineup and wiring 4-6 4.5 Expansion Unit Name and function of each part Type EH-* 14ED** (sam e dimens ion as 14 pts. basic unit) EH-* 28ED* * (s am e dimension a s 28 pts. bas ic unit) EH-* 6EAN (s ame dim ension as 14 pts. bas ic unit) 1] POW LED 2] OK LED 3] Expa nsion connec tor cover (left side) 9] T ermi nal cov er 10] Mou n[...]
-
Страница 39
Chapter 4 Product lineup and wiring 4-7 4.6 T erminal Layout and Wiring 10-point type EH-D10DT, EH-D10DTP * Since the D C input is bidirec tional, it is possible to rev erse the polarity of the pow er supply. EH-D10DR * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . 5 4 C0 3 2 RUN 1 0 NC V0 C0 [...]
-
Страница 40
Chapter 4 Product lineup and wiring 4-8 14-point type EH-A14DR, EH-D14DR * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-A14EDR, EH-D14EDR * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . AC pow er supply 100-240V A C Input powe r suppl[...]
-
Страница 41
Chapter 4 Product lineup and wiring 4-9 EH-A14AS EH-D14DTP * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-D14DT (The input wiring is the s ame as EH-D14DT P.) Load pow er supply 100-240V A C Power s upply for input 100-115V A C Power s upply 100-240V A C 0 24+ 0V 2 1 C0 3 5 4 7 6 C1 AC AC [...]
-
Страница 42
Chapter 4 Product lineup and wiring 4-10 EH-D14EDT P * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-D14EDT (The input wiring is the s ame as EH-D14EDT P.) Load pow er supply 12/24V DC Power s upply 24V DC 0V 24V 17 16 18 NC 20 19 V0 21 C0 Load pow er supply 12/24V DC Power s upply 24V DC 0[...]
-
Страница 43
Chapter 4 Product lineup and wiring 4-1 1 23-point type EH-A23DRP * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-A23DRT EH-D23DRP (The input wiring is the s ame as EH-A23DRP.) TR output pow er supply 16-30V DC Power s upply 100-240V A C Power s upply for input, 24V DC Load pow er supply 24[...]
-
Страница 44
Chapter 4 Product lineup and wiring 4-12 28-point type EH-A28DRP * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-A28DRT (The input wiring is the s ame as EH-A28DRP.) EH-D28DRP (The input wiring is the s ame as EH-A28DRP.) EH-D28DRT (The input wiring is the s ame as EH-A28DRP.) TR output pow[...]
-
Страница 45
Chapter 4 Product lineup and wiring 4-13 EH-A28AS EH-D28DTP * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-D28DT (The input wiring is the s ame as EH-D28DT P.) Load pow er supply 100-240V A C Power s upply for input 100-115V A C Power s upply 100-240V A C Power s upply for input, 24V DC Lo[...]
-
Страница 46
Chapter 4 Product lineup and wiring 4-14 EH-A28DR * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-A28EDR * Since the DC input is bidire ctional, it is possible to re verse the pola rity of the pow er supply . EH-D28DR EH-D28ED R 0 24+ 0V 2 1 C0 3 5 4 7 6 C1 AC 0 1 NC 3 2 C1 4 5 C3 6 C2 C4 7[...]
-
Страница 47
Chapter 4 Product lineup and wiring 4-15 Analog expansion unit EH-A6EAN (Ex ample of voltage input and voltage output) EH-D6EAN (Ex ample of current input and current output) Input and output ca n be configure d as volta ge or current inde pendently . Power s upply 100-240V A C IN1 JP IN1 + IN1 - IN2 + IN2 - IN3 - IN2 JP IN3 JP IN3 + IN4 + IN4 - IN[...]
-
Страница 48
Chapter 4 Product lineup and wiring 4-16 4.7 Weights and Power Consumption Power consumption (A) Remarks 100V AC 264V AC 24V DC Type W eight (g) Normal Rus h Normal Rush Norm al Rush E H - D 1 0 D T / D T P / D R 2 0 0 ---- 0 . 1 2 0 . 6 E H - D 1 4 D T / D T P / D T P S 3 0 0 ---- 0 . 1 6 0 . 6 EH-A 14DR 400 0.1 15 0.06 40 - - E H - D 1 4 D R 3 0 [...]
-
Страница 49
Chapter 4 Product lineup and wiring 4-17 4.8 Exterior Dimensions (1) 10-point type (Unit : mm) (2) 14-point type, 14-point ex pansion unit, Analog expansion unit (3) 23-point, 28-point types and 28-point ex pansion 75 65 47 70 80 4.4 8 95 85 80 90 76 4.8 8.4 150 140 80 90 76 4.8 8.4[...]
-
Страница 50
Chapter 4 Product lineup and wiring 4-18 MEMO[...]
-
Страница 51
Chapter 5 Instruc tion Specif ications 5-1 Chapter 5 Instruction Specifications 5.1 Instruction Classifications The instru ctions u sed with th e MICRO-EH are classified as sh own in th e following tab le. T able 5.1 Instruction classification table No. Instruction classification D escription Type 1 Basic instructions Sequence 21 Tim er/counter 6 R[...]
-
Страница 52
Chapter 5 Instruc tion Specif ications 5-2 The f o llowing lists the instructions. 1. Ba sic instructions ( sequenc e instructions) R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/O types used DER ERR SD V C MI CRO-EH Steps Remark s 1 LD L ogi ca[...]
-
Страница 53
Chapter 5 Instruc tion Specif ications 5-3 R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s 15 MPS MPS Operatio n res ult push Stores the p revio us operat ion result . None zzzzz —0 16 MRD M[...]
-
Страница 54
Chapter 5 Instruc tion Specif ications 5-4 3. Ba sic inst ructions (re lational box) R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s Relat ion al box 28 LD (s1== s2) = Relatio nal box When s1 [...]
-
Страница 55
Chapter 5 Instruc tion Specif ications 5-5 R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s 32 L D (s1< s2) < Relatio nal box Whe n s 1 < s2: Continuity Whe n s 1 ≥ s2 : Nonco ntinui[...]
-
Страница 56
Chapter 5 Instruc tion Specif ications 5-6 4. A rithmetic instructions R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s 1 d=s Substitution d ← s [Bit] ↕ zzzz 32 3 I /O: I /O sta temen t d: [...]
-
Страница 57
Chapter 5 Instruc tion Specif ications 5-7 R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s Logic operat ion 12 d=s1 OR s2 L ogical OR d ← s1+s2 zzzzz 62 33 86 4 4 6 Uppe r case: B Middle cas[...]
-
Страница 58
Chapter 5 Instruc tion Specif ications 5-8 R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classifi cation Item num ber Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s Relational expression 21 d=s1 <= s2 ≤ Relatio nal express ion When s1 < s2, d ← 1 Whe n s [...]
-
Страница 59
Chapter 5 Instruc tion Specif ications 5-9 R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s Shift/ro tate 10 BSR(d, n) BCD shift right Shifts BCD to right by n digits. [Wo rd] d: WY, WR, WM, TC[...]
-
Страница 60
Chapter 5 Instruc tion Specif ications 5-10 R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s Conve rsion 18 BCD(d, s) Binary → BCD conve rsion Con verts t he va lue of s i nt o BCD and stor e[...]
-
Страница 61
Chapter 5 Instruc tion Specif ications 5-11 6. Control ins tructions R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s 1E N D N o r m a l scan end I ndicates the e nd of a normal scan. None zzzz[...]
-
Страница 62
Chapter 5 Instruc tion Specif ications 5-12 R7F4 R7F3 R7F2 R7F1 R7F0 Process time ( µ s) Classi fication Item number Ladder symbol Instru ction symbol Instru ction name Proc ess des cripti ons I/ O types used DER ERR SD V C MI CRO-EH Steps Remark s 4 FUN 82 (s) (SLREF (s)) I/ O re f r es h (any slot) Refres hes t he I/O a t t he designated slot. s[...]
-
Страница 63
Chapter 5 Instruc tion Specif ications 5-13 5.3 Instruction Specification Details (1) Bas ic instructions (2) Arit hmetic in struction s (3) Application i nstructions (4) Con trol instru ctions (5) T ransf er instru ctions (6) FUN instru ctions[...]
-
Страница 64
Chapter 5 Instruc tion Specif ications 5-14 Item number Basic instructions-1, 2 Na me Logica l operation start (L D, LDI) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C n n zzzzz Instruction format Number of steps 0.9 ← LD n Condition Steps LDI n — 1 Bit W ord Double w ord [...]
-
Страница 65
Chapter 5 Instruc tion Specif ications 5-15 Item number Basic instructions-3, 4 Na me Contact se rial connection (A ND, AN I) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C n n zzzzz Instruction format Number of steps 0.8 ← AND n Condition Steps ANI n 1 Bit W ord Double w[...]
-
Страница 66
Chapter 5 Instruc tion Specif ications 5-16 Item number Basic instructions-5, 6 Na me Contact par allel conne ction (OR, ORI) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C n n zzzzz Instruction format Number of steps 0.9 ← OR n Condition Steps ORI n 2 Bit W ord Double w [...]
-
Страница 67
Chapter 5 Instruc tion Specif ications 5-17 Item number Basic instru ctions-7 Name Negation (NOT) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C zzzzz Instruction format Number of steps 0.8 Condition Steps NOT 2 Bit W ord Double w ord Usable I/O XY R, M TD, SS, CU, CT W[...]
-
Страница 68
Chapter 5 Instruc tion Specif ications 5-18 Item number Basic instru ctions-8 Name Leading edge detectio n (AND DIF, OR DIF) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Average Maximum DER ERR SD V C DIF n DIF n DIF n DIF n zzzzz Instruction format Number of steps 1.0 ← AND DIF n Condition Steps OR DIF n[...]
-
Страница 69
Chapter 5 Instruc tion Specif ications 5-19 Item number Basic instru ctions-9 Name Trailing edge detec tion (AND DFN, OR DFN) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C DFN n DFN n DFN n DFN n zzzzz Instruction format Number of steps 1.0 ← AND DFN n Condition Steps OR DFN[...]
-
Страница 70
Chapter 5 Instruc tion Specif ications 5-20 Item number Basic instructions-10 Name Coil output (OUT) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C zzzzz Instruction format Number of steps 1.0 ← Condition Steps OUT n 1 Bit W ord Double w ord Usable I/O XY R, M TD, SS, CU,[...]
-
Страница 71
Chapter 5 Instruc tion Specif ications 5-21 Item number Basic instr uctions-11, 12 Name Set/reset coil outpu t (SET, RES) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C Upper case: SE T n SET n RES S R n SET n RES zzzzz 0.9 ← Lower cas e: R ES Instruction format Number of ste[...]
-
Страница 72
Chapter 5 Instruc tion Specif ications 5-22 Item number Basic instr uctions-13, 14 Name Set (start)/reset (cancel) master control (MCS, MCR) Ladder format Condition code Processi ng time ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C Upper case: MCS MCS n MCR n S R MCS n MCR n zzzzz 0.7 ← Lowe r ca se: MCR Instruction for[...]
-
Страница 73
Chapter 5 Instruc tion Specif ications 5-23 Item number Basic ins tructions-15, 16, 17 Name Save/rea d /clea r operation r esult (Bra nching of ladde r) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C Save Read Clear z zzzz Instruction format Number of steps MPS Save Cond[...]
-
Страница 74
Chapter 5 Instruc tion Specif ications 5-24 Item number Basic instructions-18 Name Logica l block s erial connec tion (AN B) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Func tion colum n) DER ERR SD V C zzzzz Instruction format Number of steps Condition Steps ANB 0 Bit W or[...]
-
Страница 75
Chapter 5 Instruc tion Specif ications 5-25 Item number Basic instructions-19 Name Logical block par allel connection (OR B) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Func tion colum n) DER ERR SD V C zzzzz Instruction format Number of steps 0.7 Condition Steps ORB 1 Bit W o[...]
-
Страница 76
Chapter 5 Instruc tion Specif ications 5-26 Item number Basic instructions-20 Name P roce ssing box start and e nd (P ROCESSI NG BOX) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Average Maximum DER ERR SD V C zzzzz Instruction format Number of steps 0.6 Condition Steps [ ] — 3 Bit W ord Double w ord [...]
-
Страница 77
Chapter 5 Instruc tion Specif ications 5-27 Item number Basic instructions-21 Name Relational box s tart and end (REL ATION AL BOX) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C zzzzz Instruction format Number of steps 0.8 Condition Steps ( ) — 0 Bit W ord Double w ord U[...]
-
Страница 78
Chapter 5 Instruc tion Specif ications 5-28 Item number Basic instructions-22 Name On d elay tim er (ON DELAY TIMER) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C zzzzz Instruction format Number of steps 1.4 Condition Steps OUT T D n t s 5 Bit W ord Double w ord Usable[...]
-
Страница 79
Chapter 5 Instruc tion Specif ications 5-29 Program description [Time chart] X00000 12345 65 535 TD10 R100 Progre ss valu e of TD10 (TC 10) 1] 2] 3] 4] 5] Set value 1] When input X00000 turns on, T D progres s va lue is update d. 2] When input X00000 turns of f, the T D progr ess v alue is clea red. 3] TD10 turns on whe n progre ss value ≥ se t v[...]
-
Страница 80
Chapter 5 Instruc tion Specif ications 5-30 Item number Basic instructions-23 Name Single shot (SING LE SHOT) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C zzzzz Instruction format Number of steps 1.4 Condition Steps OUT SS n t s 5 Bit W ord Double w ord Usable I/O XY [...]
-
Страница 81
Chapter 5 Instruc tion Specif ications 5-31 Program description [Time chart] X00001 SS11 R101 12 567 Progres s value of SS11 (TC11 ) 1] 2] 3] 4] Set value 1] The prog ress value is updated and SS11 turns on a t the lea ding edg e of X00001. 2] SS11 turns off when set v alue ≥ progres s value. X00001 is turned on at this time, but the sing le shot[...]
-
Страница 82
Chapter 5 Instruc tion Specif ications 5-32 Item number Basic instructions-24 Name Counter (COUNTER) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C CU n s zzzzz Instruction format Number of steps 1.4 Condition Steps OUT CU n s — 5 Bit W ord Double w ord Usable I/O XY R, M[...]
-
Страница 83
Chapter 5 Instruc tion Specif ications 5-33 Program description [Time chart] X00005 CL15 CU15 1 2 3 4 5 65 535 3 Progres s value of CU15 (TC15) 1] 2] 4] Set value 4 5] 3] Ignored Ignored 1] The progre ss value (c ount) is cleare d to 0 by the counter clear (CL15). While the counter clear is on, the progress value will not be upda ted. 2] The progre[...]
-
Страница 84
Chapter 5 Instruc tion Specif ications 5-34 Item number Basic instr uctions-25, 26 Name Up (CT U n) and dow n (CT D n) of up/down counter (UP/DOWN COUNTER) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C Upper case: CTU CTD n CTU n s zzzzz 1.4 Lower case: CTD Instructi on fo[...]
-
Страница 85
Chapter 5 Instruc tion Specif ications 5-35 Program example X00007 CTU17 LD X00007 OUT CTU17 4 LD X00008 OUT CTD17 LD X00009 OUT CL17 LD CT17 OUT R107 X00008 CTD17 4 X00009 CL 17 CT17 R107 • An example of a word I/O bein g used as t he set value for t he circui t shown abo ve. R7E3 X00007 CTU17 WR0017 X00008 CTD17 WR0017=4 LD R7E3 [ WR0017=4 ] LD[...]
-
Страница 86
Chapter 5 Instruc tion Specif ications 5-36 Item number Basic instructions-27 Name Counter clear (COUNTER CLEA R) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DER ERR SD V C CL n zzzzz Instruction format Number of steps 0.9 Condition Steps OUT CL n s — 1 Bit W ord Double w ord Usable [...]
-
Страница 87
Chapter 5 Instruc tion Specif ications 5-37 Item number Basic instructions-28 Name =Relationa l box (=R ELAT IONAL BOX) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Fun ction co lumn) DER ERR S D V C Upp er case: W zzzzz 27 40 Low er case: D W Instruction format Number of steps LD (s1 [...]
-
Страница 88
Chapter 5 Instruc tion Specif ications 5-38 Item number Basic instructions-29 Name Sign ed = Relational b ox (SIGNED = RELA TIONAL BOX) Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Func tion colum n) DER ERR SD V C zzzzz Command format Number of steps 35 50 LD (s1 S== s2) Condition Ste[...]
-
Страница 89
Chapter 5 Instruc tion Specif ications 5-39 Item number Basic instructions-30 Name <> Relational box (<> RELATIONA L BOX) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Fun ction co lumn) DER ERR S D V C Upp er case: W zzzzz 26.8 40 Lower case : DW Instruction format Number o[...]
-
Страница 90
Chapter 5 Instruc tion Specif ications 5-40 Item number Basic instructions-31 Name Si gned <> Relational b ox (SIGNED <> RELA TIONAL BOX) Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Func tion colum n) DER ERR SD V C zzzzz Command format Number of steps 34.5 50 LD (s1 S<[...]
-
Страница 91
Chapter 5 Instruc tion Specif ications 5-41 Item number Basic instructions-32 Name <Relationa l box (<R ELAT IONAL BOX) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Fun ction co lumn) DER ERR S D V C Upp er case: W zzzzz 26.8 40 Lower case : DW Instruction format Number of steps [...]
-
Страница 92
Chapter 5 Instruc tion Specif ications 5-42 Item number Basic instructions-33 Name Sign ed<Relational b ox (SIGNED < RELA TIONAL BOX) Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Func tion colum n) DER ERR SD V C zzzzz Command format Number of steps 37.5 53 LD ( s1 S < s2 ) C [...]
-
Страница 93
Chapter 5 Instruc tion Specif ications 5-43 Item number Basic instructions-34 Name ≤ Relational box ( ≤ RELATION AL BOX ) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Fun ction co lumn) DER ERR S D V C Upp er case: W zzzzz 26.8 40 Lower case : DW Instruction format Number of steps [...]
-
Страница 94
Chapter 5 Instruc tion Specif ications 5-44 Item number Basic instructions-35 Name Signed ≤ Relational box (SIG NED ≤ R ELATIN AL BOX ) Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum (See Func tion colum n) DER ERR SD V C zzzzz Command format Number of steps 37.5 53 LD (s1 S<= s2) Cond[...]
-
Страница 95
Chapter 5 Instruc tion Specif ications 5-45 Item number Arithm etic instructions-1 Nam e Substitution statem ent (ASSIGNMENT STA TEMENT) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s DER ERR SD V C ↕ zzzz Instruction format Number of steps (See follow ing table) Condition Steps d = s[...]
-
Страница 96
Chapter 5 Instruc tion Specif ications 5-46 Program example X00000 DIF0 X00001 DIF1 X00002 DIF2 X00003 DIF3 WR0000 WR0000(WM000)=WX0000 WR0000 =WX0000 WR0000(WM000)=WR0000(WM 001) =WR0000(WM001) Array variables ar e used at the substitution destinat ion Array variables ar e used at the substitution source Array variables are used at both substituti[...]
-
Страница 97
Chapter 5 Instruc tion Specif ications 5-47 Item number Arithm etic instructions-2 Nam e Binary addition (BINARY ADDITION) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Average Maximum d = s1 + s 2 DER ERR SD V C Upper case : W zzz ↕↕ 45 Lo wer c ase : DW Instruction format Number of steps Condition [...]
-
Страница 98
Chapter 5 Instruc tion Specif ications 5-48 Item number Arithm etic instructions-3 Nam e BCD addition (BCD ADDIT ION) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 B+ s2 DER ERR SD V C Uppe r cas e: W ↕ zzz ↕ 115 Lowe r ca se: DW Instruction format Number of steps Condition St[...]
-
Страница 99
Chapter 5 Instruc tion Specif ications 5-49 Item number Arithm etic instructions-4 Nam e Binary subtraction (BI NA RY SUBT RACTI ON) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 – s2 DER ERR SD V C Upper case: W zzz ↕↕ 41 Lo wer c ase : DW Instruction format Number of steps[...]
-
Страница 100
Chapter 5 Instruc tion Specif ications 5-50 Item number Arithm etic instructions-5 Nam e BCD subtraction (BCD SUBTRACT ION) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 B– s2 DER ERR SD V C Upper c ase: W ↕ zzz ↕ 104 Lowe r ca se: DW Instruction format Number of steps Condi[...]
-
Страница 101
Chapter 5 Instruc tion Specif ications 5-51 Item number Arithm etic instructions-6 Nam e Binary m ultiplication (BINARY MULT IP LICAT ION) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 × s2 DER ERR SD V C Upper case: W ↕ zzzz 43 Lo wer c ase : DW Instruction format Number of st[...]
-
Страница 102
Chapter 5 Instruc tion Specif ications 5-52 Item number Arithm etic instructions-7 Nam e BCD multiplication (BCD MUL TIPLICATION) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 B × s2 DER ERR SD V C Upper case: W ↕ zzzz 164 Lo wer c ase : DW Instruction format Number of steps Co[...]
-
Страница 103
Chapter 5 Instruc tion Specif ications 5-53 Item number Arithm etic instructions-8 Nam e Signed binary multiplication (SIGNED BINA RY MULTI P LICATI ON) Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 S × s2 DER ERR SD V C ↕ zzzz Command format Number of steps 143 Condition Steps[...]
-
Страница 104
Chapter 5 Instruc tion Specif ications 5-54 Item number Arithm etic instructions-9 Nam e Binary division ( BINA RY DIVISIO N) Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 / s2 DER ERR SD V C Upper ca se: W ↕ zzzz 55 Lo wer c ase : DW Instruction format Number of steps Condition[...]
-
Страница 105
Chapter 5 Instruc tion Specif ications 5-55 Item number Arithme tic instructions-10 Name BCD division Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 B/ s 2 DER ERR SD V C Upper case : W ↕ zzzz 152 Lo wer c ase : DW Instruction format Number of steps Condition Steps d = s1 B/ s 2 [...]
-
Страница 106
Chapter 5 Instruc tion Specif ications 5-56 Item number Arithme tic instructions-11 Name Signe d binary division Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 S/ s2 DER E RR SD V C ↕ zz ↕ z Command format Number of steps 101 Condition Steps d = s1 S/ s2 Double word 6 Bit W ord[...]
-
Страница 107
Chapter 5 Instruc tion Specif ications 5-57 Item number Arithme tic instructions-12 Name Logical OR Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 OR s 2 DER ERR SD V C 62 Upper case: B zzzzz Midd le case: W Instruction format Number of steps 33 Lo wer c ase: DW Condition Steps[...]
-
Страница 108
Chapter 5 Instruc tion Specif ications 5-58 Item number Arithme tic instructions-13 Name Logical AND Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 AND s2 DER ERR SD V C 4 6 Up per case: B zzzzz Midd le case: W Instruction format Number of steps 36 Lo wer c ase: DW Condition St[...]
-
Страница 109
Chapter 5 Instruc tion Specif ications 5-59 Item number Arithme tic instructions-14 Name Exclusive OR Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 X OR s2 DER ERR SD V C 42 Upper case: B zzzzz Midd le case: W Instruction format Number of steps 33 Lo wer c ase: DW Condition St[...]
-
Страница 110
Chapter 5 Instruc tion Specif ications 5-60 Item number Arithme tic instructions-15 Name = Re lational expres sion Ladder format Condition code Processi ng time ( µ s) Re mark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 == s2 DER ERR SD V C zzzzz 60 Instruction format Number of steps Condition Steps d = s1 == s2 s is a word 4 48 s is [...]
-
Страница 111
Chapter 5 Instruc tion Specif ications 5-61 Item number Arithme tic instructions-16 Name Signe d = Relationa l expression Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 S== s2 DER ERR SD V C zzzzz Command format Number of steps 108 Condition Steps d = s1 S== s2 s is a double word 6[...]
-
Страница 112
Chapter 5 Instruc tion Specif ications 5-62 Item number Arithme tic instructions-17 Name <> Relationa l expre ssion Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 <> s2 DER ERR SD V C zzzzz 60 Instruction format Number of steps Condition Steps d = s1 <> s2 s is a[...]
-
Страница 113
Chapter 5 Instruc tion Specif ications 5-63 Item number Arithme tic instructions-18 Name Signe d <> Rela tional express ion Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 S<> s2 DER ERR SD V C zzzzz Command format Number of steps 48 Condition Steps d = s1 S<> s2 s[...]
-
Страница 114
Chapter 5 Instruc tion Specif ications 5-64 Item number Arithme tic instructions-19 Name < Re lational expres sion Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 < s 2 DER ERR SD V C Upper case : W zzzzz 40 Lowe r ca se: DW Instruction format Number of steps Condition Steps [...]
-
Страница 115
Chapter 5 Instruc tion Specif ications 5-65 Item number Arithme tic instructions-20 Name Signe d < Relationa l expression Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 S< s2 DER ERR SD V C zzzzz Command format Number of steps 50 Condition Steps d = s1 S< s 2 s is a double[...]
-
Страница 116
Chapter 5 Instruc tion Specif ications 5-66 Item number Arithme tic instructions-21 Name ≤ Rela tional express ion Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 <= s2 DER ERR SD V C Upper case: W zzzzz 40 Lowe r ca se: DW Instruction format Number of steps Condition Steps d [...]
-
Страница 117
Chapter 5 Instruc tion Specif ications 5-67 Item number Arithme tic instructions-22 Name Signed ≤ Re lational expres sion Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum d = s1 S<= s2 DER ERR SD V C zzzzz Command format Number of steps 50 Condition Steps d = s1 S<= s2 s is a double[...]
-
Страница 118
Chapter 5 Instruc tion Specif ications 5-68 Item number A pplication instructions-1 Name Bit set Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BSET (d, n) DER ERR SD V C Upper case : W zzzzz 26 Lowe r ca se: DW Instruction format Number of steps Condition Steps BSET (d, n) 3 35 Bit [...]
-
Страница 119
Chapter 5 Instruc tion Specif ications 5-69 Item number A pplication instructions-2 Name Bit reset Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BRES (d, n) DER ERR SD V C Upper case: W zzzzz 29 Lowe r ca se: DW Instruction format Number of steps Condition Steps BRES (d, n) 3 38 Bit[...]
-
Страница 120
Chapter 5 Instruc tion Specif ications 5-70 Item number A pplication instructions-3 Name Bit test Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BTS (d, n) DER ERR SD V C Upper ca se: W zzzz ↕ 31 Lower case : DW Instruction format Number of steps Condition Steps BTS (d, n) 3 38 Bit[...]
-
Страница 121
Chapter 5 Instruc tion Specif ications 5-71 Program description When W R0001 = H1234 at the leading edg e of X00000 (WR 0001 = 0001001000110100) 20 (decim al) If DR 0100 = H00000000, DR0102 = HFFFFFFFF a nd DR0104 = H5555 AAAA ar e se t, th e 2 0 th b it of D R 0100 is set to “1” by the BSET at the leading e d ge of X00000. D R0100=00000000000 [...]
-
Страница 122
Chapter 5 Instruc tion Specif ications 5-72 Item number A pplication instructions-4 Name Shift right Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum SHR (d, n) DER ERR SD V C Upper ca se: W zzzz ↕ 38 Lower case : DW Instruction format Number of steps Condition Steps SHR (d, n) 3 46 [...]
-
Страница 123
Chapter 5 Instruc tion Specif ications 5-73 Program example X00000 X00001 DIF1 R7F2 R7F0 Y00100 SHR (DR0000,1) X00000 . . . . . X00001 . . . . . . . . . . LD X00000 OUT R7F2 LD X00001 AND DIF1 [ SHR (DR0000,1) ] LD R7F0 OUT Y00100 Defective unit inpu t To SD Conveyor movement Defective unit outp ut Carry Y00001 Program description • There exists [...]
-
Страница 124
Chapter 5 Instruc tion Specif ications 5-74 Item number A pplication instructions-5 Name Shift lef t Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum SHL (d, n) DER ERR SD V C Upper case : W zzzz ↕ 38 Lower case : DW Instruction format Number of steps Condition Steps SHL (d, n) 3 46 [...]
-
Страница 125
Chapter 5 Instruc tion Specif ications 5-75 Item number A pplication instructions-6 Name Rotate right Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum ROR (d, n) DER ERR SD V C Up per case: W zzzz ↕ 47 Lower case : DW Instruction format Number of steps Condition Steps ROR (d, n) 3 75 [...]
-
Страница 126
Chapter 5 Instruc tion Specif ications 5-76 Item number A pplication instructions-7 Name Rotate lef t Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum ROL (d, n) DER ERR SD V C Upper cas e: W zzzz ↕ 46 Lower case : DW Instruction format Number of steps Condition Steps ROL (d, n) 3 54 [...]
-
Страница 127
Chapter 5 Instruc tion Specif ications 5-77 Program example R7F0= 0 ROL(DR0000,1) ROL(DR0002,1) X00001 DIF1 LD X00001 AND DIF1 [ R7F0 = 0 ROL (DR0000,1) ROL (DR0002,1) ] Program description • When X00001 ris es, the 64-bit data is s hifted one bit at a tim e. The space after the shift is filled with “0.” Ove ra ll mo ve men t C 0 b31 DR0002 b[...]
-
Страница 128
Chapter 5 Instruc tion Specif ications 5-78 Item number A pplication instructions-8 Name Logical shif t right Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum LSR (d, n) DER ERR SD V C Upper ca se: W zzzz ↕ 36 Lower case : DW Instruction format Number of steps Condition Steps LSR ( d, n)[...]
-
Страница 129
Chapter 5 Instruc tion Specif ications 5-79 Item number A pplication instructions-9 Name Logical shif t left Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum LSL (d, n) DER ERR SD V C Upper ca se: W zzzz ↕ 36 Lower case : DW Instruction format Number of steps Condition Steps LSL (d , n )[...]
-
Страница 130
Chapter 5 Instruc tion Specif ications 5-80 Item number Applic ation instructions-10 Nam e BCD shift right Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BSR (d, n) DER ERR SD V C Upper case: W zzzzz 32 Lowe r ca se: DW Instruction format Number of steps Condition Steps BSR (d, n) 3 40 ?[...]
-
Страница 131
Chapter 5 Instruc tion Specif ications 5-81 Item number Applic ation instructions-11 Nam e BCD shift lef t Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BSL (d, n) DER ERR SD V C Upper ca se: W zzzzz 32 Lowe r ca se: DW Instruction format Number of steps Condition Steps BSL (d, n) 3 39 [...]
-
Страница 132
Chapter 5 Instruc tion Specif ications 5-82 Item number Applic ation instructions-12 Nam e Block tran sfer (MOVE) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum MOV (d, s, n) DER ERR SD V C ↕ zzzz Instruction format Number of steps Condition Steps As pe r the table below . MOV (d, s, n) 4 [...]
-
Страница 133
Chapter 5 Instruc tion Specif ications 5-83 Program example • The da ta in WM000 to WM01F is tra nsferred to the area WR020 to W R03F. R001 DIF0 R7F4 MOV ( WR020,WM000,32 ) Y00100 SET LD R001 AND DIF0 [ MOV ( WR020,WM000,32 ) ] LD R7F4 SET Y00100 Program description • 32 words of data are transf erred. W M000 W M020 W M03F WR010 WR01F T ransfer[...]
-
Страница 134
Chapter 5 Instruc tion Specif ications 5-84 Item number Applic ation instructions-13 Nam e Copy Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum COPY (d, s, n) DER ERR SD V C ↕ zzzz Instruction format Number of steps Condition Steps As pe r the table below . COPY (d, s, n) 4 Bit W ord Double[...]
-
Страница 135
Chapter 5 Instruc tion Specif ications 5-85 Program example The de fault value ( H2020) is set in the ra nge of WR0100 to WR01FE. R7E3 LD R7E3 [ COPY (WR0100, H2020, 255) ] COPY (WR0100, H2020,255 ) Program description WR0100 to W R01FE is considered a s the comm unication data are a and is filled w ith sp ace code (H2 0) as th e default valu e dur[...]
-
Страница 136
Chapter 5 Instruc tion Specif ications 5-86 Item number Applic ation instructions-14 Nam e Block exchan ge (EXCHANGE) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Average Maximum XCG (d1, d2, n) DER ERR SD V C ↕ zzzz Instruction format Number of steps Condition Steps As pe r the table below . XCG (d1, d2[...]
-
Страница 137
Chapter 5 Instruc tion Specif ications 5-87 Item number Applic ation instructions-15 Nam e NOT Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum NOT (d) DER ERR SD V C Up per case: B zzzzz 27 Instruction format Number of steps M iddl e case: W Condition Steps 22 NOT (d) 2 Lower case: DW[...]
-
Страница 138
Chapter 5 Instruc tion Specif ications 5-88 Item number Applic ation instructions-16 Nam e Two 's c omp l emen t (N EGATE ) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum NEG (d) DER ERR SD V C Up per case: W zzzzz 22 Lowe r ca se: DW Instruction format Number of steps Condition Ste[...]
-
Страница 139
Chapter 5 Instruc tion Specif ications 5-89 Item number Applic ation instructions-17 Nam e Absolute v alue Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum ABS (d, s) DER ERR S D V C Upper case: W zzzz ↕ 30 Lower case : DW Instruction format Number of steps Condition Steps ABS (d, s) Wor[...]
-
Страница 140
Chapter 5 Instruc tion Specif ications 5-90 Item number Applic ation instructions-18 Nam e Binary → BCD conversion Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BCD (d, s) DER ERR SD V C Upper case: W ↕ zzzz 79 Lo wer c ase : DW Instruction format Number of steps Condition Steps BCD[...]
-
Страница 141
Chapter 5 Instruc tion Specif ications 5-91 Item number Applic ation instructions-19 Nam e BCD → Binary convers ion Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BIN (d, s) DER ERR SD V C Up per case: W ↕ zzzz 49 Lo wer c ase : DW Instruction format Number of steps Condition Steps B[...]
-
Страница 142
Chapter 5 Instruc tion Specif ications 5-92 Item number Applic ation instructions-20 Nam e Dec ode Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DECO (d, s, n) DER ERR SD V C ↕ zzzz Instruction format Number of steps Condition Steps As pe r the table below . DECO (d, s, n) 4 Bit W ord Dou[...]
-
Страница 143
Chapter 5 Instruc tion Specif ications 5-93 Item number Applic ation instructions-21 Nam e Encode Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum ENCO (d, s, n) DER ERR SD V C ↕ zzz ↕ Instruction format Number of steps Condition Steps As pe r the table below . ENCO (d, s, n) 4 Bit W ord D[...]
-
Страница 144
Chapter 5 Instruc tion Specif ications 5-94 Item number Applic ation instructions-22 Nam e Bit count Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum BCU (d, s) DER ERR SD V C Upper case: W zzzzz 33 Lowe r ca se: DW Instruction format Number of steps Condition Steps BCU (d, s) Word 3 42 ?[...]
-
Страница 145
Chapter 5 Instruc tion Specif ications 5-95 Item number Applic ation instructions-23 Nam e Swap Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum SWA P (d) DER ERR SD V C zzzzz Instruction format Number of steps 25 Condition Steps SWA P (d) 2 Bit W ord Double w ord Usable I/O XY R, M TD, SS[...]
-
Страница 146
Chapter 5 Instruc tion Specif ications 5-96 Item number Applic ation instructions-24 Nam e Unit Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum UNIT (d, s, n) DER ERR SD V C ↕ zzzz Instruction format Number of steps Condition Steps As pe r the table below . UNIT (d, s, n) 4 Bit W ord Double[...]
-
Страница 147
Chapter 5 Instruc tion Specif ications 5-97 Program example X00001 LD X00001 AND DIF0 [ UNIT ( WY0010, WR0000, 3 ) ] UNIT ( WY0010, WR0000, 3 ) DIF0 Program description A 3-dig it BCD input display device is c onnected to the WY0010, and each digi t disp lays WR 0000 to W R0002 data independently . (Only the low er f our bits are considered the v a[...]
-
Страница 148
Chapter 5 Instruc tion Specif ications 5-98 Item number Applic ation instructions-25 Nam e Distri bute Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum DIST (d, s , n) D ER ERR SD V C ↕ zzzz Instruction format Number of steps Condition Steps As pe r the table below . DIST (d, s , n) 4 Bit W [...]
-
Страница 149
Chapter 5 Instruc tion Specif ications 5-99 Program example X01001 LD X00001 A ND DIF0 [ D IST (WR0000, WX0000, 4) ] DIST (WR0000, WX0000, 4) DIF0 Program description A 4-bit 4- digit Dig it switc h is connected to the W X0000, and the data for each digit is st ored i n WR 0000 to WR0003 a s independent da ta. 9 7 4 6 X015 to X012 X011 to X008 X007[...]
-
Страница 150
Chapter 5 Instruc tion Specif ications 5-100 Item number Control instructions-1 Name Normal scan end Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum END DER ERR SD V C zzzzz Instruction format Number of steps 714 Condition Steps END 1 Bit W ord Double w ord Usable I/O XY R, M TD, SS, CU, [...]
-
Страница 151
Chapter 5 Instruc tion Specif ications 5-101 Item number Control instructions-2 Name Scan c onditional end Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Average Maximum CEND (s) DER E RR SD V C Upper case : zzzzz 5 Conditions Instruction format Number of steps do not me et Condition Steps Low er case : [...]
-
Страница 152
Chapter 5 Instruc tion Specif ications 5-102 Item number Control instructions-3 Name Unconditional jum p (JUMP ) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum JMP n DER ERR S D V C z 1] zzz Instruction format Number of steps 32 Condition Steps JMP n 2 Bit W ord Double w ord Usable I/O X[...]
-
Страница 153
Chapter 5 Instruc tion Specif ications 5-103 Item number Control instructions-4 Name Conditional jum p Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum CJMP n (s) DER ERR SD V C Upper case : z 1] zzz 3 Conditions Instruction format Number of steps do not meet Condition Steps Lowe r ca se :[...]
-
Страница 154
Chapter 5 Instruc tion Specif ications 5-104 Syntax of JMP, CJMP LBL 2 JMP 1 JMP 1 LBL 7 JMP 2 LBL 3 END SB JMP 3 LBL 2 JMP 4 RTS SB LBL 4 JMP 5 LBL 6 PTS INTO JMP 6 LBL 5 JMP 7 LBL 1 RTI JMP 5 A] B] LBL 5 LBL 5 JMP 0 JMP 1 JMP 2 LBL 1 LBL 0 JMP 3 LBL 2 JMP 4 LBL 3 LBL 4 LBL 0 CJMP1(X000 00) JMP 0 LBL 1 JMP 5 JMP 5 CJMP 5 LBL 5 JMP 0 Program A Prog[...]
-
Страница 155
Chapter 5 Instruc tion Specif ications 5-105 Item number Control instructions-5 Name Label Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum LBL n DE R E RR SD V C zzzzz Instruction format Number of steps 0.5 Condition Steps LBL n 1 Bit W ord Double w ord Usable I/O XY R, M TD, SS, CU, CT W[...]
-
Страница 156
Chapter 5 Instruc tion Specif ications 5-106 Item number Control instructions-6 Name FOR Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FOR n (s) DER ERR SD V C z 1] zzz Instruction format Number of steps 33 Condition Steps FOR n (s) 3 Bit W ord Double w ord Usable I/O XY R, M TD, SS, CU[...]
-
Страница 157
Chapter 5 Instruc tion Specif ications 5-107 Item number Control instructions-7 Name NEXT Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum NEXT n DER ERR SD V C z 1] zzz Instruction format Number of steps 38 Condition Steps NEXT n 2 Bit W ord Double w ord Usable I/O XY R, M TD, SS, CU, CT [...]
-
Страница 158
Chapter 5 Instruc tion Specif ications 5-108 Syntax of FOR to NEXT FOR 1 (WR0010) NEXT 2 NEXT 5 FOR 5 (WM04F) Progr am Progr am Progr am Progr am Progr am NEXT 3 FOR 3 Progr am Progr am Progr am FOR 3 (WR10) NEXT 3 SB1 NEXT 2 FOR 3(WR0003) RTS SB2 NEXT 3 FOR 4(WR0004) RTS INT0 NEXT 4 NEXT 1 RT1 FOR 1(WR0001) FOR 2(WR0002) END FOR3 Progr am FOR 1 (W[...]
-
Страница 159
Chapter 5 Instruc tion Specif ications 5-109 Item number Control instructions-8 Name Call subroutine Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum CAL n DER ERR SD V C z 1] zzz Instruction format Number of steps 24 Condition Steps CAL n 2 Bit W ord Double w ord Usable I/O XY R, M TD, SS[...]
-
Страница 160
Chapter 5 Instruc tion Specif ications 5-110 Item number Control instructions-9 Name Start subr outine program Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum SB n DER ERR SD V C z 1] zzz Instruction format Number of steps 0.5 Condition Steps SB n 1 Bit W ord Double w ord Usable I/O XY R,[...]
-
Страница 161
Chapter 5 Instruc tion Specif ications 5-111 Item number Control instructions-10 Name End of subroutine program (RETU RN SUBROUT INE) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum RTS DER ERR SD V C zzzzz Instruction format Number of steps 25 Condition Steps RTS 1 Bit W ord Double w ord[...]
-
Страница 162
Chapter 5 Instruc tion Specif ications 5-112 Item number Control instructions-11 Name Start interrupt s can prog ram (INTERRUPT) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum INT n DER ERR SD V C zzzzz Instruction format Number of steps 0.5 Condition Steps INT n 1 Bit W ord Double w ord[...]
-
Страница 163
Chapter 5 Instruc tion Specif ications 5-113 Item number Control instructions-12 Name End interrupt sc an progra m (RETU RN INT ERRUPT) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum RTI DER ERR SD V C zzzzz Instruction format Number of steps 0.5 Condition Steps RTI 1 Bit W ord Double w [...]
-
Страница 164
Chapter 5 Instruc tion Specif ications 5-114 Syntax of SB n, RTS, INT n and RTI SB 1 RTS SB 2 RTS RTS RTS RTS SB 10 SB 11 SB 12 END INT 1 RTI INT 2 RTI Progr am SB n RTS Progr am INT n RT1 CAL 1 CAL 1 END SB 2 CAL 1 RTS SB 1 RTS INI 0 CAL 1 RTI SB 1 JMP 1 SB 2 SB 3 JMP 1 LBL 1 RTS SB 1 JMP 1 SB 2 JMP 1 SB 3 LBL 1 RTS INT 0 JMP 1 INT 1 INT 2 JMP 1 L[...]
-
Страница 165
Chapter 5 Ins truction spec ifications 5-115 Item number Transfer comm an d-1 Name Genera l purpose port c ommunic ation comm and Ladder format Condition code Pr ocess ing ti me ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum TRNS 0 (d, s , t) DER ERR SD V C ↕ zzzz Command format Number of steps Condition Steps TRNS 0 (d, s , t) -5 8 0 2[...]
-
Страница 166
Chapter 5 Ins truction spec ifications 5-116 [3] A ddress of sending a rea : Addre ss number and address ty pe are c onfigured in 2 w ords as below . s+4 s+5 T yp e : WR → H0 00A I/O No.: H 0000 - WM → H000C [4] Rese rved data siz e for da ta sending. : This is not actua l data size but re serv ed size . Set it by "Word". [5] Addr ess[...]
-
Страница 167
Chapter 5 Ins truction spec ifications 5-117 * 1 Received data is defined by either of follow ing 4 way s dep ending on setting in [ 7] s+A to [9 ] s+C. (a) Start code a nd data size *2 s+A : Da ta length (By te) s+B : H80 ( =Start c ode) s+C : H 0000 (b) Sta rt and end code *2 s+A : H0000 s+B : H80 ( =Start c ode) s+C :[...]
-
Страница 168
Chapter 5 Ins truction spec ifications 5-118 [9] Tim eout : This bit is set "1" when timeout dete cted. [A] Input buff er full : This bit is s et "1" w hen input buffe r full [B] Conflict error : This bit is s et "1" whe n TRN S 0 or RECV 0 com mands are duplicated. Bit [6] to [ B] is reset at initializing and TRNS 0 e[...]
-
Страница 169
Chapter 5 Ins truction spec ifications 5-119 Sample program Description TRN S 0 param eter and se nt data are conf igured at 1 st scan b y R7E3 contact . When the s witch is ON, e xecution bit R 0 is ON, and da ta is sent out from CPU port. TRNS 0 (d, s, t) R7E3 WM103 = 0 WM104 = H 000A WM105 = H 0000 WM106 = 16 WM107 = H 000A WM108 = H 0100 WM109 [...]
-
Страница 170
Chapter 5 Ins truction spec ifications 5-120 TRNS /RECV command return code table Retur n code Name D escription Countermeasure H00 Comp leted prop erly Op erat ion comp leted wi thou t err or - H21 Range err or Param eter "s" and "t" is out of av ailable I /O range . H22 Reserve area for sendi ng setting error Parame ter s etti[...]
-
Страница 171
Chapter 5 Ins truction spec ifications 5-121 Item number Transfer comm an d-2 Name Genera l purpose port c ommunic ation comm and Ladder format Condition code Pr ocess ing ti me ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum RECV 0 (d, s, t) DER ERR SD V C ↕ zzzz Command format Number of steps Condition Steps RECV 0 (d, s, t) -5 8 0 2,0[...]
-
Страница 172
Chapter 5 Ins truction spec ifications 5-122 [3] A ddress of sending a rea : Addre ss number and address ty pe are c onfigured in 2 w ords as below . s+4 s+5 T yp e : WR → H0 00A I/O No.: H 0000 - WM → H000C [4] Rese rved data siz e for da ta sending. : This is not actua l data size but re serv ed size . Set it by "Word". [5] Addr ess[...]
-
Страница 173
Chapter 5 Ins truction spec ifications 5-123 (6) "t" param eter : Se t by use r [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [A] [B] t t+B [0] Exec u tion bit: Set "1" by user program to send data. This bit is reset a fter comm unication complete d. [1] Com munication com pleted : This bit is s et "1" whe n comm unication c[...]
-
Страница 174
Chapter 5 Instruc tion Specif ications 5-124 Item number FUN instructions-1 Name Ge neral purpose port s witching Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 5 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 114 - Condition Steps FUN 5 (s) — 3 Bit W ord Double w ord U[...]
-
Страница 175
Chapter 5 Instruc tion Specif ications 5-125 Item number FUN instructions-2 Name I/O re fre sh (A ll points) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 80 (s) DER ERR SD V C * (ALREF (s)) ↕ zzzz Instruction format Number of steps 432 Condition Steps FUN 80 (s) — 3 * (ALREF (s[...]
-
Страница 176
Chapter 5 Instruc tion Specif ications 5-126 Item number FUN instructions-3 Name I/O re fresh (Input/output) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 81 (s) DER ERR SD V C * (IOREF (s)) ↕ zzzz Instruction format Number of steps 244 Condition Steps FUN 81 (s) — 3 * (IOREF (s[...]
-
Страница 177
Chapter 5 Instruc tion Specif ications 5-127 Item number FUN instructions-4 Name I/O Refresh (slot) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 82 (s) DER ERR SD V C * (SLREF (s)) ↕ zzzz Instruction format Number of steps 311 Condition Steps FUN 82 (s) — 3 * (SLREF (s)) Bit W [...]
-
Страница 178
Chapter 5 Instruc tion Specif ications 5-128 Notes • Set the unit num ber (0 to 3) and slot number (0 to 1) af ter s+1. For other set va lues, DER is set to “1” and that slot w ill not be proce ssed. • If there is no I/O assignment to the desig n ated slot, DER is set to “1” and that slot w ill not be processed. • If the number of s+n[...]
-
Страница 179
Chapter 5 Instruc tion Specif ications 5-129 Item number FUN instructions-5 Name High- speed Counte r Operation Control Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 140 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 147 Condition Steps FUN 140 (s ) — 3 Bit W ord D[...]
-
Страница 180
Chapter 5 Instruc tion Specif ications 5-130 Item number FUN instructions-6 Name High- speed C ounter Coincide nce Output Control Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 141 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 138 Condition Steps FUN 141 (s ) — 3 B[...]
-
Страница 181
Chapter 5 Instruc tion Specif ications 5-131 Item number FUN instructions-7 Name High- speed Counte r Up-Count/Down- count Control (Sing le phase c ounter only) Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 142 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 156 Condi[...]
-
Страница 182
Chapter 5 Instruc tion Specif ications 5-132 Item number FUN instructions-8 Name High- speed Counter C urrent Value Repl acement Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 143 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 175 Condition Steps FUN 143 (s ) — 3 Bi[...]
-
Страница 183
Chapter 5 Instruc tion Specif ications 5-133 Item number FUN instructions-9 Name High-s peed counter curre nt value reading Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 144 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 132 Condition Steps FUN 144 (s ) — 3 Bit W o[...]
-
Страница 184
Chapter 5 Instruc tion Specif ications 5-134 Item number FUN instructions-10 Nam e High-s peed counter curre nt value clea r Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 145 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 157 Condition Steps FUN 145 (s ) — 3 Bit W [...]
-
Страница 185
Chapter 5 Instruc tion Specif ications 5-135 Item number FUN instructions-11 Nam e High- speed c ounter preset Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 146 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 162 Condition Steps FUN 146 (s ) — 3 Bit W ord Double w o[...]
-
Страница 186
Chapter 5 Instruc tion Specif ications 5-136 Program example R6 LD R6 AND DIF6 [ WR60 = H100 WR61 = 5000 WR62 = 10000 FUN 146 ( WR60 ) ] DIF6 WR60 = H0100 WR61 = 5000 WR62 = 10000 FUN 146 (WR60) Program description • Sets both the on- prese t value and off-pr eset value in the counter No. 1. Sets 5000 f or the on-preset value and 10000 f o r the [...]
-
Страница 187
Chapter 5 Instruc tion Specif ications 5-137 Item number FUN instructions-12 Nam e PWM opera tion control Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 147 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 135 Condition Steps FUN 147 (s ) — 3 Bit W ord Double w ord Us[...]
-
Страница 188
Chapter 5 Instruc tion Specif ications 5-138 Item number FUN instructions-13 Nam e PWM Freque ncy on-duty changes Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 148 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 173 Condition Steps FUN 148 (s ) — 3 Bit W ord Double [...]
-
Страница 189
Chapter 5 Instruc tion Specif ications 5-139 Notes • If a value other than H 01 to H04 is spec ified as the P WM output num ber, and if the on-duty value is outside the e ffec tive range, DER w ill be set to “1” and no proce ssing will be perf ormed. • If the e xternal I/O corresponding to the PWM output number is s et to a f unction other [...]
-
Страница 190
Chapter 5 Instruc tion Specif ications 5-140 Item number FUN instructions-14 Nam e Pulse output control Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 149 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 149 Condition Steps FUN 149 (s ) — 3 Bit W ord Double w ord Usab[...]
-
Страница 191
Chapter 5 Instruc tion Specif ications 5-141 Item number FUN instructions-15 Nam e Pulse freque ncy output setting changes Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 150 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 217 Condition Steps FUN 150 (s ) — 3 Bit W or[...]
-
Страница 192
Chapter 5 Instruc tion Specif ications 5-142 Notes • If the pulse output number is set to a va lue other than H01 to H04, DER will be set to “ 1 ”and no proce ssing will be perf ormed. • If the e xternal I/O corres ponding to the pulse output number is set to a function othe r than pulse output, DER will be set to “1”and no proc essing [...]
-
Страница 193
Chapter 5 Instruc tion Specif ications 5-143 Item number FUN instructions-16 Nam e Pul se outp ut with accel eration /deceleratio n Ladder format Condition code Proces sing t ime ( µ s) Remark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 151 (s) DER ERR SD V C ↕ zzzz Instruction format Number of steps 919 Condition Steps FUN 151 (s ) Bit W [...]
-
Страница 194
Chapter 5 Instruc tion Specif ications 5-144 Notes When this ins truction is exec uted, the m aximum frequenc y is stored in the special internal output’s pulse output f requency (WRF072 to W FR075), and the num ber of output pulse s is stor ed in the spe cial internal output’s number of output pulses (WRF07A to WRF07D) re spectively . This ins[...]
-
Страница 195
Chapter 5 Instruc tion Specif ications 5-145 Item number FUN instructions-17 Nam e BO X c o mmen t Ladder format Condition code Proces sing t ime ( µ s) Rem ark R7F4 R7F3 R7F2 R7F1 R7F0 Aver age Maximum FUN 254 (s) DER ERR SD V C * (BOX C (s) ) zzzzz Instruction format Number of steps Condition Steps FUN 254 (s ) 3 * (BOX C (s) ) Bit W ord [...]
-
Страница 196
Chapter 5 Instruc tion Specif ications 5-146[...]
-
Страница 197
Chapter 6 I /O Spec ificati ons 6-1 Chapter 6 I/O Specifications T able 6.1 lists the input/out put class ific ations and input/o utput point ty pes that ca n be used w ith the MIC RO-EH T able 6.1 Usable I/O classificat ions and poin t types 10-point type 14-point type 23-point type 28-point type Item Function Symbol Size 10/16 Name Num ber of poi[...]
-
Страница 198
Chapter 6 I /O Spec ificati ons 6-2 6.1 I/O Assignment I/O as signm ent and I/O address a re liste d below . Table 6.2 I/O assig nment and I /O ad dress T ype I/O assignmen t 10-point type 14-point type 23-point type 28-point type Slot 0 : X48 X0-5 X0-7 X0-12 X0-15 Slot 1 : Y 32 Y100-10 3 Y100-10 5 Y100-109 Y 100-1 1 1 Digital Slot 2 : Empty - - - [...]
-
Страница 199
Chapter 6 I /O Spec ificati ons 6-3 6.2 External I/O Numbers When starti ng an operat ion of the M ICRO-EH, a user program is executed (scanned) after the inpu t refresh pro cessing (receiving e xternal inp ut data) is performed. Op erations are p erformed accordin g to the conten ts of the user program, and the nex t input refres h proces sing a n[...]
-
Страница 200
Chapter 6 I /O Spec ificati ons 6-4 The following e xplains th e external I/O assign ment. The external I/ O numbers for the MI CRO-EH system are expressed with the f ollowing conv entions. T able 6.6 List of external I/O cla s sificat ion and data ty pe Classificat ion I/O class ification Data ty pe Remarks X External input Bi t type Corresp onds [...]
-
Страница 201
Chapter 6 I /O Spec ificati ons 6-5 6.3 I nternal Output Numbers Mem ory is av ailable a s an internal output a rea in the C P U m odule. There are three are as: bit dedicat ed area (R), word dedicate d area (W R), and bit/word share d area (M/W M). T able 6.8 List of I/O number conventi ons for external I/O Data type Number ing conventio n Example[...]
-
Страница 202
Chapter 7 Program ming 7-1 Chapter 7 Programming 7.1 Memory Size and Memory Assignment T able 7.1. Lists the program ming spec i fic ations f or the MICRO-EH. T able 7.1 Program ming specificat ions No. Item 10/14- point type 23/28-poi nt type 1 Program size 3 k steps (30 72 steps) 2 Instructi on size 32 bits/ 1 step 3 Mem or y s pecifica tion SR A[...]
-
Страница 203
Chapter 7 Program ming 7-2 7.2 Programming Devices The f ollowing me thods are used to create the us er progra ms. T able 7.2 Program ming methods No. Programming d evice us ed Concept of operatio n Remarks 1 Person al computer so ftware (LADDER EDITOR, etc.) [For of f-line/on-line operation ] Creat es an I/O assignment ta ble, inputs the pr ogram [...]
-
Страница 204
Chapter 7 Program ming 7-3 7.3 Programming Methods The f ollowing s hows the sy stem config uration using a personal com puter an d the proc edures for crea ting a user pr ogram usin g personal co mputer software. P lease not e that cables d iffer depending on the personal co mputer and software u sed. T able 7.3 Syste m configura tion using a pers[...]
-
Страница 205
Chapter 7 Program ming 7-4 T able 7.4 List of procedures for cre ating a progra m Create new program Modify T est operation, adju stment Item Off-lin e Off-line O n-line On-direct Out-line of opera-ting procedure OK N G Start Select off-line Initialize PLC CPU type: Specify H-302 Memory type: Specify RAM-04H Create I/O assignm ent Create program Pr[...]
-
Страница 206
Chapter 7 Program ming 7-5 The us er prog ram is managed in c ircuit units . One cir cuit c an describe nine conta ct poi nts (a-ty p e conta ct poi nt or b-ty pe contact p o int) a nd seve n coils as shown in the f igure below . Figure 7.1 S ize of one circuit Or , one relati onal box ca n be describe d using the width of three c ontac t points. T[...]
-
Страница 207
Chapter 7 Program ming 7-6 In addition, if loop sym bols are used, a circuit co ntaining up to 5 7 con tact poin ts and one c o il can be entered within se ven lines. Howev er , an OR circ uit cannot be input after a loop. * * * * * * * * * * * * Figure 7.3 Ex ample when using loop symbols A processin g box can b e placed at th e coil posit ion. Th[...]
-
Страница 208
Chapter 7 Program ming 7-7 7.4 Program T ransfer The MICRO-EH stores the user prog rams written f ro m the periphera l units in the ex ecution mem o ry (RAM). T h en, it transfers the user programs to the FLASH memory (bac kup memory) utiliz ing the i dle time of the M P U in the interna l area of the MICRO- EH. This is perform ed regardles s of op[...]
-
Страница 209
Chapter 7 Program ming 7-8 Note 1) The follow ing lists the special inte rnal out puts for various se ttings that can be transferre d to the back up memory by th e Memory Request for V arious Setting s Flag (R7F6). T able 7.5 List of special interna l outputs that can b e stored No. Special internal outp ut that can be stored Function 1 WRF01A Dedi[...]
-
Страница 210
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-1 Chapter 8 H igh-speed co unter , PWM / Pulse train output and Analogue I/O The MICRO-EH opera tes in four operation m odes. By selecting the proper operation m ode, input/outpu t points can be assigne d to the counte r input, interr upt input, pu lse out put, and PWM [...]
-
Страница 211
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-2 8.1.2 Operation M ode Selec t one m ode from the 5 modes s hown in T able 8.1 (m ode 10 des cribed in follow ing pages .) and set the mode num ber in the speci al intern al output WRF07 0 when the CPU i s in STOP status. *1: If param eter in WRF070 is not sav ed by R7[...]
-
Страница 212
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-3 8.1.3 Input/Output Se tting Configure each I/O setting in the special internal output (WRF071) and ma ke it effective by setting R7F5 ON in CPU STOP stat us. This information is n ormally reset at every power on, b ut this c an be sa ved in the FLASH memory b y settin[...]
-
Страница 213
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-4 8.1.4 Input/ Output Setting (Mode 10) Mode 1 0 had been a dded since Ve r. 01.13. I /O assignm ent of mode 10 is very flex ible as follows . Paramete r setting is compatible w ith existing m ode 0 to 3 exc ept for WRF071. Opera tion of FUN command (FUN 140 - 150) is s[...]
-
Страница 214
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-5 8.1.5 Special Output O peration i n CPU STOP Status Ge nerally the c ounter output, P WM out put and pulse output are not g enerated if the CPU is in the STO P state. T o output these ou tputs when the CP U is in the STOP state, turn on the special int ernal output R7[...]
-
Страница 215
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-6 8.2 High-Speed Counter (S ingle-Phase ) The high-sp eed coun ter settings are stor ed in the special internal outputs (WRF070 to 7 E). It is only possib le to perform the setting thr ough the s pecial interna l output (WRF07 1) when the C PU is stoppe d and t h e outp[...]
-
Страница 216
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-7 Others 7] The us er prog ram can switch f rom using a c ounter as an up cou n ter to a dow n counter , as w ell as from a down counter t o an up counte r while the cou nter is operating (using FUN1 42). * The counter output does not tur n on unless t he control output[...]
-
Страница 217
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-8 8.2.2 Setting of Sing le-Phase Count er If e ither one of operation m odes 1, 2, or 3 is sele cted, the s ingle-phas e counter s hould be set using t he special inter nal output (WRF072 to WRF07E). In or der to make the contents of the various settings v alid, it is n[...]
-
Страница 218
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-9 (4) Setting the counter preload When pr eloading is u sed, th e value to be prel oaded should be set for each count er used. Any value i n the ran ge from 0 to FFFFH (0 t o 65,53 5 ) can be set. WRF07A: Preload value for coun ter 1 WRF07B: Preload value for coun ter 2[...]
-
Страница 219
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-10 8.3 High-Speed Counter (T wo-Phase Counte r) When ope ration m ode 3 is se lected, two-pha se counters can be used. Four kinds of phase counti ng modes a re available for tw o-phase counte rs. The se ttings of the tw o-phase counters a re stored in the special intern[...]
-
Страница 220
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-1 1 (2) Phase co unting mode 1 In this m ode the counter counts at the risi ng edge of input 1A . At this poi nt, if input 1B is 0 (Low) it c o unts up, and if input 1B is 1 (Hig h) it counts down. Figure 8.15 C ounting operation of phase count ing mode 1 Input 1A Input[...]
-
Страница 221
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-12 (4) Phase co unting mode 3 In this m ode the counter co unts at the rising and falling e dge of input 1B. It counts up w h en inp ut 1A is more a h ead of input 1B, a nd down w hen input 1A is lagging be hind input 1B. Figure 8.17 C ounting operation of phase count i[...]
-
Страница 222
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-13 8.3.2 Setting of T wo-Phase Cou nter The se tting of the tw o-phase counters a re store d in the spec ial internal outputs (W RF072 to WRF07 E). (1) Phase co unting mode Set th e phase coun ting mode (0 -3) in WRF06E . Please see the ch apter 8.3.1 ab out ph ase coun[...]
-
Страница 223
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-14 (5) Individ ual counter setting The on-p reset and o ff - preset valu es can be ch anged for each t wo-phase cou nter by the special intern al output for individual se tting (WRF058) reg ardless of whether the CPU is opera ting or stoppe d. T u rn on the correspon di[...]
-
Страница 224
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-15 8.4 PWM Output A PWM out put can be set as an output by setting the opera tion mode a nd output term inal. By setting an output to a PW M outpu t, a pulse with a duty ratio in the range that corresponds to t he specified frequ ency can be o utput. 8.4.1 Operation o f[...]
-
Страница 225
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-16 8.4.2 Setting the P W M Output The setting s of the PWM out put operation are stored in the spe cial interna l outputs (W RF072 to WRF079). (1) Setting the PW M outp ut frequency Set the frequency of output pulse for each PWM output to be used in sp ecial internal ou[...]
-
Страница 226
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-17 (3) Effec tive range of P W M output on-d uty values When correc ting on-duty v alues by se tting the va lue that corresponds t o the CPU mode l in the s pecial internal output (WRF06B) f or setting PW M/pulse outp ut correcti on, the ef fective rang e of the on-duty[...]
-
Страница 227
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-18 8.5 Pulse Train Output A pulse out put can be assig ned to an output by setting an output terminal. By setting an output to pulse outp ut, a spe cifie d numbe r of consec utive pulse s with a duty ratio of 30 t o 70 % can be output. ((T o outp ut a puls e ha ving a d[...]
-
Страница 228
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-19 T o change the num ber of output pulses, the follow ing operation w ill be perf or me d: 1] When the n umber of pulses is to be changed t o a value lar ger than the number of pulses curr ently being output, pulses will be output until the number of newly changed pul [...]
-
Страница 229
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-20 (4) At setting abnormality If the sum of the frequencies o f the pulse o utputs is set t o exceed 5 k when the P I/O function setting flag (R7F5 ) is turned on, the bit for the tota l puls e frequency abnorma lit y in the error displ ay special interna l output tur n[...]
-
Страница 230
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-21 8.6 Interrupt Input When either operation mode 0, 1, or 3 is selected, it is p o ssible to assig n an interrupt i n put to X1, X3, X5, and X7 by the specia l internal out put (W RF07F). (The 10-point ty pe CPU does n ot ha ve X7.) It is only possible to set them by t[...]
-
Страница 231
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-22 8.8 Potentiometers CPUs othe r than of the 10-p oint ty pe are equippe d with two po tentiometers . Through t he use of these potenti ometers, it becomes possi ble to change valu es in the sp ecial internal outputs fro m the outside usin g a tool that loo ks like a s[...]
-
Страница 232
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-23 8.9 Analogue Input The 23-p oint type C P U is e quipped w ith two poi nts of ana logue input. The input to t hese two poi nts can be s et to voltag e input or curre nt input indiv idually . The setting of current or voltag e input is made in the special inter nal ou[...]
-
Страница 233
Chapter 8 Hig h-speed counter, P W M / Pu lse train out put and Analogu e I/O 8-24 8.11 Analogue Ex pansion unit Ana logue e xpansion module has 4 ch. of ana log input and 2 ch. of analog output , which is co nfigured by dip switche s. Range sett ing Analog ue input range setting (Com mon for all in put channels.) Sw1 Sw 2 Range Remarks of f of[...]
-
Страница 234
Chapter 9 PLC Operation 9-1 Chapter 9 PLC Operation The ope rating status and stop status of the MICRO-EH can be sw itched throug h various ty pes of oper ations. T h is f eature is show n in Figure 9.1. Stop status Switc h “STO P” or operation def inition input “OFF” Switch “RUN” and operation def inition input “ON” Switch “ STOP[...]
-
Страница 235
Chapter 9 PLC Operation 9-2 9.1 RUN Start When the MICRO-E H sw itches to the opera ting sta te, the user prog ram is ex ecuted in sequenc e from the beginning. T h e user prog rams c onsist of a norm al scan prog ram and pe riodical scan pr ogram . In addition to these progra ms , there is a subroutine a rea defi ned as a subroutine . Table 9.2 Pr[...]
-
Страница 236
Chapter 9 PLC Operation 9-3 Each prog ram is executed in the order of the prior ity s hown in Fig u re 9.2. Eac h program is executed w hile monitoring the execut ion ti me of each program area. If the monit ored time exceeds th e specified t ime, this causes a co ngestion error and opera tion stops. When continue d operation has bee n specifie d, [...]
-
Страница 237
Chapter 9 PLC Operation 9-4 (2) Causes of congestion errors at normal scan Congestio n errors may occur at no rmal scan because of th e following three p ossibl e reasons. In particular when using a period ical scan p rogram and an in terrupt scan pro gram together, care must be taken to create t he program in su ch a way that t he tot al scan time[...]
-
Страница 238
Chapter 9 PLC Operation 9-5 9.1.2 Periodical Scan (1) Definition and operation This scan execut es interrup t programs (perio dical scan programs) while the CP U is op erating with a fixed cycle time (10 ms , 20 ms, or 40 m s) specif ied by the us ers. Enter the pe riodical s can program to be exec u ted betw een instructions I NT0 and RT1 if it sh[...]
-
Страница 239
Chapter 9 PLC Operation 9-6 (3) Continuation of operation after a congestion error If a conge stion error oc curs when the s pecial internal output bit R 7 C1, w hich speci fie s whe ther the operation should continue af ter a cong estion err o r, is turne d on, the exe cution of the periodic al scan is st opped and the pe riodical sca n is exe cut[...]
-
Страница 240
Chapter 9 PLC Operation 9-7 (3) Continuation of operation after a congestion error occurred If an interrup t scan con gestion error o ccurs when th e special int ernal out put b it R7C2, which specifies whether the operation s hould continue af ter a conge stion error, is turned on, the inte rrupt scan is sta rted ane w and the scan is exe cuted f [...]
-
Страница 241
Chapter 9 PLC Operation 9-8 9.1.4 Relationship of Each Scan Type When three t ypes of scan occur at t he same time, scan is executed in the o rder of peri odical scan , then interru pt scan, an d then n ormal scan. Figure 9.15 Relational diagram of scan operation Table 9.3 List of interrupt label Interrupt label Cause of startup Interrupt label Cau[...]
-
Страница 242
Chapter 9 PLC Operation 9-9 9.2 Online Change in RUN The us er progr am s can be modif ied during opera tion while r etaining the output status as is. T his is called the “progra m change while running” function. T o modify the user prog rams, s p ecia l program ming sof tware or progra mm er is require d. Ref er to the individual m anuals on t[...]
-
Страница 243
Chapter 9 PLC Operation 9-10 9.3 Instantaneous Power Failure The f ollowing show s operation w hen the power supply to the MICRO-EH s huts off . 24 V DC ON OFF 1.2 s 1.0 s RUN Power o n 2 s Reset processing STOP statu s RUN stat us (Starts o perat ion) A C power supply Inte rnal 5 V DC Intern al rese t MICRO- EH operation Instantaneous pow er failu[...]
-
Страница 244
Chapter 9 PLC Operation 9-11 9.4 Operation Parameter The setting s of “param eters,” which ar e required to perf orm tasks such a s creating programs, transf erring program s to the CPU, are perform ed. The setting contents are explai ned below . Item Function Description W hen to use the function 1 Password { Regist er a pa ssw ord to a progra[...]
-
Страница 245
Chapter 9 PLC Operation 9-12 9.5 Test Operation (1) Verification of interlock Verif y perf ormance of the interloc k in case of unexpecte d incidents. Creat e ladder s such as an emerg ency st op circuit, pr otective circuit and interloc k circuit outside the progra m controller. For the rela y output m odule, howev er, do not control the rela y dr[...]
-
Страница 246
Chapter 10 PLC Inst allation, Mounting, W iring 10-1 Chapter 10 PLC Installation, Mounting, Wiring 10.1 Installation (1) Installa tion location and environ ment (a) When installing t he MICRO-EH, use the uni t under the env ironment w ithin the gene ral specif ication. (b) Mount the P LC onto a metal plate . (c) Install the PLC in a sui table enclo[...]
-
Страница 247
Chapter 10 PLC Inst allation, Mounting, W iring 10-2 Securin g the unit Secure the u nit by installing DIN rail fixing bracke ts from both sides. (T he product may m ove out of pla ce if not secu red with the fixi ng brackets. ) Removing the unit from the DIN rail 1] 2] While low ering the DIN rail attachm ent mounting leve r 1], lif t the unit upw[...]
-
Страница 248
Chapter 10 PLC Inst allation, Mounting, W iring 10-3 10.2 Wiring (1) Separation of the power sy stem The pow er supplies inc lude pow er for the MIC RO-EH m ain unit/p owe r for the I/ O signa ls/powe r for g eneral equipm ent. These pow er supplies shou ld be wire d from se parate systems as much a s possible . When the se pow er supplies a re sup[...]
-
Страница 249
Chapter 10 PLC Inst allation, Mounting, W iring 10-4 (3) Wiring to t he power module 100 V AC to 240 V AC Power supply for the se nsor Power leakage breaker Shielded insulate d transformer Noise filter Figure 10.4 Pow er supply w iring diagram (a) For power supply wiring, use a cable of 2 mm 2 or mor e to prev ent a volta ge drop from occurrin g. ([...]
-
Страница 250
Chapter 10 PLC Inst allation, Mounting, W iring 10-5 (5) Wiring to t he input termin als DC input AC input 3] 4] 6] C1 0 V C0 5] 7] 24 V DC 0] 24+ 2] 1] Cu rre nt o ut p ut t ype Proxi mity switch Ex ampl e of 1 4-p oin t ty pe ③④ ⑥ C 1 C0 ⑤⑦ 0 ② ① Ex ampl e of 1 4-p oin t ty pe Figure 10.5 In put wiring (a) DC in put 1] When all inpu[...]
-
Страница 251
Chapter 10 PLC Inst allation, Mounting, W iring 10-6 (6) Wiring to t he output termin als Item Relay outp ut EH-*XXDR** External wir in g FUSE 1] 2] 4] C2 POW C 1 3] 5] POW C0 0] FUSE 1] 2] 4] C 2 POW C1 3] 5] POW C0 0] Figure 10.6 R elay output wiring Item T ransistor out put (sink type) (EH-*XXDT**) External wir in g FUSE NC 3] 5] C POW 2] 4] V P[...]
-
Страница 252
Chapter 10 PLC Inst allation, Mounting, W iring 10-7 (a) W iring to the relay output terminals 1] Life of relay c ontacts Life curve o f relay contacts 500 100 10 1 01 45 50 20 6 3 2 1000 AC 125 V cos φ =1 AC 125 V cos φ =0.7 AC 125 V cos φ =0.4 Switching life (10,000 ti mes) Contact switchin g curre nt ( A ) Figure 1 Life ch a racteristi cs (12[...]
-
Страница 253
Chapter 10 PLC Inst allation, Mounting, W iring 10-8 (7) Wiring to t he unit terminals NF Wir ing fo r the power supply Use a 2 mm 2 cable and twi s t it. Leave a distance of 100 mm or more from the signal cable and 200 mm or more from the power line. Shield insulati on transformer AC power supply Connection of a noise filter is recom mended. Use a[...]
-
Страница 254
Chapter 11 Com m unication Specif ications 11-1 Chapter 1 1 Communication Specifications 11.1 Port function Port function of MICRO-EH is s hown in Table 11.1. Table 11.1 Communication port specification RS-232C RS- 422/485 Dedicated port Dedicated p ort Transmission procedure 1 Transmission proce dure 2 Port ty pe Transmission proce dure 1 Tran s. [...]
-
Страница 255
Chapter 11 Com m unication Specif ications 11-2 (1) Port 1 settin gs Port 1 is conf igured by combination of DIP switch a nd specia l register (WRF01A). DIP switc h can be set w hen cable is not connecte d (DR sig nal is off ). Switc h config uration is set at ca ble connected (DR is high). Value in WRF01A is saved in FLA SH memory when writing fla[...]
-
Страница 256
Chapter 11 Com m unication Specif ications 11-3 11.3 Port 2 The s pecif ications of port 2 a re listed in Ta ble 11.4. 1:n station c ommunic ation by the high protocol is possi ble w ith port 2. By c reating and including a control procedure base d on the high protocol on the personal c omputer w hich will be come the host, it becom es possible to [...]
-
Страница 257
Chapter 11 Com m unication Specif ications 11-4 (2) 1:n station communication on RS-485 When st ation num ber mode is us ed on RS-485, termina tion comm and (NA K FF) from host/PC can conflic t with re ply from CPU, and CPU can fail to receive this command. Pay attention to this possib ility at using this comm and. (3) Port 2 hardware The c ircuit [...]
-
Страница 258
Chapter 11 Com m unication Specif ications 11-5 11.5 Modem Control Function The 14-point or higher MICRO-EH is equipped with a mode m control func tion. The mode m control func tion can be operated using task code s. To use this f unction, it is necessary to set No.2 of the DIP SW. For details on the com munication spe cifications , see T able 11.1[...]
-
Страница 259
Chapter 11 Com m unication Specif ications 11-6 (2) List of commands (ex tract) 1] AT comm ands Command Function overview Ex ample AT A utomatically recognizes data format A/ Re-exec utes the response directly pr eceding ATA Forced recep tion ATDmm Dial AT D12345678 AT En Comm and echo (e cho bac k a te xt str ing ente red to modem ) 0: No [...]
-
Страница 260
Chapter 11 Com m unication Specif ications 11-7 (3) Sequence An e xam ple of a c o m munic ation seque nce using the O mron-m ade modem ME3314A is g iven be low. (a) R eception sequen ce MICRO-EH MICRO-EH MICRO-EH A TE0Q0V0&C1&S0 CR LF 0C R 2C R 3] 2C R 2C R 1C R AT A C R L F ER on Modem Modem Modem W aiting for recepti on Forced connection[...]
-
Страница 261
Chapter 11 Com m unication Specif ications 11-8 11.6 Connecting to the Ports The f ollowing show s some example s of connec tions betw een port 1 and 2 and per ipheral units . When creating a conn ection cable, ch eck it th orou ghly in advan ce accordin g to what t he pu rpose o f its use is. 11.6.1 Port 1 Port 1 of the MIC RO-EH is a comm unicati[...]
-
Страница 262
Chapter 11 Com m unication Specif ications 11-9 11.6.2 Port 2 Port 2 of the MIC RO-EH is a comm unication port that uses either the RS-422 or RS -485 protocol as interf ace. It is also a dedicat ed port w ith which to perf orm com munication by the H serie s dedica ted procedure (hig h protocol), which a llows 1:n station c omm unication. Figure 11[...]
-
Страница 263
Chapter 11 Com m unication Specif ications 11-10 MEMO[...]
-
Страница 264
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-1 Chapter 12 Error Code List and Special Internal Outputs 12.1 Error Codes The ta ble below indicates the se lf-diag nostic error c odes. (See Cha p ter 13, “T roubles hooting” about c orrective a ctions.) Error codes are o utput as h exadecimal valu es to th e special in ternal ou[...]
-
Страница 265
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-2 Related sp ecial internal output Error code Error name [detection ti ming] Classi fi -cation Descr iption RUN LED OK LED Ope- ration Bit W ord 5F Bac kup memory error [at progra m downloading and spec ial I/O f unction setting is requeste d] Warning Data cannot be w ritten to t he ba[...]
-
Страница 266
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-3 12.2 Syntax and Assembler Error Codes The f ollowing de scribe s the synta x and A ssembler e rror codes. T he error c odes are output a s hexadec imal value s to the internal output WRF001. The syntax and Assembler erro r checks are perfor med at the time of RUN startup . Error code[...]
-
Страница 267
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-4 12.3 Operation E rror Codes If an error occurs when a control i nstruction is execut ed, “1” is set in the operation error (ERR) speci al internal output “R7F3” and an error code (h exadecimal) in dicatin g the descript ion of the error is set in WRF01 5. T o clear the ope ra[...]
-
Страница 268
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-5 12.4 Bit Special In ternal Output Area The MI CRO-EH has a specia l internal out put area f or perform ing sta tus display and various other setti ngs. T he special intern al output area is con stantly backed up in case of po wer failure. The f ollowing lists the def initions of the [...]
-
Страница 269
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-6 No. Name Meaning Descr iption Settin g condition Resetting condition R7D7 Undef ined Do not use. R7D8 Undef ined Do not use. R7D9 Battery error 0: Norma l 1: Abnor ma l Indicate s whe ther battery voltage is low Set by the sy stem Cleared by the system *2 R7DA *1 Instantan eous power[...]
-
Страница 270
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-7 No. Name M eaning Descripti on Setting condition Resetting condition R7EB Clear retentive area 1: Clear reten tive area R7EC Clear error code 1: Clea r error code in WRF000 to F 00A, R7C8 to 7D E Set by user Cleared by the system R7ED Undefined Do not us e. R7EE Batter y error detect[...]
-
Страница 271
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-8 Table 12. 1 List of s pecial interna l outputs th at can be stored No. Special internal outp ut that can be stored Function 1 WRF01A Dedicate d port 1 Comm unication settings 2 WRF03C Dedicate d port 1 Mode m tim eout time 3 WRF03D Dedicate d port 2 Comm unication settings 4 WRF06B P[...]
-
Страница 272
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-9 12.5 Word Special Internal Outp ut Area The f ollowing lists the definitions of the word spec ial internal output are a (W RF000 t o WRF1F F). No. Name Storage dat a Descripti on Setting condition Resetting condition WRF 000 Self-diag nosis error code Error code (Hexadeci mal) WRF 00[...]
-
Страница 273
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-10 No. Name Storage dat a Descr iption Setting condition Resetting condition WRF 03C Port 1 Modem time out time a: Whether or n ot settings are pres ent 0=No setting 1=Setting is present Mod em timeout time: 1 secon d increments (set with hexadeci mal value) 0=No tim eout monitori ng S[...]
-
Страница 274
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-11 No. Name Stored data Description Setting condition Resetting condition WRF 057 Detailed inform ation of counte r setting errors a: Error in pulse freque ncy total b: Pulse 4 f requenc y c: Pulse 3 f requency d: Pulse 2 f requenc y e: Pulse 1 f requency f: Counter 4 pre set g: Counte[...]
-
Страница 275
Chapter 12 Error Co de List a nd Sp ecial Int ernal Outp uts 12-12 No. Name Stored data Descripti on Setting condition Resetting condition WRF 06B Pu lse and PWM output auto correction setti ng 01: For EH- *** DTP 02: For EH- *** DT 03: For EH- *** DRP 04: For EH-** *DRT The outp ut waveform s of the pulse s and PWM are au tomatically correct ed by[...]
-
Страница 276
Chapter 13 Tr oubleshooting 13-1 Chapter 13 T roubleshooting 13.1 Error Display and Actions The dis play locations of errors dete cted by individual devic e in the MICRO-EH sy stem are show n in Figure 13.1. When an error occu rs, take an acti on accord ing to the error cod e list. OK POW RUN LADDER ED ITOR for W indows® LADDER ED ITOR OK Lamp L/E[...]
-
Страница 277
Chapter 13 Tr oubleshooting 13-2 The following sh ows the range of th e special in ternal ou tput that is cl eared when R7E C is set to “1 .” No. Bit s pecial internal output No. W ord special inter nal output R7C8 Fatal error flag WRF000 Self-diagnostic error co de 9 Microcomputer erro r 1 Syntax/assem b ler error details A User m emory error [...]
-
Страница 278
Chapter 13 Tr oubleshooting 13-3 (2) Correctiv e actions w hen an error occurred The pr ocess flow w hen an error oc curred is shown below . Error oc curred Reference the bit special internal output (14- 1). Reference the w ord special internal output (14-2) . Reference the gr ammar/ assemble err or (WRF001) detailed data (13-2) and remove the err [...]
-
Страница 279
Chapter 13 Tr oubleshooting 13-4 Error code Error name Corrective action 61 P ort 1 transm ission error (parity) 62 P ort 1 transm ission error (fram i ng/overrun) Check the co nnect ion o f the conn ector cab le. Check the se ttings such as the transm ission speed. Check to see i f there are any sources of no ise near th e cable. 63 P ort 1 transm[...]
-
Страница 280
Chapter 13 Tr oubleshooting 13-5 13.2 Checklist w hen Abnormality Occurred If an error occurs i n the MI CRO-EH system , check th e following items. If there are no probl ems in the following it ems, contact our serv ice departm ent. (a) Power supply related item s • Is the pow er voltag e correct? (85 to 264 V AC) • Are there any wa rps in the[...]
-
Страница 281
Chapter 13 Tr oubleshooting 13-6 13.3 Procedures to Solve Abnormality The f ollowing s hows the proce ssing flow when a pr oblem has oc curred: Prob lem occ urred Bri ng the sy stem to a s afe condi tion Reco rd th e statu s Prob lem, A nalysis, P resumpt ion Major problems Verification points Typical causes of problem Reference item PLC will not s[...]
-
Страница 282
Chapter 13 Tr oubleshooting 13-7 (a) PLC will not start The C PU OK LED does not turn off even w hen power is started, nor peri pheral units c annot be connecte d on-line. Power supply check AC power supply type • AC power supply voltage (at the input t erminal) • DC power supply v oltage (at the output t erminal) DC power supply t ype • DC p[...]
-
Страница 283
Chapter 13 Tr oubleshooting 13-8 (b) Will not operate (w ill not run) Even if the PLC operation conditions are met, the CP U does not ope rate (the RUN LED does not turn on) a n d rem ains stopped. How ever, the pe ripheral units go on-line . Caution If the CPU is WRIT E-occupied, the CPU will not run even if the RUN switch is switche d from “ST [...]
-
Страница 284
Chapter 13 Tr oubleshooting 13-9 (c) Opera tion stopped (RUN s topped) During nor mal opera tion, the CPU suddenly stops (the RUN L ED turns off ). NO YES NO YES 13 12 11 1F Check t he power supply • Instant aneous power failure occur s • Po wer is sh ut of f o n t he expansion unit side Contact our service department if a fatal error occurs f [...]
-
Страница 285
Chapter 13 Tr oubleshooting 13-10 (d) Wrong input a t input module or no input (oper ation problem) The CPU runs , but the input data is not correc t. Check input signals • Input si gnal voltage • Input power s upply ty pe • Cable disc onnection • High-speed puls e is entered in a normal input NO YES YES NO Check input signals • Check inp[...]
-
Страница 286
Chapter 13 Tr oubleshooting 13-11 Data c annot be entered. I/O ass ignment error is gene rated, but data is read. NO YES YES NO YES NO NO YES Is there a wiring error, disconnec tion or loose screw on the terminal bl ock? Replace the termi nal block Contact our service department Contact our service department Perform rewi ring Check the wiri ng sys[...]
-
Страница 287
Chapter 13 Tr oubleshooting 13-12 (e) The c ounter input does not function The CPU oper ates, but the input data is incorrec t Set the operat ing mode for t he peripheral devic es Note: The operating mode can only be changed whi le the CPU is bei n g sto pp ed Set the I /O func tions on dev ices such as peripheral devic es Turn on the sett ing enab[...]
-
Страница 288
Chapter 13 Tr oubleshooting 13-13 (f) Wrong output from output m odule or output module w ill not output (operation problem ) The CPU ope rates , but output signa ls are not correct. Check t he output area • Forced output • I/O ass ignment • Program NO YES YES NO Check out put signals • Output si gnal voltage • Power supply voltage f or l[...]
-
Страница 289
Chapter 13 Tr oubleshooting 13-14 The CPU ope rates , but output signa ls are not detected. I/O as signm ent error occurr ed, but output is norm al. Replace the ex pansion cabl e Correct t he error YES NO Replace the ex pansion unit NO YES Are the program and I/O ass ignment corr ect? Is the ex pansion unit cable damaged? YES NO NO YES YES YES NO N[...]
-
Страница 290
Chapter 13 Tr oubleshooting 13-15 (g) The PWM and puls e output does not operate The C PU operates , but the pulse output and PWM output are not correct * Pulse output only. 2 kHz is the upper limit for P W M output. Turn on the sett ing enabling request fl ag ON using peripheral devices YES NO Set the operat ing mode f or the peripheral devices No[...]
-
Страница 291
Chapter 13 Tr oubleshooting 13-16 (h) Peripheral units proble m Peripheral units cannot be connec ted. Replace the c onnection c able Please c ontact our service departm ent. NO YES Expansion connect or check Expansion cable c heck YES NO YES NO YES NO Correct t he setti ng Set the C PU DIP SW to the com munic ation speed of the peripheral unitus e[...]
-
Страница 292
Chapter 14 Operation Ex amples 14-1 Chapter 14 Operation Examples To understa nd the basic operation of the MICRO-EH, this chapter e xplains sam ples of operations such as inputting sim ple program s and verif ying ope rations. The f ollowing prog ramm ing devic es can be use d: Peripheral unit name Form 1 H series ladder di agram instruction la ng[...]
-
Страница 293
Chapter 14 Operation Ex amples 14-2 S T E P 1 Starting the LADDER EDITOR for W indows® 1. Start the personal computer. Start the pe rsonal c omputer . 2. Start the LADDER EDITOR for Windows® sy stem (GRS screen). From the Start menu of Windows ® , click [Program] → [Hladder] → [Hladder]. As L ADDER ED ITOR for W indows ® is started, the GRS[...]
-
Страница 294
Chapter 14 Operation Ex amples 14-3 S T E P 2 Initialization Settings f or the CP U type , mem ory ty pe and I/O assignment a re performe d. 1. Setting the CPU ty pe Click [Utility ] → [Environment Settings] in the Menu ba r. Pull-down menu The Env ironment Setting dia logue box is displayed. Specif y the CPU type f rom the La dder tag. • Click[...]
-
Страница 295
Chapter 14 Operation Ex amples 14-4 2. Setting the memory ty pe Click [Utility ] → [CPU Setting] → [CPU Information] in the Menu ba r. The C PU Inform ation dialogue box is displaye d. Pull-down menu • Click the Mem ory Cassette/L adder Assign button and select the memory cassette size. • Click [Execute] or the [Memory /Execute] button. CPU[...]
-
Страница 296
Chapter 14 Operation Ex amples 14-5 [Setting from the I/O Assign List] 1] Double-clic k the cell for the unit num ber and slot num ber to be set. The A ssignment Setting dialogue box is display ed. The Assignment Setting dialogue box v 2] Click the W of the data and se lect I/O type from the pull-down dis play . 3] Click the [ OK ] button to c lose[...]
-
Страница 297
Chapter 14 Operation Ex amples 14-6 [Setting from the Slot Setting Status ] Click the [Slot] button to displa y the Slot Setting Status dia logue box . 1] Click the W of the unit and selec t the unit numbe r from the pull-down display . 2] Click the button of the s lot number to be s et. Slot Setting Status dialo gue box 3] Click the W of the data [...]
-
Страница 298
Chapter 14 Operation Ex amples 14-7 S T E P 3 Program Input 1. Input a program. At f irst, the output window displays “there is no program ” in the bottom lef t of the Read/Edit screen. The cursor , which indicate s the program input posit ion, is placed at the to p left of th e screen. Read/Edit scr een [Input procedur e of la dder program[...]
-
Страница 299
Chapter 14 Operation Ex amples 14-8 When the dialogue box closes, the sy mbol is display ed in the Rea d/Edit screen and the c ursor shifts. Display of symbol The c omm ent is display ed under the sy mbol. [Exam ple of entering a P roces sing Box] 1] The spe cification of the input position can be omitted w hen entering sy mbols into the sa me circ[...]
-
Страница 300
Chapter 14 Operation Ex amples 14-9 The input of the horizontal line sy mbol, w h ich conne cts betwee n sym bols, m ay be omitted. (Sy mbols are connected by horizontal lines by the autom atic wiring f unction at circuit w rite.) [Exam ple of ente ring a tim er] 1] Specif y the input position, or om it the specif ication if entering it in the sa m[...]
-
Страница 301
Chapter 14 Operation Ex amples 14-10 3] Input com parison expre ssion and com ment. 4] Click the [OK] button. Comparison Box property The c omm ent input is valid only for I/O num bers. In thi s example, enterin g a comment for the value on the right side of the expression w ill not generate a comment. Alway s en ter a space between an I/ O number [...]
-
Страница 302
Chapter 14 Operation Ex amples 14-11 S T E P 4 Checking Program Errors Check to see i f the program in th e mem o ry is correct. Click [Utility ] → [Check] in the Me nu bar. The Che ck dialogue box is displaye d. Pull-down menu • Click the [A ll items] or the individual che ck column t o specify the items to be checked . • Click the [Execute][...]
-
Страница 303
Chapter 14 Operation Ex amples 14-12 S T E P 5 Saving the Program Save the progr am and comm ent that has bee n cre ated to a f loppy disk . Click [File] → [Record] in the Menu bar, the Record ico n , or [File] → [Batch Record] . The dia logue f or Record or Batc h Record is display ed. Pull-down menu Record : Specify the file type and save. Ba[...]
-
Страница 304
Chapter 14 Operation Ex amples 14-13 S T E P 6 Program Transfer to CPU Write the program tha t has been input, to the CPU. How ever, v erif y the follow ing: • The C PU and the per sonal com puter connec tion cable are pr operly connected. • The C PU power is on. • CPU mode switc h is set to “STOP.” 1. Sw itching to online mode. Move to t[...]
-
Страница 305
Chapter 14 Operation Ex amples 14-14 The Conf irmation dial ogue box is display ed; click the [Yes] button and star t the CPU initialization. The Ex it dialogue box is display ed; click the [OK] button to close the dialog ue. 3. Transferring to the CPU Click [File] → [CPU write] in the Menu ba r. Pull-down menu Pro gram transfer CPU Read: PC (per[...]
-
Страница 306
Chapter 14 Operation Ex amples 14-15 S T E P 7 Monitoring (Verifying the Operation) Monitor the prog ram execution sta tus in the CPU. [Circuit monitor] Click [Mode] → [Monitor] in the Menu ba r. Pull-down menu The C onfirm ation dialogue box for the prog ram match check between P C and the CP U is disp layed. Click the [Yes] button. Match check [...]
-
Страница 307
Chapter 14 Operation Ex amples 14-16 The I/O monito r can be specified in the fol lowing two w ays. 1] Click [Edit] → [I/O monitor setting ] in the Menu bar. 2] Click the icon in the Sym bol bar. I/O Monitor dialogue box • Enter the starting I/O No. • Click the number of points to be monitored. • Click on eithe r the [Add] , [Insert] , or [[...]
-
Страница 308
Chapter 15 Daily and Periodic Inspection 15-1 Chapter 15 Daily and Periodic Inspections In order to use the f unctions of the MICRO-EH in the optim al conditions and ma intain the system to operate norma lly, it is ess ential to conduc t daily and per iodic inspec tions. (1) Daily inspection Verif y the follow ing items while the sy stem is running[...]
-
Страница 309
Chapter 15 Daily and Periodic Inspection 15-2 (4) Life of the battery • The batte ry life tim e is shown below . Battery life time (tota l power off time) [Hr] * Guaranteed valu e (Min. ) @55 ° C Actual valu e (Max.) @2 5 ° C 9,000 18,000 * Battery life time has been chang ed sinc e Oct. 2002 produc tion (MFG NO.02Jx x) due to hardw are modif i[...]
-
Страница 310
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-1 Appendix 1 H-Series Instruction Support Comparison Chart [Basic instructions and sequence instructions] No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 1 LD Start logi cal op erati on {{{{{{{{{ [...]
-
Страница 311
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-2 [Basic instructions and comparison boxes] No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 1 LD (s 1 == s2) = comparison box {{{{ {{{{{ 2 AND (s 1 == s2) = comparison box {{{{ {{{{{ 3 OR (s1 == s[...]
-
Страница 312
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-3 [Arithmetic instructions] No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 1 d = s Assignme nt statement {{{{{{{{{ 2 d = s1 + s2 Binary addition {{{{{{{{{ 3 d = s1 B+ s2 BCD addition {{{{{{{{{ 4 [...]
-
Страница 313
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-4 [Application instructions] (2/2) No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 18 XCG (d, d2, n) Blo ck exchange {{ ×× {{{{{ 19 NOT (d ) Reverse {{{{{{{{{ 20 N EG ( d ) Two' s c om pl e[...]
-
Страница 314
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-5 [High-function module transfer instructions] No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 1 TRNS 0 (d, s , t) Gene ral-purpo se port tr ansmission instruction { * { ××××× {{ 2 RECV 0 (d,[...]
-
Страница 315
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-6 [FUN instructions] (2/5) No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 1 6 FUN 32 (s) (BINHA (s)) Binary → hexadecim al A SCII conve rsion (16 bits) ××××× { × {{ 1 7 FUN 33 (s) (DBINHA[...]
-
Страница 316
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-7 [FUN instructions] (3/5) No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 45 FU N 81 (s) (IORREF (s)) Refresh I/O (input/output de signation) {{ ××× { ×× { 46 FU N 82 (s) (SLREL (s)) Refresh[...]
-
Страница 317
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-8 [FUN instructions] (4/5) No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 71 FU N 115 (FATAN ) Fl oating decima l point o peration (ARC TAN) × { ×××××× { 72 FU N 116 (FSQR) Fl oating decim[...]
-
Страница 318
Appendix 1 H-ser ies Instruc tion Support Com parison Chart A-9 [FUN instructions] (5/5) No. Instruction format Instruction name MI CRO- EH EH-150 H-64 ~ H-20 H-200 H-250 H-252 H-2000 H-700 H-300 H-2002 H-1002 H-702 H-302 H-4010 97 FU N 146 (s) P res et high-spe ed counter { ×××××××× 98 FU N 147 (s) PW M operatio n control { ×××××××?[...]
-
Страница 319
Appendix 2 Standards A-1 1 Appendix 2 Standards MICRO- EH products are global produc ts designed a nd manufa ctured for us e throughout the world. They should be insta lled and used in conf ormanc e w ith product-spe cific guide lines as w ell as the following a gency approvals and s tandards. Item Standards Industrial Contr o l Equipme nt[Safety ][...]