Instruction/ maintenance manual of the product FX1S Mitsubishi Electronics
Go to page of 120
PROGRAMMING MANUAL II THE FX SERIES OF PROGRA MMA BLE CO NTROLLER (FX 1S , FX 1N , FX 2N, FX 2NC ).
.
i FX Series Programmable Controllers Programming Manu al Manua l number : JY992D8 8101 Manua l revision : A Date : April 2000 FX Series Programmable Controllers Foreword • This manual c ontains tex t, diagrams and e xplanations which wil l guide the reader in the correct progr amming and oper ation of the PLC.
FX Series Programmable Controllers ii.
F AX BACK - Combined Programming Manual (J) Mit subishi has a worl d wide reput ation for i ts ef fort s i n continuall y developing and pus hing back the fron tiers of indus trial automat ion. What is somet imes overlooked by t he user is the car e and attention to detai l that is taken with the documentation.
FX Series Programmable Controllers iv.
FX Series Programmable Controllers v Guidelines for the Safety of the User and Protection of the Programmable Controller (PLC) This manual provides information for the use of t he FX family of PLC’s. The manual has been writt en to be used b y trai ned and competen t perso nnel.
FX Series Programmable Controllers vi.
i FX Series P rogramma ble contro llers Contents 1. Introduction ............................................. ........................ ....................... 1-1 1.1 Ov ervi ew ........ .... ..... .... ..... .... ..... .... .... ..... ...... ..... .
ii 3. STL P rogramming .................................. ........................ ....................... 3-1 3.1 What is STL, SFC And I EC1131 Part 3? ......... ........... ............. ........... ........... ...... 3-1 3.2 H ow STL Oper ates . ..
iii 4.11 High Speed Counters ......... ........... ........... ........... ............. ........... ........... ........... 4-22 4.11.1 Basic High Speed Counter Ope ration ... ............. ............. ............. ............. ............. . 4-23 4.
iv 5.3.9 WXOR (FNC 28) ... ............. ............. ............. ................... ............. ............. ............. . 5-31 5.3.10 NEG (FNC 29) ......................... ............. ............. ............. ............. ...........
v 5.9 External FX Serial Devi ces - Functions 80 to 89 ........ ........... .. ........... .. ........... .. 5-94 5.9.1 RS (FNC 80) ... ............. ............. ............. ............. ............. ................... ............. ........ 5 -9 5 5.
vi 6. Diagno stic Devices ................................. ........................ ....................... 6-1 6.1 PLC Statu s (M8000 to M8009 an d D8000 to D8009) ................... ................. ...... 6-2 6.2 Clock Dev ices (M8010 to M8019 and D8010 to D8019) .
vii 10.Points Of Technique ...... ........................ ........................ ..................... 1 0-1 10.1 Ad v a nc ed P ro g r a mmin g P oin ts .... .. ..... .... .. ..... .... .... ... .... .... ..... .. ..... .... .... ... .... .... . 10 -1 10.
viii.
1 Introdu ction 2 Basic Program Instructions 3 STL Progr ammin g 4 Devices in Det ail 5 App lied Ins truc tion s 6 Diagnostic Dev ices 7 Instruction Execution Ti mes 8 PLC Device T ables 9 Assigni n g.
FX Series Programmable Controllers Introductio n 1 Chapter Contents 1. Introduction ......... ........................ .................................... ....................... 1-1 1.1 Ov ervi ew .... .... .... ..... .... ..... .... ..... .... ....
Introductio n 1 1-1 1. Introduction 1.1 Over view 1) Scope of t his manual This manu al gives de tail s on all asp ects of operation and programmi ng for FX 1S , FX 1N , FX 2N and FX 2NC p rogrammab le contr ollers (PLCs). For all inform ation re lating to the PLC hardware and inst allati on, ref er to the appropriate manual supplied with the unit.
Introductio n 1 1-2 1.2 What is a Programmable Controller? A Programmable Logic Contr oller (PLC or programmable cont roller ) is a device that a user can progra m to perfo rm a seri es or sequence of event s.
Introductio n 1 1-3 1.4 Special considerations for programming equipment 1.4.1 Cur rent Generation CPU all versions Peripherals T able Description Model Number System soft ware ver sion with full support Hand held program mer (HHP ) FX-10P -E from V 3.
Introductio n 1 1-4 1.5 Ass oc ciated M anuals Manual n ame Number FX Base Unit Hardware FX1S Hardware manual JY992D83901 FX1N Hardware manua l JY992D88201 FX2N Hardware manua l JY992D66301 FX2NC Hard.
Introductio n 1 1-5 FX DU, GOT and DM unit s FX-5DM Users man ual JY992D84 901 FX-10DM Users manua l J Y992D86401 FX Posi tioning FX-1HC Us ers gui de JY992D53 00 1 FX2N/FX-1 PG-E Users man ual JY992D.
Introductio n 1 1-6 Memo.
1 Introduction 2 Basic Program Instructions 3 STL Progr ammin g 4 Devices in Det ail 5 App lied Ins truc tion s 6 Diagnostic Dev ices 7 Instruction Execution Ti mes 8 PLC Device T ables 9 Assigni n g .
FX Series Programmable Controllers Basic Program Instructions 2 Chapter Contents 2. Basic P rogram Instructions ................................ ........................ ........... 2-1 2.1 W hat is a Pr ogra m? ......... .... ..... .... .... ..... ..
Basic Program Instructions 2 2-1 2. Basic Program Instructi o ns 2.1 What is a Program? A program is a connected series of in structions written in a lan guage that the PLC can underst and. There ar e thr ee forms of progra m format; inst r uction, ladder a nd SFC/STL.
FX Series Programmable Controllers Basic Program Instructions 2 2-2 2.3 How to Read Ladder Logic Ladder logic is very closely associated to basic relay logic. There are both contacts and coils that can be loaded and dr iven in dif ferent conf igurations.
FX Series Programmable Controllers Basic Program Instructions 2 2-3 2.4 Load, Load Inver se Program example: Basic point s to remember: - Connect the LD and LDI instructions di rec tly to the left hand bus bar . - Or use LD and LDI instructi ons to define a new block of program when using the ORB and ANB instructions (s ee later sections).
FX Series Programmable Controllers Basic Program Instructions 2 2-4 2.5 Out Basic point s to remember: - Connect the OUT instruction dire ct ly to the right hand bus bar . - It is not possibl e to use the OUT instruct ion to dri ve ‘X’ type input devices .
FX Series Programmable Controllers Basic Program Instructions 2 2-5 2.5.2 Doubl e Co il Designation Double or dual c oiling is not a reco mmended practice . Using multiple outpu t coils of the same device can ca use the pr ogram operation to become unreliable.
FX Series Programmable Controllers Basic Program Instructions 2 2-6 2.6 And, And Inverse Program example: Basic point s to remember: - Use the AND and AN I instruct ions for ser ial conne ction of cont acts. As many cont act s as required can be c onnected in se ri es (see fol lowing po int headed “Pe ripheral l imit ations”).
FX Series Programmable Controllers Basic Program Instructions 2 2-7 2.7 Or , Or Inverse Program example: Basic point s to remember: - Use the OR and ORI instructio ns for parall el connection of cont acts.
FX Series Programmable Controllers Basic Program Instructions 2 2-8 2.8 Load Pulse, Load T railing Puls e Program example: Basic point s to remember: - Connect the LDP and LDF instructions dir ectly to the left hand bus bar .
FX Series Programmable Controllers Basic Program Instructions 2 2-9 2.9 And Pulse, And T railing Pulse Program example: Basic point s to remember: - Use the ANDP and ANDF instructions f or the serial connection of pul se contact s. - Usage is the same a s for AND and ANI; see earlier .
FX Series Programmable Controllers Basic Program Instructions 2 2-1 0 2.10 Or Pulse, Or T railing Pulse Program example: Basic point s to remember: - Use the ORP and ORF instructi ons fo r the paral lel connection of pulse cont acts. - Usage is the same a s for OR and ORI; see ea rlier .
FX Series Programmable Controllers Basic Program Instructions 2 2-11 2.1 1 Or Block Program example: Basic point s to remember: - An ORB instru ction is an independent i nstruction and is not associated wi th any device number .
FX Series Programmable Controllers Basic Program Instructions 2 2-1 2 2.12 And Block Program example: Basic point s to remember: - An ANB instruction is an independ ent instruction and is not associat.
FX Series Programmable Controllers Basic Program Instructions 2 2-13 2.13 MPS, MRD and MPP Basic point s to remember: - Use these inst ructions t o connect output coils to the left hand side of a contact . Without these i nstructions conn ections can only be mad e to the right hand side of t he last con tact.
FX Series Programmable Controllers Basic Program Instructions 2 2-1 4 Multiple program examples: X0 X1 X2 X4 X6 X7 X3 X5 X10 X11 MPS MRD MPP X0 X1 X3 X2 X4 X5 X6 MPS MPP MPP MPS X0 X1 X2 X3 X4 MPP MPS.
FX Series Programmable Controllers Basic Program Instructions 2 2-15 2.14 Master Control a nd Reset Program example: Basic point s to remember: - After the execution of an MC i nstruct ion, t he bus li ne (L D, LDI p oint) s hift s to a point after the MC instruction.
FX Series Programmable Controllers Basic Program Instructions 2 2-1 6 Nested MC progra m example: Level N0: Bus line (B) active when X0 is ON. Level N1: Bus line ( C) active when both X0 and X2 are ON. Level N2: Bus line ( D) active when X0,X2 and X4 are ON.
FX Series Programmable Controllers Basic Program Instructions 2 2-17 2.15 Set and Reset Program example: Basic point s to remember: - T urning ON X0 causes Y0 to turn ON. Y0 remains ON even after X0 turns OFF . - T urning ON X1 causes Y0 to turn OFF .
FX Series Programmable Controllers Basic Program Instructions 2 2-1 8 2.16 Timer , Counter (Out & Reset) Program example: 2.16.1Basic T imers, Retentive T imers And Counters These devices can all be reset at any time by driving the RS T instruction (with the number of the device to be reset) .
FX Series Programmable Controllers Basic Program Instructions 2 2-19 2.16.2 Normal 3 2 bit Counte rs The 32 bi t counter C200 coun ts (up-co unt, down- count) a ccording t o the ON/OFF s tate of M8200. In the example program shown o n the previous p age C200 is bei ng used to count th e number of OFF ~ ON cycles of input X4.
FX Series Programmable Controllers Basic Program Instructions 2 2-2 0 2.17 Leading and T railing Pulse Program example: Basic point s to remember: - When a PLS instruct ion is executed, object devices Y and M opera te for one operation cycle after the drive input signal has turned ON.
FX Series Programmable Controllers Basic Program Instructions 2 2-21 2.18 In ve rse Program example: Basic point s to remember: - The INV instructi on is used to change ( invert) the logi cal state of the curr ent ladder network at the insert ed position.
FX Series Programmable Controllers Basic Program Instructions 2 2-2 2 2.19 No Op erati on Basic point s to remember: - Writing NOP ins tructions in t he middle of a program minimizes s tep number changes when changing or editing a program.
FX Series Programmable Controllers Basic Program Instructions 2 2-23 2.20 En d Basic point s to remember: - Placing an END instruction in a program forces that program to en d the cu rrent sc an and carry out t he updating pr ocesses for bot h inputs and output s.
FX Series Programmable Controllers Basic Program Instructions 2 2-2 4 MEMO.
1 Introduction 2 Basic Program Instructions 3 STL Programm in g 4 Devices in Det ail 5 App lied Ins truc tion s 6 Diagnostic Dev ices 7 Instruction Execution Ti mes 8 PLC Device T ables 9 Assigni n g .
FX Series Programmable Controllers ST L Programmin g 3 Chapter Contents 3. STL P rogramming .................................. ........................ ....................... 3-1 3.1 What is STL, SFC And I EC1131 Part 3? ......... ........... .......
STL Pro gramming 3 3-1 3. STL Program ming This chapter d iff ers from th e rest of the co ntent s in this manual a s it has been writt en with a training aspect in mind. STL/SFC programming, although having been avai lable for many years, is still misunderstood and misrepresented.
FX Series Programmable Controllers ST L Programmin g 3 3-2 3.2 How STL Ope rates As prev iously mentione d, STL is a syste m which allows the user to write a program which functions in much the same way as a flow chart, thi s can be seen in the diagram opposit e.
FX Series Programmable Controllers ST L Programmin g 3 3-3 Combined SFC Ladder represent ation Some times STL prog rams wi ll be wr itten in har d copy as a combi nati on of bot h flow diagr am and inte rnal sub-progr am. (example shown below). Identif i cation of contac t states 3.
FX Series Programmable Controllers ST L Programmin g 3 3-4 Initia l Ste ps For an STL program which is to be activated on the initial po wer up of the PLC, a trigger similar to tha t shown op posite co uld be used, i.e. using M800 2 to drive the s etting of the initial sta te .
FX Series Programmable Controllers ST L Programmin g 3 3-5 3.4 Moving Between STL Step s T o activa te an STL step the user must first drive the state coil. Setting the coil has already been i dentif ied as a way to s tar t an STL program, i.e. drive a n initia l st ate.
FX Series Programmable Controllers ST L Programmin g 3 3-6 3.4.2 Using OUT to drive an STL coil This has the s ame operational feat ures as using SET . However , t here is one major func tion which SET is not used. This is to make what is termed ‘dist ant jumps’.
FX Series Programmable Controllers ST L Programmin g 3 3-7 3.5 Rules and T echniques For STL programs It can be seen that there ar e a lot of advantages t o u sin g STL style programming but there are a few points a user must be aware of when wri ting the STL sub-programs.
FX Series Programmable Controllers ST L Programmin g 3 3-8 T001 S 30 S 31 T001 S 32 K20 T001 K50 T001 Y11 S 30 S 31 Y10 Y10 Y11 • When an STL step transfers contro l to the next STL step there is a perio d (one scan) while both steps are active. This can cause prob lems wit h dual coil s; par ti c ul arly timers.
FX Series Programmable Controllers ST L Programmin g 3 3-9 3.5.2 Single Signal St ep Control T ransfer ring be tween active STL st eps can be con trolle d by a singl e signal.
FX Series Programmable Controllers ST L Programmin g 3 3-1 0 3.6 Restrictions Of Som e Instructions When Used With STL Although STL c an oper ate wit h most bas ic and app lied i nstruc tions ther e are a f ew exc eptions. As a gene ral rul e STL and MC-MC R progr amming fo rmats should no t be combi ned.
FX Series Programmable Controllers ST L Programmin g 3 3-11 3.7 Using STL T o Select The Most Appropriate Program So far STL ha s been considere d as a sim p le flow ch arting p rogramming lang uage. One of STL ’s exceptio nal features is the ability to create programs which can have several operating modes.
FX Series Programmable Controllers ST L Programmin g 3 3-1 2 3.8 Using STL T o Activate Multiple Flows Simult aneously In t he prev ious br anching techn ique, i t was s een ho w a sing le flo w could be selec ted fr om a group. The fol lowing me thods desc ribe h ow a group o f indiv idual fl ows can b e activa ted simult aneously .
FX Series Programmable Controllers ST L Programmin g 3 3-13 When a group of branch flows are activ ated, the user will often eit her ; a) ‘Race’ each f low against it s counter p arts.
FX Series Programmable Controllers ST L Programmin g 3 3-1 4 3.9 Genera l Rules For Succ essful STL Branching For each branch po int 8 fur t her branches may be progr ammed. There are no li mit s t o th e num- ber of st ates con tained in a single STL flow .
FX Series Programmable Controllers ST L Programmin g 3 3-15 3.10 General P recautions When Using The FX-PCS/A T -EE Software This sof twar e has the abilit y to pro gram in SFC flo w diag rams.
FX Series Programmable Controllers ST L Programmin g 3 3-1 6 3.1 1 P rogramming Examples 3.1 1.1 A Simple STL Flow This simple exampl e is an excerp t from a semi-automati c loading-un loading ore tr uck program. This example pro gram has a built in, initialization ro utine which o ccurs only when the PLC is powered from OFF to ON.
FX Series Programmable Controllers ST L Programmin g 3 3-17 Once at the discharg e point the truck open s i ts bottom doors (Y1 3). After a timed duration in whic h the truc k empties i ts cont ents , the prog ram chec ks to se e if the r epeat mode w as selected on the las t cycle, i.
FX Series Programmable Controllers ST L Programmin g 3 3-1 8 3.1 1.2 A Selective Branch/ Fi rst St ate Merge Example Program The following example depicts an automatic sorting robot. The robot sorts two s izes of ball bearings f rom a mixed ‘source pool ’ into indivi dual storage bucket s cont aining only one type of ball be aring.
FX Series Programmable Controllers ST L Programmin g 3 3-19 Full STL flow diagram/progr am. Y0 T0 T1 S 0 X12 Y7 X2 T0 Y2 Y3 X4 RST Y1 K20 S 21 S 22 SET Y1 K10 S 23 T1 S 24 T2 X3 T0 T1 X2 Y2 Y3 X5 S 25.
FX Series Programmable Controllers ST L Programmin g 3 3-2 0 3.12 Advanced S TL Use STL prog ramming can be enhanced by using t he Initial S tate App lied Inst ruction . This instruc tion has a mnemonic abbr evi ation of IST and a sp eci al funct i on number of 6 0.
1 Introduction 2 Basic Program Instructions 3 STL Progr ammin g 4 Devices in Det ail 5 App lied Ins truc tion s 6 Diagnostic Dev ices 7 Instruction Execution Ti mes 8 PLC Device T ables 9 Assigni n g .
FX Series Programmable Controllers Devices in Detail 4 Chapter Contents 4. Device s in Detail ............. ........................ .................................... ........... 4-1 4.1 In puts ......... .... .... ..... .... ..... .... ..... .... .
Devices in Detail 4 4-1 4. Devices i n Det ail 4.1 Input s Device Mnemonic: X Purpose: Represent ation of physi cal input s to the programmable contr oller (PLC) Alias: I/P Inp (X) Inpu t Input con tact A vailable forms: NO ( ) and NC ( ) cont acts onl y (see example device usage fo r references) Devices numbered in: Octal, i.
FX Series Programmable Controllers Devices in Detail 4 4-2 4.2 Output s Device Mnemonic: Y Purpose: Represent ation of physical outputs from the progr ammable controller Alias: O/P Otp Out (Y) Output .
FX Series Programmable Controllers Devices in Detail 4 4-3 4.3 Auxiliary Re lays Device Mnemonic: M Purpose: In ternal programmable controller status flag Alias: Auxil ia ry (coil/ rela y/ contact / f.
FX Series Programmable Controllers Devices in Detail 4 4-4 4.3.2 Battery Backed/ Latched Auxiliary Relays There are a number of battery b acked or latched re lays whose status is retained in battery backe d or EEP ROM memory . If a power failure should occur al l outp ut and general purpose relays are swit ched off.
FX Series Programmable Controllers Devices in Detail 4 4-5 4.3.3 Special Diagnostic Auxilia ry Relays A PLC has a number of specia l auxiliary relay s. These relays all have sp ecific functions and are classi fied into the foll owing two types. a) Using cont acts of special auxiliary relays - Coils are driven automatically by the PLC.
FX Series Programmable Controllers Devices in Detail 4 4-6 4.4 S t ate Rela ys Device Mnemonic: S Purpose: In ternal programmable controller status flag Alias: S tate (coil/ relay / contact/ flag) S (.
FX Series Programmable Controllers Devices in Detail 4 4-7 4.4.2 Battery Backed/ Latched St ate Relays There are a number of battery b acked or latched re lays whose status is retained in battery backe d or EEP ROM memory . If a power failure should occur al l outp ut and general purpose relays are swit ched off.
FX Series Programmable Controllers Devices in Detail 4 4-8 4.4.3 STL Step Relays S ta tes (S) are ve ry impor tant devices wh en programming step by step process con t rol. They are used in combination wit h the basic instruction STL. When all STL style programmi ng is used certain states have a pre-def ined operation.
FX Series Programmable Controllers Devices in Detail 4 4-9 4.4.4 Annunciator Flag s Some state flags can be used as o ut puts for external diagnosis (called annunciation) when cert ain applied instruct ions are used.
FX Series Programmable Controllers Devices in Detail 4 4-1 0 4.5 Pointers Device Mnemonic: P Purpose: Program fl ow contr ol Alias: Pointer Program pointer P A vailable forms: Label: appears on the left of the left hand bus bar when the pro gram is viewed in ladder mode.
FX Series Programmable Controllers Devices in Detail 4 4-11 4.6 Interrupt Pointers Device Mnemonic: I Purpose: In terrupt progr am marker Alias: Interru pt High speed interrupt I A vailable forms: Label: appears on the left of the left hand bus bar when the pro gram is viewed in ladder mode (see ➀ in the example devi ce usage diagram).
FX Series Programmable Controllers Devices in Detail 4 4-1 2 4.6.1 Input Interrupt s Identif i cation of interrup t poi nter number: Example: I001 The s equence progra mmed afte r the label (indica ted by the I0 01 point er) is execut ed on the leading or rising edge of the input signal X0.
FX Series Programmable Controllers Devices in Detail 4 4-13 4.6.3 Disabling Individual In terrupt s Individual interrupt devices can be tem porarily or permanently d isabled by d riving an assoc iated specia l au xiliary relay . The relev ant coils are ide ntified in the tables o f devices in chapter 6.
FX Series Programmable Controllers Devices in Detail 4 4-1 4 4.7 Const ant K Device Mnemonic: K Purpose: Identif ication of const ant decimal values Alias: Const ant K (va lue/ constant ) K A vailable.
FX Series Programmable Controllers Devices in Detail 4 4-15 4.9 T imers Device Mnemonic: T Purpose: T imed durations Alias: Ti m e r ( s ) T A vailable forms: A driven coil set s int ernal PLC contact s (NO and NC cont act s available). V arious timer resolutions are possible, from 1 to 10 0 msec, but availability and quantity vary from PLC to PLC.
FX Series Programmable Controllers Devices in Detail 4 4-1 6 4.9.1 General timer operation T imers operate by coun ting clock pulses (1, 10 an d 100 msec). The timer o utput cont act is activat ed when th e count dat a reaches the value set by the const ant K.
FX Series Programmable Controllers Devices in Detail 4 4-17 4.9.3 Retentive Ti mers A retentive timer has the ability to retai n the currently reached present value eve n after the drive contact ha s been remove d. This means th at when the drive co ntact is re-established a retenti ve timer wil l continue from where it last reached .
FX Series Programmable Controllers Devices in Detail 4 4-1 8 4.9.4 T imers Used i n Interrupt and ‘CALL ’ Subroutines If timers T192 to T199 and T246 to T249 are use d in a CALL sub routine or an interruption routine, the timing action is updated at the point when an E ND instruction is executed.
FX Series Programmable Controllers Devices in Detail 4 4-19 4.10 Counters Device Mnemonic: C Purpose: Event d riven delays Alias: Counter(s) C A vailable forms: A driven coil sets internal PLC contac ts (NO and NC contac ts available).
FX Series Programmable Controllers Devices in Detail 4 4-2 0 4.10.1 General/ Latched 16bit UP Counters The c urrent valu e of the counter increas es each tim e coil C0 is tu rned ON by X1 1. The output contact is activate d when the co il is turned ON for th e tent h time ( see dia gra m).
FX Series Programmable Controllers Devices in Detail 4 4-21 4.10.2 General/ Latched 32bit Bi-dir ectional Counters The coun ter shown in t he example below , activates when it s coil i s driven, i .e. the C200 coi l is driven. On every occas ion the input X14 is turn ed from OFF to ON the current value or current count of C200 is incremented .
FX Series Programmable Controllers Devices in Detail 4 4-2 2 4.1 1 High S peed Counters Device Mnemonic: C Purpose: High s peed event dr iven delays Alias: Counter ( s) C High speed counter (s ) Phase counter s A vailable forms: A driven coil set s int ernal PLC contact s (NO and NC cont act s available).
FX Series Programmable Controllers Devices in Detail 4 4-23 4.1 1.1 Basic High Speed Counter Operation Although count ers C235 to C255 (21 points ) are all high speed counters, t hey share the same rang e of h igh spe ed inpu ts .
FX Series Programmable Controllers Devices in Detail 4 4-2 4 4.1 1 .2 A vailability of High Speed Counters The foll owing device t able outlines the range of availabl e high speed count er s.
FX Series Programmable Controllers Devices in Detail 4 4-25 If any high speed compari son instruction s (FNC’s 53, 54, 55) ar e used, X0 and X1 must resort to softwar e counting. I n this case, please see the tabl e below: Unit Function Number Max. Combined Signal Frequency FX 2N & FX 2NC 53 o r 54 1 1 kHz 55 5.
FX Series Programmable Controllers Devices in Detail 4 4-2 6 4.1 1.3 1 Phase Counters - User St art and Reset (C235 - C240) Thes e counters only use one in put each. When direction flag M8 235 is ON , counter C235 counts down. When it is OFF , C235 count s up.
FX Series Programmable Controllers Devices in Detail 4 4-27 4.1 1.4 1 Phase Counters - Assigned St art and Reset (C241 to C245) These co unters have one count able input and 1 r eset inpu t each. Counters C 244 and C245 also have a start input . When the direction flag M8245 is ON, C245 count s down.
FX Series Programmable Controllers Devices in Detail 4 4-2 8 4.1 1.5 2 Phase Bi-directi onal Counters (C246 to C250) These counters hav e one input for countin g up and one input for counting down. Certain counters also have reset and st art input s as well.
FX Series Programmable Controllers Devices in Detail 4 4-29 4.1 1.6 A/B Phase Counters (C252 to C255) With these co unters only the input ident ified in the previ ous high speed counter t ables can be used for counting. The counting performed by these devices is independent of t he program cycle (s can) time.
FX Series Programmable Controllers Devices in Detail 4 4-3 0 4.12 Data Registers Device Mnemonic: D Purpose: A storage device cap able of storing numeri c dat a or 16/32bit p atterns Alias: Dat a (reg.
FX Series Programmable Controllers Devices in Detail 4 4-31 4.12.1 General Use Re gist ers Dat a re gisters , as th e name sugges ts, store data . The stored dat a can be int erpret ed as a numerical value or as a series of bits, bei ng either ON or OFF .
FX Series Programmable Controllers Devices in Detail 4 4-3 2 4.12.2 Batter y Backed/ Lat ched Registers Once data is written to a battery backed registe r , it remains uncha nged until it is overwritten. When the PLC’s st atus is changed from RUN to STOP , the dat a in these registers is ret ained.
FX Series Programmable Controllers Devices in Detail 4 4-33 4.12.4 File Registers Program memory regi sters File reg isters can be s ecured in t he program memory (EEPROM or EPROM) in units of 5 00 point s. These reg isters can be acc essed with a peri pheral device.
FX Series Programmable Controllers Devices in Detail 4 4-3 4 4.12.5 External ly Adjusted Regi sters The FX 1S and FX 1N have buil t in “se tting pot s” whic h are used to adjust the content s of cert ain dedi cated dat a registers. The contents of these regi sters can range from 0 to 255.
FX Series Programmable Controllers Devices in Detail 4 4-35 4.13 Index Re gisters Device Mnemonic: V, Z Purpose: T o modify a specified device by st ati ng an offse t.
FX Series Programmable Controllers Devices in Detail 4 4-3 6 4.13.1 Modifyi ng a Const ant Constants can be modified just as eas ily as data registe rs or bit devices. If, for example, the const ant K20 was a ctually wri tten K20V the fi nal result would equal: K20 + t he contents of V Example: 4.
FX Series Programmable Controllers Devices in Detail 4 4-37 4.14 Bit s, Words, BCD and Hexadecimal The foll owing section details general topic s relating to good devi ce underst and ing. The sec tion is split in to several small er pa rts wit h each covering one topic or smal l group of top ics.
FX Series Programmable Controllers Devices in Detail 4 4-3 8 Assigning grouped bit devices: As already explained, bi t devices ca n be grouped into 4 bit unit s. The “n” in KnM0 defi nes the number of g roups of 4 bit s to be combin ed for data operation.
FX Series Programmable Controllers Devices in Detail 4 4-39 4.14.2 W ord Devices W ord devices such as T , C, D, V and Z can store dat a about a pa rticular event or action withi n the PLC.
FX Series Programmable Controllers Devices in Detail 4 4-4 0 The rea son this is not -7797 is b ecause a negat ive valu e is calcul ated using two’ s compliment (des cribed later) but can qui ckl y be calculated in the fol lo wing manner: Because this i s a negative number , a base is set as -32768.
FX Series Programmable Controllers Devices in Detail 4 4-41 c) ABCD conversion Using the ori ginal bit p attern as a base but adding t he following BCD headers allows th e conversion of the binary data into a BCD format. Binary Coded Decimal value= ERROR!!!! ! It will be noticed that t his will produ ce an ERROR.
FX Series Programmable Controllers Devices in Detail 4 4-4 2 4.14.4 T wo’ s C ompliment Programmabl e controllers , computers etc, use a fo rmat call ed 2’s compl iment. This is a mathema tical pro cedure which i s more sui ted to the micro pro cessors opera tional hardware requirement s.
FX Series Programmable Controllers Devices in Detail 4 4-43 4.15 Floating Point And Scientific Notation PLC’ s can use many di fferent s ystems and metho ds to store data. The most common have already been disc ussed in previous section s e.g. BCD, Binary , Decimal, Hex.
FX Series Programmable Controllers Devices in Detail 4 4-4 4 4.15.1 Scient ific Not ation This format coul d be called the step between the ‘i nteger ’ format s and the full floati ng point format s. In basic t erms Scientif ic Notat ion use two devices to store infor mation about a numbe r or value.
FX Series Programmable Controllers Devices in Detail 4 4-45 4.15.2 Float ing Point Format Floating point format extends the abilities and ranges provided by S cientific Notation with the abili ty to r.
FX Series Programmable Controllers Devices in Detail 4 4-4 6 4.15.3 Summary Of The Scientific Not ation and Floating Point Numbers The inst ruction neede d to convert between each numbe r format ar e shown belo w in a diagrammati cal ly format for quick and easy refere nce.
An important point after buying a device Mitsubishi Electronics FX1S (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Mitsubishi Electronics FX1S yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Mitsubishi Electronics FX1S - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Mitsubishi Electronics FX1S you will learn all the available features of the product, as well as information on its operation. The information that you get Mitsubishi Electronics FX1S will certainly help you make a decision on the purchase.
If you already are a holder of Mitsubishi Electronics FX1S, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Mitsubishi Electronics FX1S.
However, one of the most important roles played by the user manual is to help in solving problems with Mitsubishi Electronics FX1S. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Mitsubishi Electronics FX1S along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center