Mitsubishi Electronics MELSEC-F manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Mitsubishi Electronics MELSEC-F. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Mitsubishi Electronics MELSEC-F ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Mitsubishi Electronics MELSEC-F décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Mitsubishi Electronics MELSEC-F devrait contenir:
- informations sur les caractéristiques techniques du dispositif Mitsubishi Electronics MELSEC-F
- nom du fabricant et année de fabrication Mitsubishi Electronics MELSEC-F
- instructions d'utilisation, de réglage et d’entretien de l'équipement Mitsubishi Electronics MELSEC-F
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Mitsubishi Electronics MELSEC-F ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Mitsubishi Electronics MELSEC-F et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Mitsubishi Electronics en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Mitsubishi Electronics MELSEC-F, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Mitsubishi Electronics MELSEC-F, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Mitsubishi Electronics MELSEC-F. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    USER’S MANU AL FX 2N -5A S pecia l functi on b loc k[...]

  • Page 2

    FX2N-5A Special function b loc k Forew or d • This man ual c ontains t e xt, diag rams a nd e xplanat ions which will guide the re ader in the cor rect ins t all ation and operation of the FX 2N -5A Special function b loc k. It should be read and understood bef ore att empting to install or use the unit. • Fur ther inf ormation can be fou nd in[...]

  • Page 3

    FX 2N -5A Special function b loc k USER’S MANU AL This manua l confers no in dustria l proper ty right s or any ri ghts of any other kind, nor does it confer any patent licenses . Mitsubishi El ectric Corpor ation cann ot be held responsible for any problems inv olving industri al proper ty rights whic h may occu r as a result of using the co nte[...]

  • Page 4

    FX2N-5A Special function b loc k ii[...]

  • Page 5

    FX2N-5A Special function b loc k iii Guidelines for the Safety of the User and Pr otection of the FX 2N -5A Special function bloc k. This m anu al pro vides inf or matio n f or the use of th e FX 2N -5A Specia l functi on bl ock. The manua l has been wr itten to be used b y trained and competent personnel. The definition of such a pe rson or person[...]

  • Page 6

    FX2N-5A Special function b loc k iv Notes on the Symbols Used in this Manua l At v ar ious times through out this manual cer tain sym bols will be us ed to highligh t points which are intended to ens ure the users personal saf ety and protect the integ r ity of equipment. Whene v er any of the f ollo w ing symbol s are encountered its associa ted n[...]

  • Page 7

    FX2N-5A Special function b loc k v • Under no ci rcumstances will Mitsubishi Elec tr ic be liab le responsib le f or any consequenti al damage that m ay ar ise as a result of the install ation or use of this equ ipment. • A ll e xa mples and diagrams shown in t his manual are intend ed only as an aid to und erstan ding the te xt, not to gu aran[...]

  • Page 8

    FX2N-5A Special function b loc k vi Note Conce rning the CE Mark ing This docum ent does not guar antee that a mechanic al system incl uding this product will comply with th e f ollowin g stan dards. Compli ance t o EM C stand ards of the en tire mechan ical system should be check ed by the user / manuf actur er . Complia nce to L VD standard s of [...]

  • Page 9

    FX2N-5A Special function b loc k vii EMC The f ollowing produc ts hav e shown compliance through direct testing (of the identified standards belo w) and design analysis (through the creation of a technical construction file) to the Europ ean Directiv e f or Electromagn etic Compat ibility (20 04/108/EC) when used as directed b y the appropriate doc[...]

  • Page 10

    FX2N-5A Special function b loc k viii T ype : Prog ramma ble Controll er (Open T ype Equipment) Models : FX 2N -5A manuf act ure d from No v ember 1st, 2003 to April 30th, 2006 are complian t with EN50081-2 and EN 61131-2:1 994+A11:1996+A12:2000 after Ma y 1st, 2006 are compliant with EN61 131-2:2003 F or more details , please conta ct the local Mi[...]

  • Page 11

    FX2N-5A Special function b loc k Contents. ix Guideline ...................... .................................... .............................................. .............. ...... iii 1. Intr oduction . ....... ........ .... ....... ........ .... ....... ..... ....... ....... ..... ....... ..... ....... 1-1 2. External Dimensions and Parts ...[...]

  • Page 12

    FX2N-5A Special function b loc k Contents. x 7.2.12 BFM 21 Writes I/O c haracteristics (o ffset/gain Scaling fun ction setting) (READ/WRITE) ... .............. ............ .............. ........... ............... ........... .............. ... 7-21 7.2.13 BFM 22 Convenient func tions setting (READ/WRIT E) .......... ........... .............. ..[...]

  • Page 13

    FX2N-5A Special function b loc k Contents. xi 8. Adjus tment of I/O Charact eris tics.... ....... ....... ..... ....... ....... ....... ..... ....... 8-1 8.1 Standard I/O characteristi cs ................................ ............................ ................. 8-1 8.2 Adjustment of I/O characteristics ...... .................................[...]

  • Page 14

    FX2N-5A Special function b loc k Contents. xii[...]

  • Page 15

    Introduction 1 1-1 1. Intr od uction The FX 2N -5A analog special function b lock has f our input channels and one output chann el. The input ch annels receiv e analog signals and co nv er ts them to the compar ab le digital v alues . The out put channel ta kes a di gital v alue and outputs an eq uiva lent analog signa l. 1) Analog signal inputs ca[...]

  • Page 16

    FX2N-5A Special function b loc k Introduction 1 1-2 MEMO[...]

  • Page 17

    External Dimensions an d Parts 2 2-1 2. External Dimensions and Parts FX -5A POWER 24V AD/DA 2N 24+ 24- VI- OUT V+ I+ V+ VI- V+ I+ VI- I+ VI- V+ I+ V+ I+ VI- IN4 IN3 IN2 IN1 5A 4(0.16") 87(3.43") 9(0.35") 55(2.17") 90(3.54") 1) 10) 9) 2) 80(3.15") 3) 8) 7) 55(2.17") 4) 5) 6) Dimensions: mm(inches) Mass (Weight): 0[...]

  • Page 18

    FX2N-5A Special function block External Dimensions an d Parts 2 2-2 1) Dire ct mo unti ng ho le (2 - φ 4.5) (0.18) 2) Ext ens ion cable 3) P o wer indicator l a mp (LED) 5V po wer is supplied from the progr ammab le controller to lig ht this indicator lamp . 4) P o wer supply term inals (Scre w ter m inal: M3 (0.12)) 5) Analog output ter minals (S[...]

  • Page 19

    Installation 3 3-1 3. Installation Install the FX 2N -5A to the r ight side of a main unit, e x tensi on unit, e xtension b loc k or special b loc k of the FX 0N /FX 1N /FX 2N /FX 2NC /FX 3G /FX 3GC /FX 3U /FX 3UC Series PLC . The FX 2N -5A can be instal led with DI N rail (DIN46277 of 35 mm in widt h) or directly in stalled with scre ws M4. F or t[...]

  • Page 20

    FX2N-5A Special function b loc k Installation 3 3-2 Figure 3.1: Installation with DIN rail •T h e F X 2N -5A can be installed on DIN ra il (DIN46277) of 35 mm in width as it is . F or remov al, pull down on the DIN r ail mounting hook, then rem ov e the FX 2N -5A. Figure 3.2: Direct inst allation •T h e F X 2N -5 A can b e install ed dire ctly [...]

  • Page 21

    Connection to PLC 4 4-1 4. Co nnectio n to PL C Connect the FX 2N -5A to the right side of a main unit, e xtension uni t or e xtension b lock of FX 0N / FX 1N /FX 2N /FX 2NC /FX 3G /FX 3GC /FX 3U /FX 3UC Series PLC wi th an e xtension cab le. F o r connection to a basi c unit o r e xtension bloc k of the FX 2NC Ser ies PLC , use an FX 2NC -CNV -IF [...]

  • Page 22

    FX2N-5A Special function b loc k Connection to PLC 4 4-2 MEMO[...]

  • Page 23

    Wiring 5 5-1 5. Wiring 5.1 Caution 1) Do not la y signal cab ling near to high v oltage po wer cab ling or house them in the sa me trunking duct. Eff ects of noise or surge induction ma y occur . K eep signal cab les at saf e dis- tance of more than 100 mm (3.94") from th ese po wer cab l es . 2) The ter minal scre ws of the FX 2N -5A are M3 ([...]

  • Page 24

    FX2N-5A Special function block Wiring 5 5-2 5.2 Input Wiri ng Figure 5.2: Input Wiri ng *1 Use a two-core , shielded twisted pair f or the analog i nput line , and separ ate it from other po wer lines or a lines easily induced. *2 If the re is v oltage ripple in t he input signal or ther e is noise in the e xter nal wiring, connect a bi polar capac[...]

  • Page 25

    FX2N-5A Special function block Wiring 5 5-3 5.3 Output Wiring Please ref er to 5.2 f or the wiring f or "24+", "24- " ter minals . Figure 5.3: Output Wiring *1 Use a twis ted pair s hielded c ab le f or the analog output. This cab le should be wired a wa y from pow er lines or an y other lines which coul d induce noise . *2 Appl[...]

  • Page 26

    FX2N-5A Special function block Wiring 5 5-4 MEMO[...]

  • Page 27

    Specifications 6 6-1 6. Specifica tions *1 The criterion is sho wn in IEC61131-2. *2 If the pre ssure is higher than th e atmospheric pressure , do not use FX 2N -5A. Malfuncti ons ma y occur . T able 6.1 : Ge neral specifications Item Specification s Ambient temper ature rang e 0 to +55 ° C dur ing operation, -20 to +70 ° C dur ing storage Ambie[...]

  • Page 28

    FX2N-5A Special function b loc k Specifications 6 6-2 T able 6.2: P ower supp ly specifications Item Specifi cation s Interf a ce dr iving pow er supp ly 24 V DC±10%, 90 mA (maximum), e xter nally supp lied CPU driving power supply 5 V DC , 70 mA, supplied via e xtension cable from P LC main unit T able 6.3 : P erf ormance specific ations Item Spe[...]

  • Page 29

    FX2N-5A Special function b loc k Specifications 6 6-3 T able 6.4 : V oltage/current input specifications Item V olta g e input Curren t input Analog i nput range -10 to +10 V DC (input r esistance: 200 k Ω ) Adjustment is enab led with the f ollowing conditions: Offset v alue: -320 00 to +5000 mV Gain v alu e: -5000 to +3200 0 mV "Gain - Off[...]

  • Page 30

    FX2N-5A Special function b loc k Specifications 6 6-4 Resolution • 312.5 µ V (20 V × 1/6400 0) -10 to +10 V at input • 50 µ V (200 mV × 1/4000) -10 0 to +100 mV at inpu t • 10 µ A (40 mA × 1/4000) -20 to +20 mA at inpu t • 1. 25 µ A (40 mA × 1/3200 0) -20 to + 2 0 mA at input • 10 µ A (40 mA × 1/4000) 4 to 20 mA at input • 1. [...]

  • Page 31

    FX2N-5A Special function b loc k Specifications 6 6-5 T a ble 6.5: V o ltag e/ curren t ou tpu t spe cif icati ons Item V olta ge output Current outp ut Analog output ran ge -10 to +10 V DC (Exter nal load resistance:5 k Ω to 1 M Ω ) Adjustment is enabled with the f o llowing conditions: Offset v alue: -1000 0 to +5000 mV Gain v alue : -9000 to[...]

  • Page 32

    FX2N-5A Special function b loc k Specifications 6 6-6 MEMO[...]

  • Page 33

    Buffer Memor y (BFM) 7 7-1 7. Buff er Memory (BFM) Caution 1) Do not acces s the “Reser v ed” b uff er memor ies “Reser v ed” (BFM #16, #17, #24 , #31 to #40, #46 to # 50, #56 to #70, #75 to # 80, #85 to #90, # 95 to #98, #100, #110, #120 to #199) usin g FROM/T O instr uctions . Accessing the reser ve d bu ff er memories ma y cause abnor ma[...]

  • Page 34

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-2 7.1 Buffer Memories (BFM) lists Table 7.1: BFM Lists BFM No. Descri p tion Ho ld agai nst power fail ure Ini tial valu e #0 Spe cifies input mode of CH1 to CH4. { H0000 at shi pment #1 Spe cifies output mode of C H1. { H0000 at shi pment #2 Number of a v era ging times f or CH1 Settin g rang[...]

  • Page 35

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-3 #18 Hol d last v alue / reset output to offset v alue when PLC is stopped { K0 #19 Disab les setting ch ange of I/O chara cteristics and con venient func tions . The f ollo wing BFMs are prot ected: BFM 0 (input channel mode setting s) BFM 1 (outpu t channel mode sett ings) BFM 18 (ho ld/res[...]

  • Page 36

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-4 #25 F ilter mode select ion regi ster { K0 # 2 6 Upper/lower l imit value al ar m status (v alid while BFM #22 b0 or b1 is ON ) ⎯ K0 #27 A/D data su dden change detect ion statu s (v alid whil e BFM #91 to #94 ar e diff erent to 0) ⎯ K0 #28 S cale ov er status and disconne ction detect i[...]

  • Page 37

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-5 • • • Reser v ed ⎯⎯ #51 CH1 gai n data (mV , 10 µ V or µ A) { K500 0 at shipment #52 CH2 gai n data (mV , 10 µ V or µ A) { K500 0 at shipment #53 CH3 gai n data (mV , 10 µ V or µ A) { K500 0 at shipment #54 CH4 gai n data (mV , 10 µ V or µ A) { K500 0 at shipment #55 Out pu[...]

  • Page 38

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-6 • • • Reser v ed ⎯⎯ #71 CH1 low er limit v alue ala r m set v alue (v alid while BFM #22 b0 or b1 is ON ) { K-3200 0 #72 CH2 low er limit v alue ala r m set v alue (v alid while BFM #22 b0 or b1 is ON ) { K-3200 0 #73 CH3 low er limit v alue ala r m set v alue (v alid while BFM #22[...]

  • Page 39

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-7 #84 CH4 upper li mit va lue alarm set val ue (val id while BFM #2 2 b0 or b1 is ON ) { K32000 #85 Reser v ed ⎯ ⎯ #86 Reser v ed ⎯ ⎯ #87 Reser v ed ⎯ ⎯ #88 Reser v ed ⎯ ⎯ • • • Reser v ed ⎯⎯ #91 CH1 sudden change detect ion set v alue Sett ing ra nge: 0 to 32000 (0 m[...]

  • Page 40

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-8 #99 Clear upper and low er limit v alue alar m and su dden change detection alar m ⎯ K0 • • • Reser v ed ⎯⎯ #101 CH1 a v erage data peak v alue (minimum v alue) (v alid while BFM #22 b2 is ON) ⎯⎯ #102 CH2 a v erage data peak v alue (minimum v alue) (v alid while BFM #22 b2 is[...]

  • Page 41

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-9 #111 CH1 a v erage data pea k v alue (maximum v alue) (v alid while BFM #22 b2 is ON) ⎯⎯ #112 CH2 a v erage data pea k v alue (maximum v alue) (v alid while BFM #22 b2 is ON) ⎯⎯ #113 CH3 a v erage data pea k v alue (maximum v alue) (v alid while BFM #22 b2 is ON) ⎯⎯ #114 CH4 a v [...]

  • Page 42

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-10 #200 CH1 Sc aling func tion Anal og V alue 1 This functi on define s a Scalin g input cur v e (simi lar to a look up tab le) f or each chann el. { K-10200 #201 CH1 Sc aling func tion Digital V alue 1 { K-32640 #202 CH1 Sc aling func tion Anal og V alue 2 { K10200 #203 CH1 Sc aling func tion[...]

  • Page 43

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-11 #219 CH2 Sc aling func tion Digital V alue 5 This functi on define s a Scalin g input cur v e (simi lar to a look up tab le) f or each chann el. { K0 • • • #238 CH4 Sc aling func tion Anal og V alue 5 { K0 #239 CH4 Sc aling func tion Digital V alue 5 { K0 #240 Outpu t CH 1 Scali ng fu[...]

  • Page 44

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-12 7.2 Details of buffe r memories 7.2.1 BFM 0 input mode specification (READ/WRITE) BFM 0 specifies the inp ut mode of CH1 to CH4. T he BFM consists of a 4-d igit he xadecimal code, where one digit is assigned to each input channel. The range f or each digit is a He x v alue between 0 to F . [...]

  • Page 45

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-13 8: V oltmeter displa y mode (-100m V to + 100mV) (Displa y r ange -10000 to +10000) 9: Scaling function V oltage input mo de (-10 to +10 V) (maximum Disp la y range -32768 to +32767); def ault = -32640 to +32640 A: Scaling functi on Current input mode (4 to +20 mA) (maxim um Displa y r ange[...]

  • Page 46

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-14 7.2.2 BFM 1 output mode specification (READ/WRITE) BFM 1 specifies the output mode of t he analog output CH1 . The BFM consists of a 4-digit he xadec imal cod e , wher e only the lowest digit is assigned t o the an alog o utput cha nnel. Th e r ange f or the digit is a He x v alue betw een [...]

  • Page 47

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-15 The out put ch aracter isti cs such as the offs et and gain set tings a re aut omatica lly ch anged dependin g on the setti ngs of B FM 1. A m ode ch ange in B FM 1 will a lso af f ect the se ttings o f BFM 45 (offse t data), BFM 55 (gain dat a), and BFM 240 to 249 (Scaling function da ta).[...]

  • Page 48

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-16 7.2.3 BFM 2 to BFM 5 Numbe r of av eraging times (READ/WRITE) The n umber of a v eragi ng times of BFM 2 to BFM 5 s pecify the nu mber of sample s that is used to calcul ate the a v erag e v alues which are d i spla y ed in BFM 6 to BFM 9. The setting range of the n umber of a v eraging ti [...]

  • Page 49

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-17 7.2.4 BFM 6 to BFM 9 A veraged Input Channel data (READ only) The a v er age A/D con v ersion data of each input channel is displa yed i n B FM 6 to BFM 9. The num ber of samples to calcula te the av erage data is influenced b y the setting in BFM 2 to BFM 5) described abo v e. The data dis[...]

  • Page 50

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-18 7.2.9 BFM 18 hold/ reset analog output when PLC is stopped (READ/WRITE) If BFM 18 is 0, while the PLC base unit is in Stop mode the v alue of BFM15 (v alue of BFM14 + direct ou tput function) will be output. If th e direct ou tput function is activ e, the output v alue will be contin uously[...]

  • Page 51

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-19 7.2.10 BFM 19 setting change enab le/disable (READ/WRITE) BFM 19 per mi ts or proh ibits th e change of the I/O ch aracter is tics f or th e f ollowing fun ctions: BFM 0 (input c hanne l mode s etting s) BFM 1 (output ch annel mod e sett ings) BFM18 (hold /reset last v alue outpu t) BFM 20 [...]

  • Page 52

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-20 7.2.11 BFM 20 Initialization function (reset all v alues to default) (READ/WRITE) BFM 20 will re set the FX 2N -5A to the f a ctor y def ault. By initialization, the modes, a v erage numbers , offset/ gain settings, direct output control function, low er/upper-limit se ttings, Scaling funct[...]

  • Page 53

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-21 7.2.12 BFM 21 Writes I/O characteristi cs (offset/gain Scaling function setting) (READ/WRITE) The b0 to b4 bit s of BFM 21 are assigned to ea ch channel of the FX 2N -5A. (Bit 4 is assigned to the analog output channel, bit 3 is assigned to in put channel 4, bit 0 is assigned to input chann[...]

  • Page 54

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-22 7.2.13 BFM 22 Con venient functions settin g (RE AD/WRITE) The functio ns descr ibed belo w are assigned to b0 to b3 of BFM 22. When a bit is set ON, the assigned func tions become v a lid. Other bits, not specified by the v alu es below , will simp ly be ignored b y the module if the y are[...]

  • Page 55

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-23 b8 to b11: s witch of f range o ver/r ange under ala r m f or corresponding i nput channel The v alue of BFM 22 is stored non-v olatile in the int er nal EEPROM. The re is a saf ety function to pro tect t he int er n al EE PR O M from being destroy ed by accide ntally wr iting the sa me v a[...]

  • Page 56

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-24 Example: V alue in BFM 23 is s e t to H1234. Output v a lue (BFM 15) = BFM 14(T O) - BFM 10 - BFM 7 + BFM 1 2 + BFM 9 If at least o ne He x digit in BFM 23 i s set to a He x numb er betw een 1 and 4, aft er calculating of the digital o utput value in BFM 15, t he offset/ gain sett ing calcu[...]

  • Page 57

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-25 7.2.16 BFM 25 Filter -lev el selection register (READ/WRI TE) The f ollo wing T ab le sho ws the possi b le v alues of BFM 25 f or using th e digital Fil ter of the FX 2N -5A-De vice: Table 7.2: Bit assignment in BFM 2 5 Bit No. Channel No. Description b0 CH1 to CH4 Filter : 0 = off 1 = 2nd[...]

  • Page 58

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-26 F or mula f or filter cut-off freq uency f L : f L = F 1 /(sampling time × no . of activ e channels) [Hz] with cut-off freque ncy f actor F 1 =0.1, 0.05, 0 .025 or 0.01. There are two filter parameters that can be changed, the filter-l e v el and th e cut-off frequency . This sel ection is[...]

  • Page 59

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-27 A/D con v ersion v alue when input fil ter is used. Time Analog value Digital value When input filter is used The change of the A/D conversion v alue becomes s mooth. It is smooth when numerical value at leve l is large. Time The change in sho rter width t han cut-off frequency is disregard[...]

  • Page 60

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-28 7.2.17 BFM 26 Upper/lo wer limit v alue alarm status (READ onl y) If the upper/lo wer limit v alue detection function (BFM 22 b0, b1) is used, the detection results are written to BFM 26. The lo wer l imit v alue alar m or th e upper limit v alue alarm of each chan nel is assigne d to each [...]

  • Page 61

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-29 Table 7.4: Bit assignment in BFM 2 6 Bit No. Channel No. Description b0 CH1 av erage data lower limit v alue alar m b1 av erage data upper limit v alue alar m b2 CH2 av erage data lower limit v alue alar m b3 av erage data upper limit v alue alar m b4 CH3 av erage data lower limit v alue al[...]

  • Page 62

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-30 7.2.18 BFM 27 A/D data sud den cha ng e detection status (READ onl y) When the su dden change detect ion function is used, the detection resul t is wr itten to BFM 27. The sudden change detection is activ ated, if the v alues in BFM 91 to BFM 94 are bigger than 0. The sudden change detectio[...]

  • Page 63

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-31 Table 7.5: Bit assignment in BFM27 Bit No. Channel No. Description b0 CH1 a verage data sudden change error in - direction b1 a verage data sudden change error in + dire ction b2 CH2 a verage data sudden change error in - direction b3 a verage data sudden change error in + dire ction b4 CH3[...]

  • Page 64

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-32 7.2.19 BFM 28 Scale o ver status (READ/WRITE) When the a nalog input v alue o f each ch annel (BFM 10 to BF M 13) is outsi de the maximum r ange of the A/D con ver ter , a r ange error alar m is written to BFM 28. This will also happen if a sensor is disconnec ted and ±100mV mo de has been[...]

  • Page 65

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-33 Table 7.6: Bit assignment in BFM28 Bit No. Channel No. Description b0 CH1 Scale o v er : Less than lo wer limit and disconn ecti on detection b1 Scale o v er : More than upp er limit b2 CH2 Scale o v er : Less than lo wer limit and disconn ecti on detection b3 Scale o v er : More than upp e[...]

  • Page 66

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-34 7.2.20 BFM 29 Err or status The error inf or mation is ass igned to eac h bit of BFM 29. Table 7.7: Bit assignment in BFM 2 9 Bit No. Assignm ent Description b0 Error dete cted b0 is ON if at leas t one output of b1 to b5 is ON. b1 Offset/gain set value error or Scaling function setting err[...]

  • Page 67

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-35 b10 Numbe r of a v erag ing times set ting err or Number of a ver aging times is incorrectly set.Set it within range from 1 to 256. If the no . of av erage data was set to a va lue o utside th e range of 1 to 256, the co rresponding BFM was set to 1. In this case, the direct conv ersion val[...]

  • Page 68

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-36 The error b1 ap pears when: - in v oltage-mod e: offset data > 5000 gain data < -5000 gain data - offset data < 1000 - in current-mode: offset data > 10000 gain data < -10000 gain data - offset data < 1000 All errors e xcept b2 a nd b3 will be cleared au tomatically , when[...]

  • Page 69

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-37 7.2.21 BFM 30 Model ID code (READ only ) BFM 30 stores the fix ed v alue K1010. Write attempts b y T O instruction are ignored. 7.2.22 BFM 31 to BFM 40 reser ved 7.2.23 BFM 41 to BFM 44 Analog input Offs et data (READ/WRITE) Input Offset dat a: Analog input v alue when the digital v alue is[...]

  • Page 70

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-38 7.2.25 BFM 51 to BFM 54 Analog Input Ga in data (READ/WRITE) Input Gain data : Analog input v alue when the digital v alue is 16000 (or 1 000 in mode 4). The offset d ata and the gain data f or each cha nnel can be s et independently . The set value is wr itten in "mV" f or voltag[...]

  • Page 71

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-39 Setting range Ho we ver , the actual eff ectiv e input r ange is "-10 to +10 V", "-20 to +20 mA", "4 to +20 m A" or "-100 to +1 00mV". Table 7.9: Setting range Voltage input (+/-10V) Current input Voltag e input (+/- 100mV) Offset data -32000 to +5000[...]

  • Page 72

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-40 7.2.26 BFM 55 Analog output Gain data (READ/WRITE) Output Gain data : Analog output v oltage or current if digital input in BFM 14 is 1 6000 (or 1000 as stated in t ab le below) def ault g ain v alue f o r v olta ge mode ( -10V/+10V ) is 5V (= K5000), f or current mode (4 - 20mA) is 12mA(=K[...]

  • Page 73

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-41 7.2.27 BFM 71 to BFM 74 Lo wer limit, alarm set v alue (READ/WRITE) 7.2.28 BFM 81 to BFM 84 Upper limit, alarm se t valu e (READ/WRITE) The upper/low e r limit v alue of the alar m detection function (BFM 22 b0, b1) is wr itten to the low er limit value of each channel fr om BFM 71 to BFM 7[...]

  • Page 74

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-42 A: Scaling fun ction current input mode -32768 to +32767 B: Scaling fun ction voltage input mode -32768 to +327 67 C to E: It is not possible t o set. In v alid F: No input channel use Inv alid Input mode (BFM#0) Rang e of setting[...]

  • Page 75

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-43 7.2.29 BFM 91 to BFM 94 Su dden c hange detection set v alue (READ/WRITE) When using the sud den change detection func tions , the set va lue to judge the sudden change is written to BFM 91 to 94. If the v alue is 0, the f unction is disab led. The v alid setting r ange is betw een 0 and 32[...]

  • Page 76

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-44 7.2.30 BFM 99: Clear s upper/lower limit v alue err or and sudd en change detection err or (REA D/ WRITE) The commands to clear the lo wer limit v alue error , upper lim it v alue error and sudden c hange detection error are assigned to the l owe r three bits of BFM 99. When a bi t is set O[...]

  • Page 77

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-45 7.2.31 BFM 101 to BFM 108 P eak v alue (minim um v alue) (READ onl y) 7.2.32 BFM 111 to BFM 118 P eak v alue (maxim um v alue) (READ onl y) When the peak v alue hold function (BFM 22 b2,b3) is used the mi nimum a v erage v alues of the data (BFM 6 to BFM 9) of ea ch channel is wr itten from[...]

  • Page 78

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-46 7.2.33 BFM 109: P eak v alue reset flag (minim um v alue) (READ/WRITE) 7.2.34 BFM 119: P eak v alue reset flag (maximum v alue) (READ/WRITE) When t he pe ak v a lue ho ld fu ncti on (B FM 22 b2 , b3) is use d, BFM 1 09 cl ears the pe ak v a lue (minim um v alue) stored in BFM 101 to BFM 108[...]

  • Page 79

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-47 7.2.35 BFM 200 to BFM 249 Scali ng function (READ/WRITE) The Scalin g function enab les an analog input or output cur v e, f or processes th at are not linear ov er the whole da ta range . The u ser can specify up t o 5 analog/digital values , th at will define an input char acter istic cur[...]

  • Page 80

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-48 Scaling function se tting procedures The Scaling function is set acc ording to the f ollow ing procedure . 1) Please mak e a set change in the I/O char acter istic per mission (BFM 19=K 1). ↓ 2) Please wr ite the mode whi ch uses the Scaling function in BFM0 and BFM1. ↓ 3) Please wr ite[...]

  • Page 81

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-49 Program example when Scal ing function is used Set change permi s sion of I/O characteristic Input mode setti n g Analog input CH1 is set i n Scaling function Analog scale value of change point 1 Digital value of change point 1 Digital value of change point 2 Analog scale value of change po[...]

  • Page 82

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-50 Reading of average value data of analog input CH1 (Average value of CH1 → D106) Reading of imm e diate data of analog input CH1 (I mmediate data of CH1 → D110) Reads the sca le over status BFM#28 → D128 Reads the error status BFM#29 → D129 M8000 RUN monitor END D106 FROM K0 K6 K1 D1[...]

  • Page 83

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-51 • The r ange in whi ch the analog sca l e v alue and digital v alue can be set v ar ies acco rding to the I/O mode selected f or BFM0 and BFM1. When setting t he analog scale v alue , wr ite the v alue con v er ted to percentage (1/1 00). Example: Wh en input mode 9 (sca ling-function vo [...]

  • Page 84

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-52 Setting range of analog input Set BFM 0 to 9 Set BFM 0 to A Analog sca le v alue : -10000 to +10000 Analog scale v alue: 2000 to 10000 Digital v alue : -32768 to +32767 Digital v alue : -32 768 to +32767 Digital value 32767 -10000 (-10V) -32768 10000 (10 V) 0 Change point 1 Change point 2 C[...]

  • Page 85

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-53 Set BFM 0 to B Analog sca le v alue : -10000 to +10000 Digital v alue : -32768 to +32 767 Digital value 32767 -10000 (-100mV) -32768 10000 (100mV) 0 Change point 1 Change point 2 Change point 3 Change point 4 Change point 5 Analog sca le va lue (U nit : 1/1 00 %)[...]

  • Page 86

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-54 Setting range of analog output Set BFM 1 to 9 Set BFM 1 to A Analog sca le v alue : -10000 to +10000 Analog sc ale v alue : 0 to 10000 Digital v alue : -32768 to +32767 Digital v alue : -32 768 to +32767 Digital value 32767 -10000 (-10V) -32768 10000 (10 V) 0 Change point 1 Change point 2 C[...]

  • Page 87

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-55 • The v alue which can be set d epends on the selecti on of BFM 0 and 1. Analog v alues and digit al v alues outside the range selected b y BFM 0 and 1 are set, thus, offset/gain s et v alue error (BFM 29 b1) will occur . • Please set ana log v alues and digital value s in Change point [...]

  • Page 88

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-56 • When using K0 a s a change point settin g v alue , the subsequent change point v alue must the larger in bo th the "Digital v alue" and "Analog scale val ue". (See figure 2.) • The I/O t o be entered f or each chann el should f all within the r ange of the analog s[...]

  • Page 89

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-57 The figure be low sho ws the e xample f or an analog i nput. BFM#206:10000 BFM#207:425 BFM#200:-10000 BFM 201 :50 BFM#202:-4000 BFM#203:275 BFM#204:3000 BFM#205:375 Calculated Digital Value Analog Input Sc ale Value (% of maximum range) Example for the Analog Input Non Linearity function 50[...]

  • Page 90

    FX2N-5A Special function block Buffer Memor y (BFM) 7 7-58 If the Scaling f unction is selec ted, the analog m odule will return the f ollo wing v alues in BFM 10: analog inp ut val ue: x < -10000: y = const. 50 (r ange error is entered in BFM28) analog inp ut val ue: -10000 < x < -4000 y = 0.0375 * x + 425 analog inp ut val ue: -4000 <[...]

  • Page 91

    Adjustment of I/O Characterist ics 8 8-1 8. Adjustment of I/O Characteristics The f actor y , the FX 2N -5A has sta ndard I/O chara cter istics in accordan ce with each input mode (BFM #0, BFM #1 ) set as the f actor y def ault. In the v oltage input mo de and current input mode , adjust th e standar d I/O char acteristics f or each channel. (The u[...]

  • Page 92

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-2 Input c haracteristics 0. V oltage input, -1 0 to 10V → -32000 to +32000 1. Curre nt input, 4 to 20 mA → 0 to 32000 Digit al val ue -10 10 32000 Approx .327 67 Approx . 10.24 0V Approx . -10.24 0V -32000 Approx .-327 68 Input volta ge (V) Digital value Input current (mA) [...]

  • Page 93

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-3 2.Curr ent inpu t, -20 to 20mA → -32000 t o +320 00 3.V oltage input, -100 to 100mV → - 3 2 00 0 t o + 3 2 0 0 0 4.V oltag e input, -100 t o 100mV → -2000 to +200 0 5. V ol tmete r mode, di rect displa y , -10 to 10 V Digit al val ue -20 20 32000 Approx .327 67 Approx .[...]

  • Page 94

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-4 6. Direct current in put, 2 to 20mA 7. Direct current inp ut, -20 to 20mA 8. Direct v oltage input, -100 to 100mV Digit al val ue Input curre nt (mA) 04 2 0 20000 4000 2000 2 Approx . 20478 Approx . 20.47 8mA Digit al val ue -20 20 20000 Approx .204 78 Approx . 20.47 8mA Appr[...]

  • Page 95

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-5 Output charac teristics 0.V oltage output, -32 000 to +32000 → -10 to 1 0V 1.V oltage outpu t, -2000 to +2000 → -10 to 10V Digit al valu e -10 10 32000 Approx .10. 240 Approx .327 67 Approx .-327 68 -32000 Approx .-10. 240 Output Vol tage (V) Digit al valu e -10 10 2000 A[...]

  • Page 96

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-6 2. Current output , 0 to 32000 → 4 to 20 mA 3. Current output, 0 to 1000 → 4 to 20mA 4. Current output , 0 to 32000 → 0 to 20 mA 5. Current output, 0 to 1000 → 0 to 20mA Digit al val ue Output cu rrent (m A) 0 4 20 32000 Approx . 32767 Approx . 20.38 Digit al val ue O[...]

  • Page 97

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-7 6. Analog v alue direct outp ut, -10 to 10V 7. Analog v alue direct output , 4 to 20mA 8. Analog v alue direct outp ut, 0 to 20mA Digit al valu e -10 10 10000 Approx .10. 239 Approx .102 39 Approx .-102 40 -10000 Approx .-10. 240 Output Vol tage (V) Digit al v alue Output cur[...]

  • Page 98

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-8 8.2 A djustment o f I/O c haracteri stics Adjust the I/ O characte r istics using the b uff er memories in the FX 2N -5A. At first, write the input/output mo de to BFM #0 and BFM #1, wr ite the offset data to BFM #41 to BFM #45, the n wr ite the gain data to BFM #51 to BFM #5[...]

  • Page 99

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-9 Figure 8.1: Example pr ogram The I/O character istics can be wr itten (BFM #21) to one channel at a time , or two or more channels at a time . M10 0 K0 K0 H1600 K1 TO K0 K1 H0001 K1 TO K0 K41 K0 K1 TO K0 K51 K6000 K1 TO K0 K44 K0 K1 TO K0 K54 K10000 K1 TO K0 K21 H001B K1 Spec[...]

  • Page 100

    FX2N-5A Special function b loc k Adjustment of I/O Characterist ics 8 8-10 MEMO[...]

  • Page 101

    Example program 9 9-1 9. Ex ample pr ogram 9.1 Pr ogram example f or analog input/output The secti on introduces an e xample prog ram to ma nipulate analog input/o utput using the FX 2N -5A. Condition System configuration: The FX 2N -5A (unit No . 0) is conne cted a s a spec ial fu nction bloc k neare st to th e FX 0N / FX 1N /FX 2N /FX 2NC Ser ies[...]

  • Page 102

    FX2N-5A Special function b loc k Example program 9 9-2 Figure 9.1: Example pr ogram M8002 K0 K0 H1100 K1 K0 K1 H0000 K1 K0 K10 D110 K4 K0 D114 Spec ifi es t he input mode of CH1 to CH4. Spec if icat ion of a nalog o utput c hannel' s outpu t mo de. Ave rage val ue data rea ding of CH1 to CH4. (CH1 → D106, CH2 → D107. . . CH4 → D109) Imm [...]

  • Page 103

    FX2N-5A Special function b loc k Example program 9 9-3 Reading of error st atus (BFM#29 → M120 to M135) K0 K28 H0000 K1 K0 K29 K4M120 K1 M200 M8000 RUN monitor Clears t he s cal e over error FNC 79 TO END FNC 78 FROM K4M120 K4Y 010 FNC 12 MOV Output of error stat us b0 → Y010 b1 → Y011. . . b15 → Y027 X001 M200 Clears t he s cal e over erro[...]

  • Page 104

    FX2N-5A Special function b loc k Example program 9 9-4 9.2 Outline of FROM/T O c ommands FX 2N -5A reads and writes FR OM/T O commands of PLC . FR OM/T O commands are outlined a s f ollows . • When X010 and X011 are OFF , the tr ansf er is not e x ecuted and the data of the transf er destination does not v ar y . F or details , ref er to the FX S[...]

  • Page 105

    Appendix A A-1 Append ix A: Assoc iated Man uals L ist F or fur ther inf or mation manua l about FX Ser ies , ref er to f ollo wing tab le: T able A-1: Fur ther Inf ormation Manual Manual Name Manual No. Description FX 0 /FX 0N Hard w a re Manual JY992D47501 This manual contains hardware e xplan ations of wir ing, installation and sp ecifications f[...]

  • Page 106

    FX2N-5A Special function b loc k Appendix A A-2 FX 3U Series User’ s Manual - Hardware Edition JY997D16501 Th is manual e xplains th e wir ing, installation an d specification for FX 3U Series pr og rammab le contr oller s. FX 3UC Series User’ s Manual - Hardware Edition JY997D28701 This manual e xplains th e wir ing, insta llation and specific[...]

  • Page 107

    [...]

  • Page 108

    HEAD OFFICE: TOKYO BUILDING, 2-7- 3 MARUNOUCHI, CHIYODA- KU, TOKYO 100-8310 , JAPAN HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY997D1 1401F (MEE) Effective J uly 2012 Specificatio ns are subject to chan ge without notice. USER’S MANU AL FX 2N -5A Special fu nction b loc k MODEL FX2N-5A-U-E MODEL CO DE 09R6 16[...]