Home

User Manual - Industrial Network Controls, LLC. Home Page

image

Contents

1. is similar to windows messaging To control the display or to send information to the user the network can send an SDO or PDO to the corresponding object Page 4 of 24 Drawing Screens Overview The programmer can draw screens on the display using the INC LLC Operator Interface tool The tool allows objects to be dragged and dropped on the PC screen and the actual display is updated simultaneously if it is connected The component properties can be changed using the tool It is very similar to designing a form with Visual Basic or C Builder is designed to allow the user to receive and send data to the network Interface Tools Gorfguration podus Progam Corfguieton Hame 7225 g Scieenindes 2 Lenzo o 2 2 Obed Fort F Refresh Soven Mode Restore Seaan Outs Snekh Pras Flash Save Screen o 444 neat Dokto Smeer Parade Static Test Operator Irged Muttingusi Tew Misc lt gt Offine Configorstio Status Offline Page 5 of 24 Static Text Example To draw a screen first open the Operator Interface Tool It is best to design the screen with the module online This allows the programmer to see what it actually looks like as the PC has to approximate pixels to display the 128x64 pixels of the display To work online Press the Start Network button then press the Network Browse button If t
2. Echo Bit Definitions Commands 0 Nop No operation is performed 1 Read Object Object Specified is read and data can be found in MUX Request Data 2 Write Object Object Specified is written with data supplied in MUX Request Data Toggle Echo This is the echo of the toggle in the request control byte Error This bit is set if there was an error performing the requested command i e object doesn t exist Page 12 of 24 MUX Data Examples To write Index 0x2800 SubIndex 1 with a value of 0x01 Send the following to the RxPDO Byte 0 Byte 4 7 0x02 The TxPDO will be updated with Byte 0 Byte 1 2 Byte 3 Byte 4 7 0x02 01 To Read Index 0x2601 SubIndex 0x01 Send the following to the RxPDO Byte 0 Byte 4 7 0x01 The TxPDO will be updated with Byte 0 Byte 1 2 Byte 4 7 LSB MSB Page 13 of 24 Multiplexed Data Objects Object 2A00h MD Request Control Byte The MD Request Control Byte Object allows the network to send requests to the operator interface using process data OBJECT DESCRIPTION INDEX 2A00h MD Request Control Byte Object Code UNSIGNED8 Optional ENTRY DESCRIPTION Access PDO Mapping Value Range UNSIGNED8 Default Value Oe i Control Byte Format Toggle Bit Definitions Commands 0 Nop No operation is performed 1 Read Object Object Specified is read and data can be found in MUX Request Data 2 Write Object Object Specified is written with data supplied in MUX Req
3. O that is generated set the Node to operational if it is not by selecting Module gt Node gt Set Operational from the menu Using a CAN viewer a PDO should be generated with the object in the first four bytes and the value in the next byte IndexLSB IndexMSB SubIndex Length Value Don tCare Don tCare Don tCare PDO 0x00 0 26 10 01 000 va XXX xxx xxx Page 9 of 24 Default PDO Mapping 3 Changed Item LSB MPDO Addr MUX Data Response Status pA MUX MUX Data Response Data Response M SB Changed Changed Item Item MPDO MPDO Index Index LSB MSB p MUX Data Response SubIndex Changed Item MSB MPDO SubIndex MUX Data Response Data Changed Item Data LSB MPDO Data LSB MUX Data Response Data Changed Item Data MPDO MPDO Data Data MUX Data Response Data Changed Item Data Byte 8 MUX Data Response Data Changed Item Data MSB MPDO Data MSB 1 Screen Command MUX Data Request Control Current Screen MUX Data Request Index LSB MUX Data Request Index MSB MUX Data Request SubIndex MUX Data Request Data LSB MUX Data Request Data MUX Data Request Data MUX Data Request Data MSB emesis eee SE MPDO Addr MPDO Index LSB MPDO Index MSB MPDO SubIndex Page 10 of 24 MPDO Data LSB MPDO Data MPDO Data MPDO Data MSB Reading an
4. Operator Interface User Manual Rev 1 0 Page 1 of 24 Overview This document describes how to use the INC LLC Operator Interface Please reference the CANopen software specifications document for more details Page 2 of 24 Table Of Contents Object 2A00h Object 2A0 1h Object 2A02h MD Request SubIndex esset tenete tte tents tet E ENERE R Eria ATE E or yasa Object 2A03h MD Request Data n 425 Object 2A10h MD Response Status Byte Object 2A11h MD Response Index ee eoe ep cepe en Decet dept aaa Object 2A12h MD Response SubIndex is Object 2A13h MD Response Data Changed Item Description Ss vu E T Object 2080h Changed n eR ER EUER OEC ERE TP rU IS RUE a reese Object 2081h Changed Item Data teet ttti Ree ene Eni E EL e e ExainpletT 55 est er EQ CERE NER 24 NE 24 EFx 3mpl 3 OP pe E Sb 24 Page 3 of 24 Operation Overview The CANopen Operator Interface is designed to allow the user to receive and send data to the network For those familiar with Windows programming the device operates in a similar manner When the user presses a button on the operator interface the interface sends a PDO on the CANopen network indicating which button was pressed and This
5. SIGNED32 Default Value fo Page 17 of 24 Object 2A10h MD Response Status Byte The MD Response Status Byte Object allows the network to get the response to the request made using the MD Request Objects using process data OBJECT DESCRIPTION INDEX 2A10h MD Response Status Byte Object Code UNSIGNED8 ENTRY DESCRIPTION Acess RO PDO Mapping Value Range UNSIGNED8 Default Value O 2 Status Byte Format Reserved Command Echo Bit Definitions Commands 0 Nop No operation is performed 1 Read Object Object Specified is read and data can be found in MUX Request Data 2 Write Object Object Specified is written with data supplied in MUX Request Data Toggle Echo This is the echo of the toggle in the request control byte Error This bit is set if there was an error performing the requested command i e object doesn t exist Page 18 of 24 Object 2A11h MD Response Index The MD Response Index Object allows the network to send requests to the operator interface using process data The index object specifies the object that was written or read from using the MD Request OBJECT DESCRIPTION INDEX 2A11h MD Response Index JAR j Object Code VAR UNSIGNED16 ENTRY DESCRIPTION Acess RO PDO Mapping Value Range UNSIGNED16 Default Value Page 19 of 24 Object 2A12h MD Response SubIndex The MD Response SubIndex allows the network to get the response of requests to the operator int
6. d Writing Objects using PDOs There are two methods for writing Objects using PDOs One is the use of a Destination Address Mode DAM MPDO CANopen standard and the other is to use the MUX Data Objects For reading objects the user must use the MUX Data method Multiplexed PDO DAM MPDO Request RxPDO Example To write Index 0x2800 SubIndex 1 with a value of 0x01 On Node 0x0A Send the following Page 11 of 24 MUX Data Objects To read and write objects using PDOs the MUX Data objects were created The mechanism works with a request response method RxPDO 2 is mapped by default with the Mux Request values and TxPDO 2 is mapped with the Mux Data Response values The default mapped PDO format is as follows Request RxPDO Format Byte 0 Byte 1 2 Byte 4 7 Control SubIndex Request Data O Control Byte Format Bit 7 Bits 3 0 Reserved Reserved Command Bit Definitions Commands 0 Nop No operation is performed 1 Read Object Object Specified is read and data can be found in MUX Request Data 2 Write Object Object Specified is written with data supplied in MUX Request Data Toggle The user must toggle this bit if the device is to perform the requested command again Optionally the user can switch commands such as write then read or write then NOP then write again Response TxPDO Format Byte 0 Byte 1 2 Byte 4 7 Status SubIndex Response Data Status Byte Format Bit 7 Bits 3 0 Error Toggle Command
7. epted the new value will be displayed in the table To place the static text object onto the screen drag the text string to the display window Page 7 of 24 INC LLC Operator Interface Tool bein Corhgnsior Mama Tooth Scieen f Scmen hojo z Language 10 2 Units fo 5 Seisan 2 Let ja 2 Wih Hagi B 2 Teb Order 9 2 02 Tes 1 Add Eri is Pune F da ES Refiesh Soreen Nodes Restore Screen F jy Stretch Flash Save Screen F Invert Scie Periodic Static Te Operator input Test Mise gt Mode Offire Configuration Staus Offline The new text string will be displayed on the screen The current object that is selected has a flashing box around it The flashing box is just an indicator to the programmer and will not show up during runtime The text attributes position font Mode etc can be changed if necessary Changing the attributes can be accomplished by adjusting the corresponding control on the Interface Tools window The object can also be selected and moved by holding down the left mouse button while over the object and dragging it around the display The design process is similar for the other types of objects Page 8 of 24 BUTTON Example To add a button to the screen select the Button tab and then edit a button a Button R Hu E laturlacu To
8. erface using process data The SublIndex object specifies the subindex of the object that was written to or read from OBJECT DESCRIPTION NDEX 2A12h MD Response Subindex Object Code Data Type UNSIGNED8 ENTRY DESCRIPTION Access RO PDO Mapping UNSIGNED8 Default Value COE Page 20 of 24 Object 2A13h MD Response Data The MD Response Data allows the network to get data returned from requests to the operator interface using process data The Response Data object will return the data of the object that was read to the requested index and subindex The amount of data transferred depends on the size of the object read from OBJECT DESCRIPTION NDEX 2A13h MD Response Data Object Code Data Type UNSIGNED32 ENTRY DESCRIPTION Access RO PDO Mapping UNSIGNED32 Default Value O LE Page 21 of 24 Changed Item Description Object 2080h Changed Item The Changed Item Object allows the network to detect changes that the operator has made using the keypad Example If the user changes the number in an Operator Input the corresponding Object Number is placed into this object OBJECT DESCRIPTION INDEX 2080h Changed Item Object Code UNSIGNED32 ENTRY DESCRIPTION Access RO PDO Mapping Value Range UNSIGNED32 Default Value O NI Page 22 of 24 Object 2081h Changed Item Data The Changed Item Data Object allows the network to detect changes that the operator has made using the keypad Exam
9. here are any Operator Interface Nodes found the program will indicate the node number detected then open the configuration tool windows To work on a particular screen use the Screen spin button to select the screen to edit To clear an existing screen press the Delete Screen Button m w r Operator loterface Tual t x E Lm Configuration Mode Engin LIEBHERR wee Mim ai Soret 2 Somb g s e fo 2 Adi Eny Dolie Domen M Perde gt gt 1 gt gt Static Test Opesatce apu Mec 41 Te Siro A simple starting screen can be created using a Static Text Object Select the Static Text Tab the Interface Tools window Select an existing entry or a blank entry by clicking on the Text String column of the Static Text table To edit the text double click on the text or press the edit button after selecting it This will bring up the Static Text editor Enter a text string such as hello Page 6 of 24 0 INC LLC Operator Interface Tool Intartace Tonts i Medie Progs Scwen Stren Index ps Lenguege 0 Unie Z Add Eri Fon 2 2 Rakesh Soreen Static Text ditor _ m Gres After entering the string press ok If working online the data will be sent to the interface and analyzed If acc
10. oke D Confer 5 Ware Toons Button T t Irag g Sewenindec i 0 Language 0 z Action Semn Erey tem Add Entry Shad ote so DJ a m Sora value 34 a oS Due Tab Dice 55 ma PEE o Operates Output Sutton Lock Up Tabie Jasso S900 3 Increvrert Ob ye d 26000100 For a simple test application select Increment Object Value for the action Click the button on the Signal Object entry This will bring up the Input Object Select screen This assists the programmer in picking the correct object For this example select UNSIGNEDS for the Data Object Type and 1 for the Data Object Instance This example will place the value of 0x26000100 in the Signal Object Enter 1 for the signal value then press ok You will see the information in the Buttons table Drag and drop the button onto the display Save the screen by pressing the Save Screen Button To refresh the screen press the refresh screen button This will refresh the screen to get rid of extra pixels and allow the user to select the button Press the enter button on the display This will Increment the value in the Object at Index 0x2600 SubIndex 01 Read the value by selecting the Module gt SDO from menu Each time the button is pressed the value is incremented To see the PD
11. ple If the user changes the number in an Operator Input or presses a screen button the corresponding Object Data is placed into this object OBJECT DESCRIPTION NDEX 2081h Changed Item Data Object Code VAR Data Type UNSIGNED32 ENTRY DESCRIPTION Access RO PDO Mapping UNSIGNED32 Default Value fe Page 23 of 24 Changed Item Examples Example 1 Configuration Events Operator Input 1 is mapped to the first UNSIGNED8 Data In Object Index 0x2600 SubIndex 0x01 The user changes the value to 57 and presses enter The Changed Item will indicate 0x26000108 The Changed Item Data will indicate 0x00000039 57 decimal If the objects are mapped into a PDO by default the PDO will be sent with the following value 0x08 0x01 0x00 0x26 0x39 0x00 0x00 0x00 Example 2 Configuration Events Operator Input 2 is mapped to the third UNSIGNED 16 Data In Object Index 0x2601 SubIndex 0x03 The user changes the value to 1000 and presses enter The Changed Item will indicate 0x26010310 The Changed Item Data will indicate 0x000003E8 1000 decimal If the objects are mapped into a PDO by default the PDO will be sent with the following value 0x10 0x03 0x01 0x26 0 8 0x03 0x00 0x00 Example 3 Configuration Events Operator Input 3 is mapped to the fourth UNSIGNED32 Data In Object Index 0x2602 SubIndex 0x04 The user changes the value to 200000 and presses enter The Changed Item will indicate 0
12. uest Data Toggle The user must toggle this bit if the device is to perform the requested command again Optionally the user can switch commands such as write then read or write then NOP then write again Page 14 of 24 Object 2A01h MD Request Index The MD Request Index allows the network to send requests to the operator interface using process data The index object specifies the object to read or write OBJECT DESCRIPTION INDEX 2A01h MD Request Index Object Code VAR UNSIGNED 16 ENTRY DESCRIPTION PDO Mapping Value Range UNSIGNED16 Default Value Oe i Page 15 of 24 Object 2A02h MD Request Sublndex The MD Request SubIndex allows the network to send requests to the operator interface using process data The SubIndex object specifies the subindex of the object to read or write OBJECT DESCRIPTION INDEX 2A02h MD Request Sublndex Object Code VAR UNSIGNED8 ENTRY DESCRIPTION PDO Mapping Value Range UNSIGNED8 Default Value Oe Ss j Page 16 of 24 Object 2A03h MD Request Data The MD Request Data allows the network to send requests to the operator interface using process data The Request Data object specifies the data to be written to the requested index and subindex The amount of data transferred depends on the size of the object written to OBJECT DESCRIPTION NDEX 2A03h MD Request Data Object Code Data Type UNSIGNED32 ENTRY DESCRIPTION PDO Mapping UN
13. x26020420 The Changed Item Data will indicate 0x00030D40 200000 decimal If the objects are mapped into a PDO by default the PDO will be sent with the following value 0x10 0x04 0x02 0x26 0x40 OxOD 0x03 0x00 Page 24 of 24

Download Pdf Manuals

image

Related Search

Related Contents

Copyright © All rights reserved.
Failed to retrieve file