Home
How to Read&Write information with TeSysT&U
Contents
1. Open a routine to program your request LADDER language re RSLogix 5000 Test 1756 161 Fichier Modifier Afficher Rechercher Logique Communications Outils Fen tre Aide T CERELORE E oat ease I w alal T FOK a B 4l Favoris EEK Timercompleur K Enteeisone Hors ligne Aucun forage Pas d ditions Compare MainProgram MainRoutine eal ae d Controller Test Tags du Controller 9 Gestion des d fauts du Controller o E Gestion de la mise sous tension E el Tasks Et ata MainTask E H ae MainFrogram o Tags du Program a Fj MainRoutine F9 Pronrames non orioritaires Page 5 11 Reg 457 Schneider f Electric RESOLUTION Click on the left side of the program dial MSG on your keyboard and press Enter thus a message box occurs ogix 5000 Test 1756 L61 Modifier Afficher Rechercher Logique Communications Outils Fen tre Aide sal S 4e et 7 Ee gt OK ditions 2 H f ae lt gt gt J 4 Favoris Bt TimerCompteur Entr e sortie Compare EI MainProgram MainRoutine e SG E Message Write MSG and press Enter 3 Controller Test Tags du Controller E3 Gestion des d fauts du Controller CI Gestion de la mise sous tension F Tasks 8 MainTask Eg MainProgram A Tags du Program EE MainRoutine Ga Programs non prioritaires This box message
2. Co ration du Message Block Writing Time Transition Configuration Communication Taq You define the hardware link Chemin Master Card DM 2 1 Parcourir of the DeviceNet Master port Master Card DM 2 1 in my PLC I have the card on Dene eee eB ea the slot 1 port 1 but I had to put slot 2 because it is the only number that RsLogic takes account Connect Activer 2 Activer attente 2 D marrer Termin Longueur accomplie g 2 Code d erreur Code d erreur tendu Temps d pass Chemin de l erreur Texte de l erreur Annuler Appiguer Aide You can write this register 541 value into the tag Writing _ Time Transition by the way of an animation table be sure to be online between your laptop and your PLC Controller test Acc der test controller Afficher u Tag Tags du Controller Nom du Tag 3 Valeur 2 Eo Fe Geen des HUE du us er ne aa z eed Gestion de la mise sous tension O e ea Taske E Tineri Gal MainTask mi Start ri EVE ER MainPrograrn E Reading Trip Class pe ie Tags du Program Feadina Time Transition You can write Time transition of the register 541 Page 11 11
3. is a block used to program acyclic request in CIA format Into the user manual of TesysT DeviceNet April 2008 you can find all registers and their address in CIA format pages 420 to 452 Link for User manual TesysT DeviceNet April 2008 http www global download schneider electric com 852575030043326A all 38A734120F9E60152C 125746F0031859C File 1639504 02a55 pdf Note the downloading can take few minutes In our example the registers that we want to read are 606 and 541 so the CIA addresses for these registers are provided into the user manual page 439 and 443 Reg 606 Tripping class value Class 6A Instance 01 Attribute 07 Reg 541 Transition time between Output 1 and Output 2 Class 69 Instance 01 Attribute 02 You have to enter these addresses into two blocks message one for each information read For Register 606 You have to define a name for different tags We need one tag for the message box and one tag where you will receive the value read by the PLC from the TeSysT Page 6 11 Schneider RESOLUTION fs RSLogix 5000 Test 1756 L61 MainProg Ef Fichier Modifier Afficher Rechercher Logique Co alsa a Right click on controller tag and select New tag Nouveau Tag Ea Horn Block_Reading_Trip Class SEScription Controller Test ide O Annuler EI Gestior Ctrl Ww EI Gestior 3 Tasks
4. 1756 1416 module 1756 DNB en cours de cr ation is written on the side 1756 1416 1756 1480 of the card 1756 1816 1756 IB16D 1756 1B 161 1756 IB16ISOE Afficher Fournisseur Tout rl i Autre F 10 sp cialis es S lectionner tout M Analogique V Num rique M Communication M Mouvement Controller Effacer tout OK Annuler Aide fs RSLogix 5000 Example_File 1756 L61 ola i 28 Je 7 kaucun gt amp m rx La H G ucun for age j Pas d ditions Controller Example _File Propri t s du module Local 1 1 56 DNB 5 1 A Tags du Controller Ve E3 Gestion des d fauts du Controll CN Gestion de la mise sous tension Type 1756 DNB Scrutateu Emplacement fi Taille d entr e 124 4 32 bits Enter a name for your network card Tasks Foumisseur Allen Bradley MainTask cy MainProgram Nom TesysTU_Network C3 Programs non prioritaires 3 Groupes de mouvements E Axes non group s Taille de sortie 123 32 bits EJ Tendances Data Types Taille d tat 32 32 bits ER D fini par l utilisateur C8 Cha nes CR Pr d fini R vision By f D trompage lectroniqu Cf D fini par le Module Configuration des 1 0 1 1756 DNB Description lt Module compatible 7 Suivant gt e Annuler You put in attachment the file of RsNetworx th
5. MainProgram fob E WE Bs Passerelle Ethernet 1756 10 100 Mbs services Web am lior s E 63 Programs non prioritaires 1756 H5SC Comptage rapide 1756 Groupes de mouvements 1756 HY DO Asservissement hydraulique 2 ases CI Axes non group s 1756 1476 Entr e 9 132 Y ca 16 points EX Tendances 1756 14761 Entr e isol e 79 132 c a 16 points Data Types 1756 480 Entr e diagnostic 79 V 132 V c a 8 poirgs i a a 17561816 Entr e 10 2124 cc 16 points D rien 17568160 Entr e diagnostic 10 W 30 V c c 16 Entl e diagnostic 79 V 132 c a 8 points atmos 1756 16 161 Entr e isol e 10 30 c c 16 points NPN PHP 1 756 B16ISOE Sequence d v nements d entr e 16 vies isol es 24 V s gt Afficher Fournisseur Tout M Aug M 10 sp cialis es S lectionner tout Right click FT re New module si M Analogique M Num rique M Communication W H prenent i Controller Effacer tot Annuler Aide Page 2 11 Sc bneider G Electric RESOLUTION S lectionner le type de module X Type f 756 DNB Type Description 1256 DNE 1756 ENBT 4 Scrutateur DeviceNet 1756 Passerelle Ethernet 1756 10 100 Mb s support paire torsad e 1756 ENET 7 4 1756 ENET B S lectionner la r vision majeure x a You select the 1756 EWEB A r firmware revision of 1756 HSC nu 1756 HYD02 S lectionnez la r vision majeure pour le profil de the 1 15 6 DN B card it
6. amp mainte Editer les Tags ER Ma v rifier A Nouveau Tag Surveiller les Tags Type de Tag Base A Exporter les Tags Elias i i ii Ping ineine r Froduit Groupes d C Consomm Data Type MESSAGE f Configuration test controller Etendue Style You repeat c d e and f to create the tag Reading Trip Class with a Data Type INT 16 bits On each message box we need two tags as before After you can allocate the tags configured before and entered into the function block MSG TOBTAM MAINRKOUTINE ll Block Reading Trip Class EN SG i Type CIP Generic Message Contral Block Reading_Trip_class EN a ER z m Configuration Communication Tag In English Get one attribute Type de message CIF Genenc Es Code for reading one hee eo information service Cbtenir un seul attribut Element source x Code d le ee lea H Fa Hu tn wee iy service DE SAA e a El ment Reading Trip_Class SG destinataire Instance i Attribut f Hexal Nouveau Tag See user manual page 400 link on page 6 DeviceNet address for register 606 See page 6 a Activer 3 Activer attente D marrer 2 Termin Longueur accomplie 0 43 Code d erreur Code d erreur tendu Temps d pass Chemin de l erreur Tente de l erreur Annuler A
7. of the CPU into RsLogix5000 you have to be connected Acc der test contraller Afficher Athcher tout Hom du Tag fi trib Time transition _ s Tinnert E Start p Trier NomduTag JA Tags du Controller EI Gestion des d fauts i Gestion de la mise sous Nension a Tasks oa MainTask 2 Valeur 1 is the slot number of ct hehe E3 MainProgram i Programs non prioritaires ey Groupes de mouvements i Axes non groupes of Tendances 3 Data Types Cih C fini par l utilisateur i Cih chaines D Pr d fini Reading Trip Clas the DeviceNet card __ Reading Time Tl means input data of the __ Loralt s FA Local 1 g Local Tt PLC for the slaves FE LacatT StatusRegister Local Data Fi Local 1 I DatalD DE cE Defini par le Module is TE Datafi Reg 458 2 2 Read acyclic data CIA request You have seen above that you can read four informations for example registers 455 456 457 and 458 You can read more informations but you have to use the acyclic service The acyclic communication allows you to access of all other informations remaining into the TeSysT amp U The acyclic service uses the Class Instance Attribute format CIA You have to program a request into RsLogix5000 to read the values of registers For example we try to read registers 606 Trip Class of TeSysT and 541 Time transition between Output 1 and Output 2 of TeSysT
8. Scpelder RESOLUTION How to Read amp Write information with TeSysT amp U on Allen Bradley PLC l Type of publication Best know Method BKM Troubleshooting guide Il Product Product range Product family TeSysT TeSysU LMR ill Introduction This document will describe you how to read and write datas with TeSysT amp U on a network DeviceNet through a PLC Allen Bradley The CPU is a Logix 5561 and the communication card is a 1756 DNB We describe you how to read write information with cyclic acyclic Class Instance Attribute request services we put in attachment the file of RsLogix5000 with the program We advise you to work on this document with the technical resolution R031_How to configure a TeSysT on DeviceNet or R032_How to configure a TeSysU on DeviceNet available on the same web page We consider that the network is already operational and ready for data exchange between the master card and the slaves connected You have to install RsLogix5000 software for Allen Bradley PLC V13 00 minimum Link for RO31 How to configure a TeSysT on DeviceNet www schneider electric com Products and Services Motor Control on left side TesysT Download Resolution Link for RO32 How to configure a TeSysU on DeviceNet www schneider electric com Products and Services Motor Control on left side TesysU Download Resolution Page 1 11 Scpelder RESOLU
9. TION IV Description Step 1 RsLogix5000 Configuration of the PLC 1 1 Hardware configuration Open RsLogix5000 and configure a PLC with CPU Control Logix 5561 and Communication card 1756 DNB fe RSLopix 5000 Modifier Afficher Rechercher Logique Communications Outils Fen tre Aide Fe EE veau Controller x dindane i ataul Fournisseur Allen Bredle b Type 1756 L61 Controller ContralLogik5361 Revision 13 Annaler D Redondance valid e Aide Morn Example File Description You select the rack i corresponding to your Type de chassis 1756 410 Chassis Contrallogix 10 emplacements Cc config u ration 7 4 slots 7 Emplacement p slots 10 slots oon Cr er dans CNR SLogix 5000 Projects Parcourir After you can validate by OK de RSLogix 5000 Example File 1756 16 Fichier Modifier Afficher Rechercher Logique You select the network card for the PLC to S lectionner le type de module exchange information Tye 17560NB8 between TesysT amp U and Description the PLC 1756 DNB Controller Example_File somal Som 1756 DNE Scrutateu DeviesNet 1758 re a SA a es 1756 ENBT A Passerelle Ethernet 1756 10 100 Me paire torsad e F H Tasks Fob ENET 48 Interface de communication Ethernet 173 ig E MainTask 756 ENET B Passerelle Ethernet 1756 CB
10. at you use for your network configuration Into the RSNetWorx file format dnt you have defined the entire configuration for your slaves TesysT amp U and communication card 1756 DNB is RSLogix 5000 Example _File 1756 161 r m Fe chenin l ucun for age a T For more information feel free to read the a Jr R031 or R032 In the link of this document ou can find the dnt file for example J Controller Example_File Tags du Controller Gestion des d fauts du Control 5 Gestion de la mise sous tension Fichier DeviceNet dnt 3 Tasks MainTask a E8 MainProgram Lancer RSNetWorx de DeviceNet Propri t s du module local 1 1756 DNB 5 1 Parcourir C3 Programs non prioritaires Groupes de mouvements CN Axes non group s EI Tendances amp Data Types Ca D fini par l utilisateur E3 Ca Chaines Ca Pr d fini Impossible d ex cuter RSNelworx de DeviceNet si vous ne sp cifiez pas le fichier DevicgNet ci dessus D fini par le Module amp Configuration des I O 1 1756 DNB TesysTU_Networ m Annuler lt Pr c dent Suivant gt Afficher et modifier le r seau DeviceNet mie Once click on Finish button the hardware configuration will be ended and you will be ready to program requests to read or write information between TeSysT amp U and the PLC Allen Bradley Pag
11. c Gestion des d fauts a Controller ELWa Time_ transtion 100 E Gestion de la mise sous osion i i liS Tasks Lt Timerl de gt MainTask Start 0 ER MainProgram Reading_Trip_Class 5 I Tags du Program Reading_Time_Transition 100 E HORS f Localt 5 RE C3 Programs non prioritaires N E Groupes de mouvements Local 1 0 oy l C Axes non group s N Local 1 0 CommandReaister Gaa CN Tendances Local 1 0 CommandRegister Run 0 gt 1 1 Data Types Local 1 0 CommandFeaister Fault 0 a x par Futiisateur Local 1 0 CommandRegister DisableNetwork ol ji A rs Local1 0 CommandRegister HaltS canner 0 Gi D fi parle Module Locat 0 CommandRegistr Reset o Slot card number for DeviceNet master in my example slot 1 Page 4 11 Schneider RESOLUTION Step 2 RsLogix5000 Read information from TeSysT U 2 1 Read cyclic data We select the instance 110 for reading information into RSNetWorx software The cyclic exchange is an exchange automatically managed between the communication card and the slaves You do not need to use request into the PLC to access to the cyclic information By default TesysT amp U send all the time information registers 455 456 457 and 458 you can change the information sent on cyclic network see R031 On TeSysU you cannot customize this part it is only on TeSysT You can read the value of these registers for TesysT into the live list tags
12. d erreur Code d erreur tendu Temps d pass Chemin de l erreur Texte de l erreur Page 8 11 Schneider RESOLUTION You can read these two registers value into the tags Reading_Trip Class and Reading Time transition by the way of an animation table be sure to be online between your laptop and your PLC fo RSLogix 5000 test in Example_ File CIA Request ACD 1756 L61 Tags du Controller test controller H Fichier Modifier Afficher Rechercher Logique Communications Outils Fen tre Aide alsel a Has AA alle le Sic Hors ligne aa P aoe EI Gestion de la mise sous kens H T Tasks 17 MainTask SX 7 fale ae MainPragram Reading_Trip_ Class Tags du Program Reading Time Transition Time 10 sec Step 3 RsLogix5000 Write information from TeSysT U 2 1 Write cyclic data We select the instance 100 for writing information into RSNetWorx software The cyclic exchange Is an exchange automatically managed between the communication card and the slaves You do not need to use request into the PLC to write this cyclic information By default TesysT amp U receives from the PLC all the time information registers 704 703 only for TesysU for TesysT it is reserved and 700 You can write the value of these registers to TesysT in the live list tags of the CPU into RsLogix5000 you have to be connected Controller test Acc der test controller Affich
13. e 3 11 Schneider RESOLUTION In our example the RsNetworx file is made with two slaves TeSysT address 1 and TesysU address 2 TesysT amp U exchange on the network are defined as follow TesysT Input data DW Double Word 0 and DW1 Output data DWO and DW1 TesysU Input data DW2 and DW3 Output data DW2 and DW3 Note The network speed is 125 kbps 1 2 Transfer of the configuration There is a key in front of the CPU Each time you want to download an application you have to put on Prog position right side Now you can process to the downloading operation Go on the menu Communications Enter on Line Load After downloading you put the key on Run position CPU is in Run mode and the program is launched For the DeviceNet card master you have to activate an internal bit of the card to put the devicenet network in Run mode the devicenet card will go Idle mode to Run mode f RSLogix 5000 test in Example_File_CIA_Request ACD 1756 L61 Tags du Controller test controller A Fichier Modifier Afficher Rechercher Logique Communications Outils Fen tre Aide alsm a a e i E ll Te Hors ligne Pate i Chemin 4B_DF1 1 ABD a For ages EH Pas d ditions ES DNS EE oe rane DA gt Bed D Bi IE re Onis Et Entr e Sort Compare Controller test Acc der EE Afficher a tout in Trier ma du Tag l Tags du Controller Nom du Tag 2 Valeur e
14. er Afficher tout Trier Nom du Tag 2 Tags du Controller Nom du Tag a Valeur i Gestion des d fauts dNControll r B spin Time fanion 100 E E3 Gestion de la mise sous tion Re a ri By Tasks jt Timert ET eA MainTask Start 1 is the slot number of 0 Fs MainProgram E Fe Reading Trip Class the DeviceNet card 5 23 Programs non prioritaires lE Reading Time a 0 means output data of 100 7 re oe a the PLC to the slaves Reg 70 nan ne tocat 1 0 command of 3 G Data Types i NE Local 1 01 CommandFegister Reserved the outputs T i D fini par l utilisateur LE id Local D Data DWO AE Ni E Cha nes E Local 1 0 Datal0 2 0000_0000_ 0000 _0000_ 0000 _ 0000 0000_ 000l Hi Predera Localt D Dataf1 2 0000 0000 0000 0000 0000 0000 0000 0000 DW1 Reg 700 free register for custom mode Page 9 11 Scpelder RESOLUTION 2 2 Write acyclic data CIA request You have seen above that you can write two or three informations registers 704 703 only for TesysU and 700 You can write others informations for configuration but you have to use the acyclic service The acyclic communication allows you to access of all other informations remaining into the TeSysT amp U The acyclic service uses the Class Instance Attribute format CIA Also do not write information already available in the cyclic part 704 703 and 700 If you write 704 703 or 700 by an acyclic request automatically the value wrote
15. ppliquer Aide Tag defined before to receive the information read into the register 606 Page 7 11 Schneider LP Electric RESOLUTION hje du Message Block Reading Trip Class Ed Configuration Communication Tag You define the hardware link Chemin Master_Card_DN 2 1 Parcourir of the DeviceNet Master port Master Card DH 2 1 in my PLC have the card on M thode de conmuricauar the slot 1 port 1 but I had to RCE ea 7 put slot 9 because it is the GE RIT ELLE Sa T only number that RsLogic identification baal J to destinatare 10 i takes account dela source FOURS Connect M Corresonsd ceche w Active lt 3 Activer attente 4 Has 62 Termin Longueur accomplie fl 2 Code d erreur Code d erreur tendu Temps d pass Chemin de l erreur Texte de l erreur Aide Arner After you repeat the steps c to h to create block to read register 541 Transition time between Output 1 and Output 2 Configuration du Message Block Reading _lime_Tranistion Configuration Communication Tag Tope de message ICIP Generic Type de Fe Heian sounge Spree Obtenir un seul attribut ae LOIRE kongen Code de e fea S service Flexa Classe JES Hesa El ment Reading_Time_Tran w destinataire Instance f1 Attribut 2 Hexa Nouveau Tag Activer 2 Activerattente D marrer Termin Longueur accomplie i 3 Code
16. will be refreshed by the cyclic exchange You have to program a request into RsLogix5000 to write the values of registers For example we try to write register 541 Time transition between Output 1 and Output 2 of TeSysT Open the same routine routine for reading acyclic data to program this request LADDER language Please to follow exactly the same steps as pages 5 6 and 7 Create tags Block Writing Time Transition and Writing_time_transition Black Vvriting_ Time Transition EN SG i Type CIP Generic __ EN Message Contral Block _Vvriting Time Transition Th ER 3 a SENUENCAL EN du Message Block Writing Time Transition x i Configuration Communication Tag In English Define one attribute Type de message CIF Generic Fr Code for Writing one are _ z information de D finir un seul attribut El ment source fwriting_Time_transit Res T prae SOUTCE E Octets Code dep Heka plasse 69 Hera piemen Service j Instance ji Attribut 2 Hesa D Nouveau Tag See user manual page 400 link on page 6 DeviceNet address for register 541 See page 6 Activer Activer attente lt 2 D marrer Temin Longueuraccomplie g 3 Code d erreur Code d erreur tendu Temps d pass Chemin de l erreur Teste de l erreur Annuler Aide Tag defined to write the register541 Page 10 11 Schneider RESOLUTION
Download Pdf Manuals
Related Search
Related Contents
ファイル【PDF:1180KB】 MANUAL DEL OPERADOR KS1616A 取扱説明書 USER MANUAL Manual SD-3642 DESK - technoprint Copyright © All rights reserved.
Failed to retrieve file