Schneider Electric LUFP9 manuel d'utilisation
- Voir en ligne ou télécharger le manuel d’utilisation
- 118 pages
- 3.75 mb
Aller à la page of
Les manuels d’utilisation similaires
-
Network Router
Schneider Electric SM5200
20 pages 2.27 mb -
Network Router
Schneider Electric LUFP9
118 pages 3.75 mb -
Network Router
Schneider Electric TSXETG100
19 pages 1.49 mb -
Network Router
Schneider Electric none
110 pages 0.78 mb -
Network Router
Schneider Electric BM85
110 pages 0.93 mb -
Network Router
Schneider Electric 17S Series
146 pages 6.11 mb -
Network Router
Schneider Electric 174 CEV
87 pages 0.55 mb -
Network Router
Schneider Electric 63230-314-200C2
2 pages 0.95 mb
Un bon manuel d’utilisation
Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Schneider Electric LUFP9. 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 Schneider Electric LUFP9 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 Schneider Electric LUFP9 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 Schneider Electric LUFP9 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Schneider Electric LUFP9
- nom du fabricant et année de fabrication Schneider Electric LUFP9
- instructions d'utilisation, de réglage et d’entretien de l'équipement Schneider Electric LUFP9
- 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 Schneider Electric LUFP9 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 Schneider Electric LUFP9 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Schneider Electric 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 Schneider Electric LUFP9, 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 Schneider Electric LUFP9, 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 Schneider Electric LUFP9. À 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
LUFP9 Telemecanique User’s manual Gateway DeviceNet / Modbus RTU[...]
-
Page 2
[...]
-
Page 3
3 LUFP9 Gateway DeviceNet / Modbus RTU Page 4[...]
-
Page 4
4 In spite of all the care taken over the writing of this docume nt, Schneider Electric SA does not give any guarantees in relation t o the informati on contai ned in it, and may not be held liabl e for any errors, nor for any damage w hich might res ult fr om its use or its applicati on. The characteristics and operation of the products and additi[...]
-
Page 5
5 Table of contents 1. Introduction ............................................................6 1.1. Introduction to the user guide ................................................. 6 1.2. Introduction to the LUFP9 Gateway ....................................... 7 1.3. Terminology...................................................................[...]
-
Page 6
6 1. Introduction 1.1. Introduction to the user guide Ch a p te r 1 Introduction (pag e 6) describes the gateway, the u ser guide that com es with it and the terms u sed in it. Chapter 2 Hard ware Implementation of the LUFP9 Gate way (page 13) gives an introd uction to the gateway and describes all the items used when setting it up, both inside (th[...]
-
Page 7
7 1. Introduction 1.2. Introduction to the LUFP9 Gateway The LUFP9 gateway allo ws a master located on a Dev iceNe t network to enter into a dialogue with the slaves on a Modbus RTU network. This is a generi c protocol converte r operating in a way which is transparent to the user. This gateway allows you to inte rface many products marketed by Sch[...]
-
Page 8
8 1. Introduction 1.4. Notational Conventions 16#•••• .............. Value expressed in hexadecim al, which is equivalent to t he H••••, ••••h and 0x•••• notations, sometimes used in other documents. N.B. The AbcConf software uses the 0x•••• notation. E.g. 16#0100 = 0x0100 = 256. 02#•••• •••• [...]
-
Page 9
9 1. Introduction 1.6. Introduction to the Communication “System” Architecture Upstream network (DeviceNet) AT S4 8 VW33-A48 A TS46 VW3-G 46301 DeviceNet Master Dow nstream networ k no.1 (Modbus) Downstream netw ork no.3 (Modb us) Dow nstream networ k no.2 ( Modbus ) Total of 16 motor starters (TeSys U model)[...]
-
Page 10
10 1. Introduction Each LUFP9 DeviceNet / Modbus RTU gat eway allows a PLC on the DeviceNet network to command, control and configure up to 8 Modbus slaves. If there are mo re than 8 Modbus slaves, you will need to use an appropriate number of LUFP9 gateways. In the same way, if the exchang es with the Modbus slaves require more than 25 Modbus comm[...]
-
Page 11
11 1. Introduction Ö Each LUFP9 gateway is shipped pre-configured so a s to make it easier to operate an d the factory settings can be used as a basis for a conf iguration which will best meet the user’s expectations. The typical operations applicable to this default configuration are descri bed in chapter 6 Confi guring the Gateway, page 40. Th[...]
-
Page 12
12 1. Introduction — Managing Gateway ↔ DeviceNet master exchanges — LUFP9 gateway 0x0000 0x01FF Input Modbus data : Managem ent of exchanges with the Device Net master Free me mo ry location s : : : : : 0x0200 0x03FF Output Modbus Data Free me mo ry location s : : : : RSNetWorx Configura tion of Devic eNet exc hang es : ♦ T y pe and ad dre[...]
-
Page 13
13 2. Hardware Implementation of the LUFP9 Gateway 2.1. On Receipt After opening the packaging, chec k t hat the following element is there: • One LUFP9 DeviceNet / Modbus RTU gateway. 2.2. Introduction to the LUFP9 Gateway The cables and other acce ssories for conn ecting to DeviceNet and Modbu s networks need to be ordered separately. cd e g f [...]
-
Page 14
14 2. Hardware Implementation of the LUFP9 Gateway 2.3. Mounting the Gateway on a DIN Rail Mounting the gateway 1 2 Dismounting the gate way 1 2 Start by fitting the rear base of the gateway to the upper part of the rail, pushing do wnwards (1) to compress the gateway’s spring. Then push the gateway against the DIN rail (2) until the base of the [...]
-
Page 15
15 2. Hardware Implementation of the LUFP9 Gateway 2.5. Connecting the Gateway to the Modbus Network Three typical examples of Modbus connection for the gate way and its slaves are shown below. There are many other possible Modbus connections, but they are not covered in this documen t. 2.5.1. Examples of Modbus connection topologies • “Star”[...]
-
Page 16
16 2. Hardware Implementation of the LUFP9 Gateway • “Bus” topology with VW3 A8 306 TF3 dro p boxes: This topology uses VW3 A8 306 TF3 dr op boxes to connect each of the Modbus slaves to the main section o f the Modbus network. Each bo x should be placed in the immediate vicinity of the Mo dbus slave it is associat ed with. The cable for th e[...]
-
Page 17
17 2. Hardware Implementation of the LUFP9 Gateway • “Bus” topology with tap boxes: This topology is similar to the p revious one, except that it uses TSXSCA62 subscriber connectors and/or TSXCA50 subscriber conne ctors. We recommend using a VW3 A68 306 connection cab le and the TSXCSA•00 Modbus cabl es. Connect the RJ45 connector on the VW[...]
-
Page 18
18 2. Hardware Implementation of the LUFP9 Gateway 2.5.3. Wiring recommendations for the Modbus net w ork • Use a shielded cable with 2 pairs of twisted conductors, • connect the reference potentials to one anothe r, • maximum length of line: 1,000 metres • maximum length of drop line / tap-off: 20 metres • do not connect more than 9 stat[...]
-
Page 19
19 2. Hardware Implementation of the LUFP9 Gateway 2) Cables: VW3 A8 306 R•• Modbus ca ble ................................... (“star” topology / “bus” topology with tap boxes) Shielded cable with a male RJ45 connector at ea ch end. VW3 A68 306 Mo dbus cable........................................ (“bus” topology with tap bo[...]
-
Page 20
20 2. Hardware Implementation of the LUFP9 Gateway 2.7. Configuring DeviceN et Communication Features This configuration should be carried out when the gateway is powered off. The block of selector swit ches allowing you to configure the DeviceNet communication functions is hidden behind the gateway cover g (see illustration in chapter 2.2 Introd u[...]
-
Page 21
21 2. Hardware Implementation of the LUFP9 Gateway 2.7.2. Encoding the Gateway Address The LUFP9 gateway is identified on the DeviceNet bus by its addre ss (or “Mac ID”), which is betwe en 0 and 63. ON 2 3 4 5 6 8 S p eed A d dress ( M ac ID ) 1 7 The gateway’s DeviceNet address depends on the position of selector swit ches 3 to 8. It corresp[...]
-
Page 22
22 3. Signalling The gateway’s 6 LEDs and the de scriptive label on th e removable cover which hides its block of selecto r switches allow you to diagnose the status of the gateway: c e g d f h telm LUFP9 n o p q r s 1 N ETWOR K S TATUS 2 M ODULE S TATU S 3 N OT U SED 4 N OT U SED 5 M ODBUS 6 GA TEWAY Device Net ™ LED LED Æ Gatew ay state Off:[...]
-
Page 23
23 4. Software Implementation of the Gateway 4.1. Introduction This chapter gives an introdu ction to a quick impl ementation of the LUFP9 gateway, using its default configuration. All LUFP9 gat eways ship pre- configured . This pre-configuration means that the user does not have to configure the LUFP9 gateway using AbcConf. This configuration is d[...]
-
Page 24
24 4. Software Implementation of the Gateway 4.1.2. Configuring the Motor Starters Each motor starter should be configured as follows: Protocol: Modbus RTU slave Start bits 1 Modbus address 1 to 8 Parity None Bitrate 19,200 bits/s Parity bit 0 Data bits 8 Stop bits 1 When using a TeSys U motor starter with a Modbus communication module (LULC031 mod[...]
-
Page 25
25 4. Software Implementation of the Gateway 4.2. Configuring the Gateway in RsNetWorx The DeviceNet master PLC must be configured so t hat it has access to all of the data described in chapters 8.2.1 Input Data Memory Area, page 84 et 8.2.2 Output Data Memory Area, page 85. The following chapters describe the step s in RsNetWorx wh ich you will ne[...]
-
Page 26
26 4. Software Implementation of the Gateway 4.2.3. Selecting and Adding the Gate way to the DeviceNet Net work Select “LUFP9” from the list on the left, t hen add it to the DeviceNet network topology. In our example, we have assigned the Mac ID address 04 to the gateway (the configur ation of the addre ss for a gateway is described in chapter [...]
-
Page 27
27 4. Software Implementation of the Gateway If you are in an y doubt ove r what is displ ayed, click o n the “Uploa d From Device ” button, then on “S tart Monit or”. Th e RsNetWorx application then start s to read from the gateway the values of the parameters currently di splayed. Click on the “Stop Monitor” button to stop this readin[...]
-
Page 28
28 4. Software Implementation of the Gateway 4.2.5. Configuring the DeviceNet Sca nner Double-click on the icon whi ch corresponds to the DeviceNet scann er. A window then appears all owing you to co nfigure the exchang es carried out by the scann er. Select the “Scanlist” tab and add the “LUFP9” gateway to the “Scanlist” ( > or >[...]
-
Page 29
29 4. Software Implementation of the Gateway 4.2.6. Configuring Inputs from the Gate way On the “Input” tab, select the “LUFP9” gateway, then click o n the “AutoMap” button. RsNetWorx then automatically establishes the corres pondence between the 3 2 data bytes (8-b it format) from the gateway and the corresponding 16 PLC inp uts “I:1[...]
-
Page 30
30 4. Software Implementation of the Gateway 4.2.7. Configuring Outputs Intended for the Gate w ay On the “Out put” tab, select the “LU FP9” ga teway, then click on the “AutoMap” button. RsNetWo rx then automati cally establishe s the correspondenc e bet ween the 32 data bytes (8-bit f ormat) to be sent t o the gateway and th e correspo[...]
-
Page 31
31 4. Software Implementation of the Gateway 4.2.8. Description of Services Assigned to Gate w ay Inputs/Outputs Managing the downstream Modbus net work: Please see chapter 5.2 Diagnostic only, page 37, for a detail ed description of this service. The example describ ed in chapter 9.1 Main Program: “LAD 2 - MAIN_LUFP9”, page 86, only automatica[...]
-
Page 32
32 4. Software Implementation of the Gateway 4.2.9. Transferring the DeviceNet Scann er Configuration Once you have finished the operatio ns describe d above, make sure that the changes mad e have been transmitted to the DeviceNet scanner. To do this, clic k on the “Downlo ad to Scanner…” button on each of the “Module” and “Scanli st”[...]
-
Page 33
33 5. Gateway Initialization and Diagnostics Each of the three sub-chapters 5.1, 5.2 and 5.3 de scribes the princi ple used to initialize and carry out diagnostics on the gateway usin g each of the three opt ions offered by the gatew ay. These options can be configured via AbcConf, by changing the assign ment of the “Control/Status Byte” field [...]
-
Page 34
34 5. Gateway Initialization and Diagnostics Bits Description 14 FB_HS_SEND: New command from the DeviceNet master Before changing the value of FB_D U, the De viceNet master must compare the values of FB_HS_SEND and ABC_HS_CONFIRM (bit 14 of the gate w ay’s status word). If these two values are different, this means that the gateway has not yet a[...]
-
Page 35
35 5. Gateway Initialization and Diagnostics 5.1.2. Gateway Status Word The input word located at addresses 16#0 000 (MSB ) and 1 6#0001 (LSB) in the gateway’ s input memory constitutes the gateway’s status word. Its structure is describe d below: Bits Description 15 ABC_HS_SEND: New gate way diagnostic (See description of bit 15 of the DeviceN[...]
-
Page 36
36 5. Gateway Initialization and Diagnostics The correct use of this status word by the DeviceNe t master, to read a diagnostic generated by the gateway, goes through the following st eps: • Checking of (ABC_HS_SEND ≠ FB_HS _CONFIRM). • Reading of the value of ABC_DU to determine wh ethe r all of the Modbus input data are up-to-date. • [...]
-
Page 37
37 5. Gateway Initialization and Diagnostics 5.2. Diagnostic only The gateway uses a 16-bit register, lo cated at t he addresses 16#0000 and 1 6#0001 in its memory (inputs), to send diagnostics to the DeviceNet master. A se co nd 16-bit register, located at the addresses 16#0200 and 16#0201 (outputs), allows the DeviceNet to acknowledg e each of th[...]
-
Page 38
38 5. Gateway Initialization and Diagnostics Due to the inversion of the LSB and the MSB for this register bet ween the gateway and the DeviceNet master, the structure of the correspondi ng input word (“I:1.1” in the case of the default configuratio n) is as follows: Bits Description 8-15 ED: Error data item associated w ith the Modbus network [...]
-
Page 39
39 5. Gateway Initialization and Diagnostics Due to the inversion of the LSB and the MSB for this register bet ween the gateway and the DeviceNet master, the structure of the correspo nding output word (“O:1.1” in the ca se of the default configuration) is as follows: Bits Description 8-15 Reserved. 7 FB_HS_CONFIRM: Acknowl edgement bit of a ga[...]
-
Page 40
40 6. Configuring the Gateway Each part of this chapter describes a separate ste p allowing the user to personaliz e the gateway configu ration, according to his own particula r needs. Each part gives a n introduction to a basic operat ion isolating it from the rest of the configuration and descri bing the operations to be carried out using AbcCo n[...]
-
Page 41
41 6. Configuring the Gateway 6.1.1. Pin Outs — LUFP9 (Configuration) — Female RJ45 Male RJ45 11 22 33 8 RS-485 D(B) 4 4 D(B) RS-485 D(A) 5 5 D(A) 66 +10 V 7 7 +10 V GND 8 8 0 V Straight POWERSUITE cable ——— RS485 / RS232 converter ——— –—— PC (COM) ——– Male RJ45 Female RJ45 Female 9 point SUB-D Male 9 point SUB-D 11 11 2[...]
-
Page 42
42 6. Configuring the Gateway 6.2. Installing AbcConf The minimum system requirement s for AbcConf are as follows: • Processor ........................................Pentium 133 MHz • Free hard disk space ......................10 Mb • RAM ................................................ 0 8 Mb • Operating syst em...........................[...]
-
Page 43
43 6. Configuring the Gateway 6.4. Transferring a Conf iguration to the Gateway When using AbcConf, you can transfe r the configurat ion you are editing to the gateway at any time. Choose “Down load conf iguration to ABC-LUFP ” from the “F ile” menu or clic k on the button, in the AbcConf toolbar. AbcConf initializes a check test of the gat[...]
-
Page 44
44 6. Configuring the Gateway The upper part of this window allo ws you to choose a Modbus command, to edit its contents, then to send it to the Modbus net work (“Comm and” menu). The response wil l then be displayed in this same part. Please see chapter 2.10 Node monitor in the AbcConf user manual, entitled Any Bus Communicator – User Manual[...]
-
Page 45
45 6. Configuring the Gateway 6.6. Deleting a Modbus Slave This step allows you, for instance, to free up a location on the downstream Modbus network, known as the “Sub- Network” in AbcConf, in order to replace one Mod bus slave with another. In fact the gateway’s default configuration already allows it to communicate with eight TeSys U motor[...]
-
Page 46
46 6. Configuring the Gateway However, these operations are not necessary whe n del eting a single slave. Conver sely, they become almost essential when most of the Modbus slaves are delet ed, because these deletions divid e up the gateway’s memory. Please see chapter 6.11 Addin g and Setting Up a Modbus Command, page 62, which de scribes all of [...]
-
Page 47
47 6. Configuring the Gateway Importing/exporting a Modbus slave configura tion: AbcConf offers the possibility of independently savi ng and loading the configuration of a node on the downstream “Sub-Network”. For instan ce, this will allow you to buil d a library of Modbus slave template s, so that you can use them in any configuration. To sav[...]
-
Page 48
48 6. Configuring the Gateway 6.8. Changing the Periodic Data Exchanged With a Modbus Slave This operation consists of replacing, addin g or delet ing periodic data ex changed with one of the Modbus slaves. With each of these operations, we shall ta ke the default config uration of the LUFP9 gateway as an example, that is to say that any changes pr[...]
-
Page 49
49 6. Configuring the Gateway 6.8.2. Replacing an Output Periodic Data Element E.g. “TeSys U n°6” motor starter. We are trying to replace the cont rol of the “Command Register” (address 704 = 16#02C0) with the control of the “2n d Command Registe r” (address 705 = 16#02C1). The operation co nsists of ch anging the value of the “Start[...]
-
Page 50
50 6. Configuring the Gateway 6.8.3. Increasing the Amount of Periodic Input Data E.g. “TeSys U no. 2” motor starter. We are trying to comp lete the monitoring of this motor starter starting from the currently monitored register, that is to say “TeS ys U Statu s Register” (address 455 = 16#01C7 ), and going as far as the “Reserved: 2nd Wa[...]
-
Page 51
51 6. Configuring the Gateway 3) Changing the location of the Modb us data received in the gateway’s memory: As the number of bytes read (see previous step) has incre ased from 2 to 16, t he Modbus data rece ived must be placed at a different location in the gateway’s memory, and the size of the memory occupied must also be adju sted appropriat[...]
-
Page 52
52 6. Configuring the Gateway To check that these changes have been e ntered into the configuration, choose “Monitor” from the “S ub- Network” menu again: In point 6), you shall make sure the values of the displaye d parameters are the same as the exchange sizes displaye d in the “Sub-network Monitor.” In the curre nt example, “In Are[...]
-
Page 53
53 6. Configuring the Gateway In this guide, we will be using the “AutoMap” comm and to establish a “raw” corre spondence with all of the data from the LUFP9 gateway. We then get the co rrespon dence shown below, deriv ed from the one used with the gateway’s default configurat ion. The changes in relation to the default configuration are [...]
-
Page 54
54 6. Configuring the Gateway 1) Changing the numbe r of registers controlled: This st ep consists of chan ging the value of the “No. of Registers” in the “Query” and in the “Re sponse” for the “Preset Multiple Registers” command (Modbus command for writing values of a number of registers). St art by selecting “Startin g Address?[...]
-
Page 55
55 6. Configuring the Gateway 3) Changing the location of the Modb us data transmitt ed into the gateway’s memory: As the number of bytes written (see previous step) ha s increased from 2 to 4, the Modbus data to be transmitted to the “TeSys U n°4” motor starter must be placed at a different location in the gateway’s memory, and the size o[...]
-
Page 56
56 6. Configuring the Gateway To check that these changes have been e ntered into the configuration, choose “Monitor” from the “S ub- Network” menu again: In point 6), you shall make sure the values of the displaye d parameters are the same as the exchange sizes displaye d in the “Sub-network Monitor.” In the current example, “In Area[...]
-
Page 57
57 6. Configuring the Gateway 8) Configuring the Device Net master PLC outputs: In RsNetWorx, esta blish a new correspond ence between the data transmitted to the gateway and t he PLC outputs, acco rding to the r equirements of your application (see chapter 4.2.7 Configuring Output s Intended for the Ga teway, page 30). The various possibilities of[...]
-
Page 58
58 6. Configuring the Gateway 6.9. Deleting Aperiodic Parameter Data If your PLC application does not need the aperiodic service for reading/writin g parameter data on Modbus slaves, you can delete the associated comm ands. If you also intend to add Modbus data, and therefo re use new locations in the gateway’s memory, it i s prefera ble to delet[...]
-
Page 59
59 6. Configuring the Gateway 4) Checking the new me mory occupation: If you wish to check how much of the gate way’s memory is now occupied, select “Sub-Network” a nd choose “Monitor” from the “S ub-Network” menu. The follo wing window appears, allowing you to see how much of the gateway ’s memory is occupied by Modbus d ata. The p[...]
-
Page 60
60 6. Configuring the Gateway Description Service PLC input Bit 0 ..................... Bit 7 Bit 8 .................... Bit 15 LUFP9 gateway status word Managing the downstream Mod bus network I:1.1 (MSB Æ 16#xx••) (LSB Æ 16#••xx) I:1.2 Value of the motor starter c status register I:1.3 Value of the motor starter d status register I:1.4 [...]
-
Page 61
61 6. Configuring the Gateway 6.10.2. Changing the Address of a Modbu s Slave To carry out this operation, all you have to do is sele ct the node which corresponds to the Modbus slave involved (“Devices:” section), click on the value of the curre nt address (value of the “Slave address” field, in the “Configuration:” section ), then cha[...]
-
Page 62
62 6. Configuring the Gateway 6.11. Adding and Setting Up a Modbus Command 6.11.1. With TeSys U Motor Starter s With TeSys U motor starters, the main use of ad ding a Modbus command consists of allowing you to control or monitor additional registers, without having to chang e the el ements in the default config uration. So, the op eration of the pe[...]
-
Page 63
63 6. Configuring the Gateway Name of the Modbus command Modbus quer y ! Frame " Slave no. Function no. No. of the 1st word ( MSB / LSB ) Number of words ( MSB / LSB ) CRC16 ( LSB / MSB ) Modbus res p onse ! Frame " Slave no. Function no. Numbe r of b y tes read …Values of the words ( MSB/LSB ) … CRC16 ( LSB / MSB ) N.B. In all cases,[...]
-
Page 64
64 6. Configuring the Gateway We rename the “New Node”, which has just been created, in “ATS48”, and we assign it the Modbus address 10, as shown here: We then proceed to add the “Preset Single Register” command by choosing “Add Command” from the “A TS48” menu. In the window which appe ars (shown opposite), select the “0x06 Pr[...]
-
Page 65
65 6. Configuring the Gateway 6.11.2.1. Managing Degraded Modes Due to the num ber of hardware elements and software tools used, the followi ng table shows a summary of the various degraded modes in a DeviceNet application. In this case, this appli cation includes an LUFP9 gat eway, but we will not be including either the master PLC or it s scanner[...]
-
Page 66
66 6. Configuring the Gateway 6.11.2.2. Configuring the Query Select the “Query” element from the Modbus command. The various elements of the configurat ion of the query for this command are shown opposite. The values displayed corre spond to the default values for any new command. These elements allow you to conf igure ho w the whole command i[...]
-
Page 67
67 6. Configuring the Gateway Configuration element Description Retries This element indicates the number of re-tra nsmi ssions carried out by the gateway if there is no response from the Modbus sl ave to a query, or if the response is incorrect. This re- transmission process cease s as soon as the gateway gets a co rrect response within a given ti[...]
-
Page 68
68 6. Configuring the Gateway Configuration element Description Update mode This ele ment is used to specif y the transm ission mode fo r the query on the Modbus network. It takes one of the following four value s: - Cyclically ................................. Def a ul t c om mun ica tio n mo de. The que ry i s tr ans mit t ed periodically on the [...]
-
Page 69
69 6. Configuring the Gateway 6.11.2.3. Configuring the Response Next select the “Response” elem ent from the Modbus command. The various element s of the configuration of the response for this command are shown op posite. The values displayed corresp ond to the default values for any new command. These elements allow you to configu re a single[...]
-
Page 70
70 6. Configuring the Gateway 6.11.2.4. Configuring the Content of the Que ry Frame The window shown below is obtained using “Edit Frame” from the “Q uery” menu . Unlike the tree s tructure in the main AbcConf window, this display has the advantage of showin g all of the frame’s fie lds at the same time as well as their values. The va lue[...]
-
Page 71
71 6. Configuring the Gateway Field in the frame Size in the frame Description Preset Data 2 bytes or more for a block of data Data Location: Address, in the gateway’s output data memo ry (16#0202 to 16#03FF), of the item of data to be transmitted in the “Preset Data” field for the query’s frame. N.B. The “Data lo cation” field is u sed[...]
-
Page 72
72 6. Configuring the Gateway Field in the frame Size in the frame Description Checksum 2 bytes Error check type: Ty pe of error check for the frame. - CRC ..................... De fau lt me t ho d. T hi s i s t he met hod ado pte d fo r th e Mo dbu s RTU protocol. - LRC ..................... Thi s m et hod rel at es t o th e M odbus ASCII protocol[...]
-
Page 73
73 6. Configuring the Gateway Field in the frame Size in the frame Description Sl ave Ad dre ss 1 byte Identical to that of the query’s “Slave Addre ss” field. Function 1 byte Identical to that of the query’s “Function” field. Register 2 bytes Identical to that of the query’s “Register” field, since the Modbu s response of any “[...]
-
Page 74
74 6. Configuring the Gateway Please see chapter 2.12 Com mand editor in the AbcConf user manu al, entitled AnyBus Communicator – User Manual , for further information about creating standard Modbus commands. This manu al can be found on the CD LU9CD1 : “ ABC_User_Manual.pdf ”. 6.11.3.2. Modbus Commands which Can Be Completely Changed by the [...]
-
Page 75
75 6. Configuring the Gateway The LUFP9 gateway’s default configuration includ es two “Transaction ” commands. These a re aperiodic commands used for reading and writing the value of a M odbus slave paramet er (necessarily a TeSys U motor starter with the default configuration). They a re conf igured solely for the “TeSys U n°1” node, as[...]
-
Page 76
76 6. Configuring the Gateway The only command accessible from the “Fieldbu s” menu is “About Fieldbus… ”. In “on-line” mode (see chapte r 6.12.2 “ABC” Element, page 76), the window sho wn opposite will be displayed. In “off-line” mode the word “Unkn own” will replace “DeviceNet” to show that the type of upstream netwo[...]
-
Page 77
77 6. Configuring the Gateway Apart from the “Control/Status Byte” and “Module Rese t” options, the configu ration of the LUFP9 gateway’s “ABC” element should not be changed. Out of the four opt ions shown below, the last two shoul d therefore retain the values shown: “Serial” and “Mast er Mode”. These four options allow you t[...]
-
Page 78
78 6. Configuring the Gateway - “Sub-Network Status…”: In “on-line” mode (see chapter 6.12.2 “ABC” Element, page 76), this command displays a window summa rizing the values of the gateway’s error counters. These counters a re also used by the gateway to update the value of its status word (see chapter 5.1.2 Gateway Status Wo rd, pag[...]
-
Page 79
79 6. Configuring the Gateway 6.13. Adding a Broadcaster Node A broadcaster n ode does not co rrespond to any Modbus slave in particular, as it appli es to all Modbus slaves. All the commands which will be co nfigured for this node will be transmitted with the “Slave Address” field set to 16#00. This means that all of the slaves will run t he c[...]
-
Page 80
80 7. Appendix A: Technical Characteristics 7.1. Environment Dimensions (excluding connecto rs) Height: 120 mm Width: 27 mm Depth: 75 mm External appearance Plastic case with device for fixing to a DIN rail. Torque PSU connector: between 5 and 7 lbs.-in. Power supply 24V insulated ±10% Maximum consumption: Around 95 mA Maximum internal consumption[...]
-
Page 81
81 7. Appendix A: Technical Characteristics Specific DeviceNet features of the LUFP9 gateway • The LUFP9 gateway is a “group two only server ” DeviceNet sub scriber (cf. DeviceNet Specifications ). • Fragmentation support for transaction s requiring more than 8 bytes of data. • Connections suppo rted: 1 “Explicit Connection” 1 “Poll[...]
-
Page 82
82 7. Appendix A: Technical Characteristics Structure of the LUFP9 gateway’s memory: Outputs • 2 bytes for the activation or inhibition of the down stream network by the gateway (see chapter 5 Gateway Initialization and Diagno stics, page 33). • 510 bytes accessible by the DeviceNet master in the form of output data (see chapter 8.2.2 Output [...]
-
Page 83
83 8. Appendix B: Default Configuration The configuration described be low corresponds to the LUFP 9 gateway’s default configuration. This chapter mainly gives the user inform ation about the performan ces obtained on the downstream Modbus network. It allows the user to decide whether, for example, he sh ould change the perio d for cyclical ex ch[...]
-
Page 84
84 8. Appendix B: Default Configuration 8.2. Content of the Gateway’s DPRAM Memory The LUFP9 gateway’s DPRAM memory contains all of the data exchanged b etween the gateway and the 8 TeSys U m otor starters, as well as two specia l reg isters only exchanged bet ween the gateway and the DeviceNet master (words used for managing the downstream Mod[...]
-
Page 85
85 8. Appendix B: Default Configuration 8.2.2. Output Data Memory Area The gateway has 512 output bytes. Only the first 32 bytes are used. All of these 32 bytes make up the gateway’s output are a, referenced as “Output 1” in th e RsNetWorx configurator. Service Address Size Description Managing the downstream Modbus network 16#0200 1 word Dev[...]
-
Page 86
86 9. Appendix C: Practical Example (RSLogix 500) A practical example can be found on the CD L U9CD1. It is made up of two files. The first of these, “ SLC_Guide_LUFP9.dnt ”, shows the configuration of the Devi ceNe t scanner in RsNetWo rx, described in the previous chapters. The seco nd, “ SLC_Guide_LUFP9_EN.rss ”, is an RSLogix 500 file a[...]
-
Page 87
87 9. Appendix C: Practical Example (RSLogix 500) The various data used by the main program a re shown in the following table: Address Symbol Description I:1.1/ 0 7 → I:1/23 ABC_HS_SEND Flip flop indicating that there is a ne w gateway diagnostic O:1.0/ 0 0 → O:1/ 0 0 S C A N _ V A L I D A T I O N Enable DeviceNet communications: th is bit must[...]
-
Page 88
88 9. Appendix C: Practical Example (RSLogix 500) The various data used by this sub-prog ram are shown in the following table: Address Symbol Description I:1.[N7:0]/ 0 0— B i t 0 0 “Ready” of the TeSy s U status re gister I:1.[N7:0]/ 0 1— B i t 0 1 “On” of the TeSys U status register I:1.[N7:0]/ 0 2— B i t 0 2 “Fault” of the TeSys[...]
-
Page 89
89 9. Appendix C: Practical Example (RSLogix 500) 9.3. Sub-Program for Reading a Parameter in all TeSys U Motor Starters: “LAD 4 - RD_PAR” The role of this sub-program i s to read the value of a single parameter on all TeSys U motor starters. As they are read, the results are placed into an array starting at N7:4 (motor starter no. 1) and endin[...]
-
Page 90
90 9. Appendix C: Practical Example (RSLogix 500) The various data used by this sub-prog ram are shown in the following table: Address Symbol Description B3.0/0 RD_RUNNING Reading a p arame ter on all TeSys U mo tor s tarter s: I n progre ss B3.0/1 RD_OK_KO Reading a parameter on all TeS ys U motor starters: Reading is correct (OK) or incorrect (KO[...]
-
Page 91
91 9. Appendix C: Practical Example (RSLogix 500) 9.4. Sub-Program for Writing a Parameter on a Single TeSys U Motor Starter: “LAD 5 - WR_PAR” The role of this sub-p rogram consists of writing the va lue of a parameter on a single TeSys U motor starter. The user should enter the address of the TeSys U motor star te r (N7:12), the addre ss of th[...]
-
Page 92
92 9. Appendix C: Practical Example (RSLogix 500) • Management of the response timeout (T4:1). Until the response arrives or if its content is incorrect (bit B3:0/4 = 0), a 3-second timer is set. When this timeo ut (T4:1/DN = 1) is trigge red, the timer is reinitialized, the parameter’s address (O:1.14, after LSB / MSB have been swapped using s[...]
-
Page 93
93 9. Appendix C: Practical Example (RSLogix 500) Address Symbol Description S:24 INDEX_SYS Index register used in indexed addressing (prefix: ‘#’) T4:1 TIMEOUT_WR_PARAM Timer for the timeout of the parameter writing com mand (3 seconds) The example includes a personali zed screen for monitorin g the data, calle d “CDM 2 - WR_PAR”, in order[...]
-
Page 94
94 10. Appendix D: DeviceNet Objects 10.1. Introduction to the Gateway’s DeviceNet Objects The LUFP9 gateway’s software has been d eveloped in accordance with the Object Modelling from the DeviceNet protocol. This model leads to a method used for add ressing the gateway’ s data, known as Attributes , made up of four separate values: c the nod[...]
-
Page 95
95 10. Appendix D: DeviceNet Objects 10.3. Graphical Representation of the Gateway’s DeviceNet Objects Connection O bject M essage Router DeviceNet Objec t Identity Objec t Assembl y Objec ts Acknowledge Handler Ob ject Diagnostic Obj ec t I/O Data Output Mapping Obje ct I/O Data Input Mapping Obje c t LUFP9 gateway memory 16#0000 16#01FF 16#0200[...]
-
Page 96
96 10. Appendix D: DeviceNet Objects Attributes of instance 16#01 of class 16#01 ID Access Name Need Type Value 16#01 Get Vendor ID Required UINT 90 All vendor IDs for DeviceNet products are managed by the ODVA. With the LUFP9 gatew ay, this ID is set to 90 (gateways from HMS Fieldbus Systems AB (Hassbjer Micro Sys) ). 16#02 Get Device type Require[...]
-
Page 97
97 10. Appendix D: DeviceNet Objects 10.5. Message Router Object (class 16#02) The “Message Router” object is the element through whi ch all objects of the “Explicit messages” type go so that they can be routed to the objects they are intended fo r. It has only one instance (Instance ID = 16#01). This object is described in chapter 6-3. of [...]
-
Page 98
98 10. Appendix D: DeviceNet Objects ID Access Na me Need Ty pe Value 16#05 Get Allocation information Required BYTE , USINT (variable) This attribute supplies gener al information about the Dev i ceNet allocatio n method currently being used. It is made up of the “allocation choice”, in BYTE format and the “master’s MAC ID”, in USINT for[...]
-
Page 99
99 10. Appendix D: DeviceNet Objects Attributes of instance 16#64 of class 16#04 (M ODBUS I NPUTS ) ID Access Name Need Type Value 16#03 Get Data Required USINT […] (array of values) The data gathered within this attribute corres pond to t he data of the attribute 16#01 of instance 16 #01 from the “I/O Data Input Mapping Object (Class 16#A 0)?[...]
-
Page 100
100 10. Appendix D: DeviceNet Objects The “Change-of-State / Cyclic Conne ction” connection (I nsta nce ID 16#04) allows the gateway to produce its data only when their values change o r when a timer called “heartbeat rate ” times out. A minimum time limit is intended to prevent the connection from monopoli zing the DeviceNet network’s ba[...]
-
Page 101
101 10. Appendix D: DeviceNet Objects ID Access Name Need Type Value 16#03 Get / Set Tran sport class trigger Required BYTE 16#83 This attribute defines the behaviour of the connection. In the case of the LUFP9 gate way’s “Explicit C onnection” object, this attribute takes the value 16#83, broken d own as follows: Bits 0-3 = 2#0011 .... Trans[...]
-
Page 102
102 10. Appendix D: DeviceNet Objects Attributes of instance 16#02 of class 16#05 : Polled Command/Response Connection ID Access Name Need Type Value 16#01 Get State Required USINT 0 to 4 This attribute represents the stat us of the “Polled Comm and/Response Connection” object. T he LUFP9 gateway supports the following values: 0 (non-existent),[...]
-
Page 103
103 10. Appendix D: DeviceNet Objects ID Access Name Need Type Value 16#0E Get / Set Produced connectio n path Required USINT […] 16# 20 04 24 64 30 03 This attribute defines the local path ( without MAC ID) of the gateway’s DeviceNet obj ect used to produce the connection’s data. In the case of the current inst anc e, the default production [...]
-
Page 104
104 10. Appendix D: DeviceNet Objects ID Access Name Need Type Value 16#07 Get / Set Prod uced connection size Required UINT (size of the input area) Maximum number of bytes which can be transmitted via th is instance’s conne ction. T he value of this attrib ute should be set to the size of the input area choosed us ing attribute 16#0E. With the [...]
-
Page 105
105 10. Appendix D: DeviceNet Objects ID Access Name Need Type Value 16#04 Get / Set Produced connection ID Required UINT 2#0 •• •• xx xxxx The value of this attribute is placed in the CAN protoc ol’s Identifier Field when th e connection goes into transmission mode (group 1 messages). The term “xx xxxx” represents the 6 bits of t he [...]
-
Page 106
106 10. Appendix D: DeviceNet Objects Attributes of instances 16#01 to 16#04 o f class 16#05 Service code Nam e of the service Need Des cription 16#0E Get_Attribute_S ingle Required T his service allows to read the va lue of one of the attributes from one of the instances of the “Connection Object.” 16#10 Set_Attribute_Single Optional This serv[...]
-
Page 107
107 10. Appendix D: DeviceNet Objects ID Access Name Need Type Value 16#06 Get Data with ack path list size Optional BYTE 1 This attribute represents the maximum number of members which can be placed in the data with ack path list. If the value of this attribute is null, t he size of the list is dynamic, which is not the case with the LUFP9 gateway[...]
-
Page 108
108 10. Appendix D: DeviceNet Objects 10.10. I/O Data Input Ma pping Object (Class 16#A0) The “I/O Data Input Mapping Object” has o nly one instance (In stance ID = 16#01) and is specifi c to the LUFP9 gateway. It contains all the data from the gateway’s uniq ue input are a. The only attribute (Attribute ID = 16#01) of the instance from this [...]
-
Page 109
109 10. Appendix D: DeviceNet Objects 10.11. I/O Data Output Mapping Object (Class 16#A1) The “I/O Data Output Mapping Object” has only one instance (Instance ID = 16#01) and is spe cific to the LUFP9 gateway. It contains all the data from the gateway’s unique output area. The o nly attribute (Attribute ID = 16 #01) of the instance from this [...]
-
Page 110
110 10. Appendix D: DeviceNet Objects 10.12. Diagnostic Ob ject (Class 16#AA) The “Diagnostic Object” has o nly one instance (Instance ID = 16#01) and is specific to the LUFP9 gateway. It contains a large a mount of diagnostic data of all leve ls. As a result, som e of these diagnoses shoul d not be used, as these are rese rved for maintenance [...]
-
Page 111
111 10. Appendix D: DeviceNet Objects ID Access Name Need Type Value 16#09 Get LED status Optional USINT [6] (variable) The values of the elements of this a ttribute c orrespond to the status of t he gateway’s 6 LEDs (1 byte per LED). The first byte corresponds to LED c , the second to LED d , etc., up to LED h . Each byte takes one of the follow[...]
-
Page 112
112 10. Appendix D: DeviceNet Objects ID Access Name Need Type Value 16#11 Get IN total length Optional UINT 16#0020 This attribute indicates the total size of the in put data used i n the gateway’s extended memor y ( IN bytes supported ), expressed as a number of bytes. This size is equa l to the value of the pr evious attribute (size of inputs [...]
-
Page 113
113 11. Appendix E: Modbus Commands Function code Broadcast (1) Modbus command 0 3 16#03 — Read Holding Registers 0 6 16#06 Yes Preset Single Register Only the Modbus commands shown in the right-hand table are suppo rted by the gateway. The structure of the query and response frames for each of these commands is then de scribed in the following c[...]
-
Page 114
114 11. Appendix E: Modbus Commands Chapter 6.11 Adding and Setting Up a Modbus Command, pa ge 62, also shows a few examples of correspondences betwe en the elements displayed in AbcConf and the corre sponding Modbus frame fields. See also: Chapter 6.11.2 With a Generic Mo dbus Slave, page 63, and chapte r 6.11.3 Adding a Special Modbus Command, pa[...]
-
Page 115
115 11. Appendix E: Modbus Commands 11.3. “Preset Multiple Registers” Command (16#10) Frame Field Value or properties Query Starting Address (MSB) Starting Address (LSB) - Address of the 1st output / internal registe r Number of Registers (MSB) Number of Registers (LSB) - Number of output / internal registers Byte Count - Nu m be r of d at a b [...]
-
Page 116
116 11. Appendix E: Modbus Commands Code Name of the exception Description of the excep tion 16#01 I LLEGAL F UNCTION The query’s “Function” co mmand code is not implemented in the Modbu s slave software, or it is unable to process it for the moment. 16#02 I LLEGAL D ATA A DDRESS The combination of the query’s “Starting Add ress” and ?[...]
-
Page 117
[...]
-
Page 118
User’s manual V1.0 2003-03[...]