Home

2711P-UM002 - Rockwell Automation

image

Contents

1. Holding Registers Default types are shown in bold Holding Registers Decimal Addressing Hexadecimal Addressing Type Word Short BCD Format AXXXXX H4yyyyy Security Read Write Range 400001 465536 H400001 H410000 Type Boolean Format Axxxxx bb H4yyyyy c Security Read Write Range AXXxxx 0 AXXxxx 15 Ayyyyy 0 4yyyyy F Type Float DWord Long LBCD Format AXXXXX H4yyyyy Security Read Write Range 400001 465535 H400001 H4FFFF Type String HiLo Byte Order Format 400001 2H 465536 240H H400001 2H H4FFFF 240H Bit is string length Bit is string length Range 2 240 bytes Range 2 240 bytes Security Read Write Range 400001 465536 H400001 H4FFFF Length 2 240 Bytes Length 2 240 Bytes Type String LoHi Byte Order Format 400001 2L 465536 240L H400001 2L H4FFFF 240L Bit is string length Bit is string length Range 2 240 bytes Range 2 240 bytes Security Read Write Range 400001 465536 H400001 H4FFFF Length 2 240 Bytes Length 2 240 Bytes Publication 2711P UMO02B EN P March 2007 66 Modbus TCP Address Definitions Publication 2711P UMO02B EN P March 2007 String Support The Modbus model supports reading and writing holding register memory as an ASCII string When using holding registers for string data each register will contain two bytes of ASCII data The order of the ASCII data within a given register can be selected when the string is defi
2. RSLinx OPC Server RSLinx Remote OPC Server 6 Enter a name for the KEPServer driver and click OK OPC Data Server Properties q 2131 General Advanced Name KEP Description Computer hosting the server Server will be hosted on local computer Server will be hosted on remote computer OPC Server name ProglD ke Pware KEPServerEnterprise V4 Informational messages appear at the bottom of your RSView Studio window indicating that the Server has started and is available on the computer a In service The server RNA f Local ModiconHMI KEP on computer localhost is now active GU server available The server RNA Local ModiconHMI KEP is now available on computer localhost Any tags created earlier in the KEPServer software are now available for the HMI using the standard RSView Studio tag browser TIP Remove all serial drivers from the RSLinx Enterprise Communication Setup that would conflict with the port configured for Modbus Publication 2711P UMO02B EN P March 2007 Making KEPServer Drivers and Tags Available in RSView Studio 39 Browse KEPServer Tags TIP For additional information on working with tags see Chapter 6 of the RSView Machine Edition User s Guide ViewME UM003 available under the RSView Studio help menu 1 Double click or right click on an object to open its Properties dialog 2 On the Connections tab click the Value s E button to op
3. Publication 2711P UM002B EN P March 2007 16 Configuring KEPServer Drivers for Modbus 2 Create a new KEPServer project pfe file From the menu select File gt Save As and save the project as a pfe file File name Modicon Save as type Project Files pfe E Cancel A Select the Default Project The steps in this section ensure that the correct project file is used in File l pfe your RSView Studio application When RSView Studio creates a runtime application and the application contains the KEPware OPC server RSView Studio will merge the KEPware project file pfe into the runtime file mer The project file that RSView Studio uses is defined by the Default project field in the General tab of the Tools gt Options menu in KEPware Server Enterprise TIP This may not be the current configuration running in KEPware Server Enterprise If you are testing the application on a PC make sure the project name in the title bar of KEPware Server Enterprise matches the Project default field 1 From the Menu bar select Tools gt Options Tools Reinitialize Event Log Launch OPC Quick Client Launch DOOM Configuration Create Startup Shortcut Options 2 On the General tab click the E button next to the Default project textbox 3 Select the desired pfe file and click the __4een_ button Publication 2711P UMO002B EN P March 2007 Configure Drivers for Modbus Protocols Channel name
4. Connect timeout refers to the time to wait for a successful initial connection Request timeout refers to the time to wait for a request to be serviced Connect timeout seconds i Request timeout milliseconds Fail after 3 successive timeouts lt Back Help Cancel Publication 2711P UM002B EN P March 2007 26 Configuring KEPServer Drivers for Modbus Step 6 Configure Tag Database Options Doesn t apply to Unsolicited Serial or ASCII Protocols In the New Device Database Creation dialog click Next to accept the default tag database configuration options The automatic OPC tag database generation features of the server have been designed to make the setup of your OPC application a Plug and Play operation For communication drivers that support this feature you can configure them to automatically build a list of OPC tags within the server that correspond to device specific data The automatically generated OPC tags can then be browsed from your OPC client New Device Database Creation The device you are defining has the ability to automatically generate a tag database Determine if the device should create a database on startup what action should be performed on previously generated tags and the group to add tags to Startup MARES Action Delete on create y Add to group AAA Publication 2711P UMO002B EN P March 2007 Configuring KEPServer Drivers for
5. F firmware upgrade creating a firmware upgrade card 42 firmware upgrade wizard 41 upgrading via network connection 46 using a firmware upgrade card 44 Firmware Upgrade Wizard 10 using a compact flash card 42 using network connection 46 Index Instromet addressing 68 K KEPServer communications testing 35 KEPServer drivers Firmware Upgrade Wizard 41 installing on terminal 41 KEPServer drivers and tags making available to RSView Studio 37 KEPServer Enterprise 10 M Magnatek address definitions 81 MODBUS RTU Serial address definitions 77 Danieles S500 address definitions 88 holding registers 79 input coils 77 internal registers 78 OMNI address definitions 83 output coils 77 MODBUS ASCII 11 address definitions 69 holding registers 71 input coils 69 internal registers 70 output coils 69 MODBUS drivers adding a channel 17 adding a device 24 configuring 17 MODBUS master slave protocol MODBUS RTU Serial 11 MODBUS Unsolicited Serial 11 network illustrations 12 MODBUS protocols master slave 11 MODBUS RTU Serial 11 MODBUS ASCII 13 MODBUS Unsolicited Serial 11 MODBUS TCP 13 MODBUS Unsolicited ASCII address definitions 73 holding registers 75 input coils 73 internal registers 74 output coils 73 Publication 2711P UM002B EN P March 2007 90 Index MODBUS TCP 13 R address definitions 63 RSView Studio 9 holding registers 65 available KEPServer drivers 37 input coils 63 running application 58 Instromet
6. Name Modbus4SCIl Device Driver Modbus Ascii Serial Diagnostics Disabled Communications Parameters Serial ID SERIAL 1 lt KEPServerEnterprise C Program A File Edit Yiew Tools Help The red X next to the channel name will disappear Ak ag TIP ane Tan appe z SU ANA aa when a destination device is added under this driver fill Click to add a device Step 9 Save Project File From the Menu bar select File gt Save or click the Save button Publication 2711P UM002B EN P March 2007 24 Configuring KEPServer Drivers for Modbus lt KEPServerEnterprise C Program Files KEPServerf Fie Edit View Tools Help DSE PMaeag lo BBx Click to add a device Device name M odiconController Device model Publication 2711P UMO002B EN P March 2007 Add A Device Now that a new channel is defined you need to add a new device to the channel In most cases selecting the default settings will allow you to quickly configure and connect to a device Step 1 Add a Device Add a device by clicking on the Click to add a device hypertext or the New Device icon This will bring up the new device wizard Here you ll add the information pertinent to the controller that you are going to communicate with Step 2 Enter a Device Name In the New Device Name dialog enter a device name that will help you identify the device later and click Next In most cases the device will
7. New Device Block Sizes x Specify the maximum block sizes when reading data from this device Refer to the online help for assistance r Coils 8 800 in multiples of 8 Output 22 Input 32 r Registers 1 120 Interna 32 Holding 132 lt Back Next gt Cancel Help Configuring KEPServer Drivers for Modbus 29 Reasons to Change the Default Block Sizes include e The device may not support block read write operations of the default size Smaller Modicon PLCs and non Modicon devices may not support the maximum data transfer lengths supported by the Modbus Ethernet network e The device may contain non contiguous addresses If this is the case and the driver attempts to read a block of data that encompasses undefined memory the device will probably reject the request Step 9 Set Location of the Variable Import File The New Device Variable Import Settings dialog sets the location of the Concept or ProWORX variable import file the driver will use when the automatic tag database generation feature is enabled for this device Refer to the KEPServer Enterprise online help for details on how to use this feature New Device Variable Import Settings xj used in tag database creation Select whether Set the location of the variable import file to be descriptions should be displayed if provided Variable import file c IV Include descriptions
8. ModhusA TU Configuring KEPServer Drivers for Modbus 17 You should now see the following Project File Settings Default project C Program Files KEPServerE nterprise Projects M odicon pfe J Keep track of the 8 v most recently used project files 4 Click the button and OK to accept the new project as the default TIP The KEPServer configuration is not archived with the RSView Studio application backup Capa file If you need to reuse the project configuration file on another computer copy the pfe file This section shows how to configure KEPServer drivers that will allow a PanelView Plus PanelView Plus CE terminal to communicate on a Modbus network Add a Channel The first step in communicating to any device using the KEPServer software is to create a channel A channel describes the protocol and driver properties used for communication While a single channel can be used to communicate to multiple devices separate channels must be defined for each unique driver to be used Only one project configuration file can run at a time but it may contain multiple channels and devices Step 1 Add a New Channel Click on the New Channel icon or right click anywhere in the left pane This will bring up the new channel wizard Step 2 Enter a Channel Name Enter a unique name for the channel Publication 2711P UMO02B EN P March 2007 18 Configuring KEPServer Drivers for Modbus Step 3 Select a Device Drive
9. Parity Stopbits 41 C2 Elow control None y Use modem IV Report comm errors Use Ethemet encapsulation ss net cea he Modbus Unsolicited Serial New Channel Communications 1D Baud rate Data bits Parity Stop bits O41 Flow control None v I Use modem IV Report comm errors cme mo Publication 2711P UM002B EN P March 2007 20 Configuring KEPServer Drivers for Modbus Publication 2711P UMO002B EN P March 2007 Modbus ASCII New Channel Communications Ip SERIAL 1 x Baud rate z Data bits Parity Stop bits Elow control None y F Use modem IV Report comm errors Use Ethemet encapsulation lt Back Cancel Help Step 6 Set the Optimization Method for Data Reguests The New Channel Write Optimization dialog sets the optimization method for data reguests Select the best optimization for your application and click Nezt For more information on KEPServer read and write optimization options refer to the online Driver help Applies to all Modbus protocols New Channel Write Optimizations You can control how the server processes writes on this channel Set the optimization method and write to read duty cycle below Note Writing only the latest value can affect batch processing or the equivalent m Optimization Method White only latest value for non boolean tags White only latest value for all
10. Format OXXXXX Security Read Write Range 000001 065535 Example The 255th output coil would be addressed as 0255 using decimal addressing or HOFF using hexadecimal addressing Input Coils Decimal Addressing Type Boolean Format 1XXXXX Security Read Range 100001 165535 1 For unsolicited device 127 0 0 1 0 these locations are Read Write Example The 127th input coil would be addressed as 1127 using decimal addressing or H17F using hexadecimal addressing Publication 2711P UM002B EN P March 2007 70 Modbus ASCII Address Definitions Internal Registers Publication 2711P UMO02B EN P March 2007 Defaults are shown in bold Internal Registers Decimal Addressing Type Word Short BCD Format 3XXXXX Security Read only 1 Range 300001 365535 Type Boolean Format 3xxxxx bb Security Read only 1 Range 3XXXXX D 3XXXXX 15 Type Float DWord Long LBCD Format 3XXXXX Security Read only Range 300001 365534 1 For unsolicited device 127 0 0 1 0 these locations are Read Write Arrays Arrays are also supported for the internal and holding register addresses The syntax for declaring an array using decimal addressing is 3xxxx cols with assumed row count of 1 and 3xxxxlrows cols For Word Short and BCD arrays the base address rows cols cannot exceed 65536 For Float DWord Long and Long BCD arrays the bas
11. MADA KUBA MAALIM ah cos get 9 Insta RS View Studi is ANA NAS 9 Install KEPServer Enterprise 10 Firmware Upgrade Wizard 10 Chapter 2 ODIECUVES AS A RAE a a oi 11 Modbus Master Slave 11 Modbus RTU Setial 11 Modbus Unsolicited Serial 11 Modus Cll RA ADE 13 Modbus EGP dean nde lcd depa 13 Modbus Device Model 13 MABA ii WA Aa ER 13 Guidelines for Developing Modbus Applications 14 Create a Modbus Application 14 Compile Download and Run a Modbus application 14 Chapter 3 ODE Std AAN AAA AR 15 SA AAA NA 15 Select the Default Project File pfe 16 Configure Drivers for Modbus Protocols 17 Add Ar Channel ae oes oe eee SEN GG PE PETERS TA 17 Add A Device A EPR RY Re Lae AER ERS 24 Greate TAOS A A RA 32 Chapter 4 ODIECIVeS LURO ada e 35 Use the OPC Quick Client 35 Chapter 5 UN ai acca ott IA E AN 37 Create an OPC Data Server 37 Browse KEPServer Tags 39 Publication 2711P UMO02B EN P March 2007 4 Table of Contents Installing KEPServer Drivers on Terminal Compiling Downloading and Running Application Troubleshooting Data Types Modbus TCP Address Definitions Modbus ASCII Address Definitions Modbus Unsolicited Se
12. Next Publication 2711P UMO02B EN P March 2007 22 Configuring KEPServer Drivers for Modbus Publication 2711P UMO002B EN P March 2007 Step 8 View and Verify Channel Summary The New Channel Summary dialog provides a summary of the new channel settings Verify the settings below and click Finish Modbus TCP New Channel Summary If the following information is correct click Finish to save the settings for the new channel Name Modicon Device Driver Modbus Ethernet Diagnostics Disabled Network Adapter Default 10 writes per read Use mutiple sockets for device connections sj Modbus RTU Serial New Channel Summary If the following information is correct click Finish to save the settings for the new channel Communications Parameters Serial ID SERIAL 1 Baud Rate 19200 Data Bits 8 Parity E Stop Bits 1 Flow Control None Report Errors Yes Configuring KEPServer Drivers for Modbus 23 Modbus Unsolicited Serial New Channel Summary If the following information is correct click Finish to save the settings for the new channel Name ModbusUnsolicitedS erial Device Driver Modbus Unsolicited Serial Diagnostics Disabled Communications Parameters Serial ID SERIAL 1 Report Errors Yes Modbus ASCII Serial New Channel Summary If the following information is correct click Finish to save the settings for the new channel
13. O Mitsubishi FX Net O Modbus Ascii Serial O Modbus Ethemet Modbus Serial C Modbus Unsolicited Serial O Omron Fins Ethemet O Omron Fins Serial O Omron Host Link O Omron Process Suite O Siemens 5 O Siemens 57 MPI la x lt Back Cancel Help Each driver consumes 150Kbytes to 250Kbytes of disk on chip memory space Only install drivers to be used on the Windows CE terminals You can always add others drivers later if needed Publication 2711P UM002B EN P March 2007 50 Installing KEPServer Drivers on Terminal Publication 2711P UMO002B EN P March 2007 10 11 12 Press Finish to start the upgrade 7 Firmware Upgrade A Press Finish to upgrade the firmware on the terminal Upgrade type Terminal firmware upgrade Terminal type PanelView Plus 700 ME v3 00 Current firmware version 3 00 07 65 Major Minor Patch Build Upgrade firmware version 3 10 00 38 KEPServer drivers Modbus Serial Press Yes to continue the upgrade process If the terminal was properly prepared for the upgrade no applications should be running AT 2 The terminal is about to be upgraded with new Firmware After downloading files the terminal will need to be restarted to complete the upgrade Do you wish to continue Yes No Firmware files are downloaded to the terminal This may take several minutes to 15 minutes When the download is complete press OK to reset the terminal Downlo
14. Read Write Meter Run 3 Miscellaneous 8801 8899 Float Long DWord LBCD Read Write Meter Run 4 Station Previous Batch 8901 8999 Float Long DWord LBCD Read Write Average Data Publication 2711P UM002B EN P March 2007 OMNI Addressing 16 Bit Integer Configuration Data Modbus RTU Serial Address Definitions Address Range Data Type Access Meter Run 1 13001 13013 Short Word BCD Read Write Meter Run 2 13014 13026 Short Word BCD Read Write Meter Run 3 13027 13039 Short Word BCD Read Write Meter Run 4 13040 13052 Short Word BCD Read Write Prover Configuration 13053 13073 Short Word BCD Read Write General Flow Configuration 13074 13084 Short Word BCD Read Write Serial Port Configuration 13085 13128 Short Word BCD Read Write PID Configuration 13129 13160 Short Word BCD Read Write PLC Data 13161 13299 Short Word BCD Read Write Peer to Peer Setup 13300 13499 Short Word BCD Read Write Raw Data Archive 13500 13999 Short Word BCD Read Write OMNI Addressing 16 Character ASCII String Data Address Range Data Type Access Flow Computer 14001 14499 String Read Write Configuration OMNI Addressing 32 Bit Integer Data Address Range Data Type Access Flow Computer 15001 16999 Long DWord LBCD Float Read Write Configuration OMNI Addressing 32 Bit IEEE Floating Point Data Address Range Data Type Access Flow Com
15. UMO002B EN P March 2007 Installing KEPServer Drivers on Terminal 43 3 From the Firmware source folder list select the location of the firmware files The default location is C Program Files Rockwell Software RSView Enterprise FUPs From the Upgrade firmware version list select the version of the firmware you want to upgrade to then press Next Firmware Upgrade Wizard Terminal type Firmware source folder E AProgram Files Rockwell Software ASView Enterprise FUPs Upgrade firmware version 3 10 01 38 PanelView Plus 700 ME v3 10 Major Minor Patch Build ilies lt Back Cancel Help 4 Select the appropriate KEPServer drivers and press Nezt If the selected FUP file does not support the KEPServer drivers this dialog will not appear Firmware Upgrade Wizard F Select the KEPServer drivers to be included in the firmware O Mitsubishi FK O Mitsubishi FX Net O Modbus Ascii Serial O Modbus Ethemet Modbus Serial C Modbus Unsolicited Serial O Omron Fins Ethemet O Omron Fins Serial O Omron Host Link a Omron Process Suite O Siemens 55 DO Siemens 7 MPI Es 151 xl lt Back Cancel Help Each driver consumes 150Kbytes to 250Kbytes of disk on chip memory space Only install drivers to be used on the Windows CE terminals You can always add others drivers later if needed Publication 2711P UM002B EN P March 2007 44 Installing KEPServer Dri
16. Write Meter 4 Batch ID 4888 4899 String Read Write Prover ASCII String Data 4901 4942 String Read Write OMNI Addressing 32 Bit Integer Data Address Range Data Type Access Meter Run 32 Bit 5n01 5n99 Long DWord LBCD Float Read Write Integer Data n Number of Meter Run Scratch Pad 32 Bit 5501 5599 Long DWord LBCD Float Read Write Integer Data Station 32 Bit Integer Data 5801 5818 Long DWord LBCD Float Read Write Meter 1 Batch Size 5819 5824 Long DWord LBCD Float Read Write Meter 2 Batch Size 5825 5830 Long DWord LBCD Float Read Write Meter 3 Batch Size 5831 5836 Long DWord LBCD Float Read Write Meter 4 Batch Size 5837 5842 Long DWord LBCD Float Read Write Additional 32 Bit 5843 5899 Long DWord LBCD Float Read Write Meter Run Data Prover 32 Bit Integer Data 5901 5973 Long DWord LBCD Float Read Write Compact Prover 5974 5999 Long DWord LBCD Float Read Write TDVOL TDFMP Pulses Publication 2711P UMO02B EN P March 2007 86 Modbus RTU Serial Address Definitions OMNI Addressing 32 Bit IEEE Floating Point Data Address Range Data Type Access Reserved Data 6001 7000 Float Long DWord LBCD Read Write Digital to Analog Outputs 7001 7024 Float Long DWord LBCD Read Write User Variables 7025 7088 Float Long DWord LBCD Read W
17. also contact a special Customer Support number for initial help in getting your module up and running United States 1 440 646 3223 Monday Friday 8am 5pm EST Outside United Please contact your local Rockwell Automation representative for any States technical support issues New Product Satisfaction Return Rockwell tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned United States Contact your distributor You must provide a Customer Support case number see phone number above to obtain one to your distributor in order to complete the return process Dutside United Please contact your local Rockwell Automation representative for States return procedure PanelView Plus VersaView ControlLogix Tech Connect RSView Studio RSView Machine Edition RSNetWorx for DeviceNet RSLogix 5000 RSView PLC 5 SLC RSLinx RSLinx Enterprise RSNetWorx Allen Bradley and Rockwell Automation are trademarks of Rockwell Automation Inc Trademarks not belonging to Rockwell Automation are property of their respective companies www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation Vorstlaa
18. be a logic controller Step 3 Select a Device Model If the device you are defining supports more than one model select a model that best describes the device For this Protocol Most Common Model MODBIS TCP Modbus Modbus RTU Serial Modbus Modbus Unsolicited Serial N A Modbus ASCII Modbus ASCII Device ID fi Decimal Configuring KEPServer Drivers for Modbus 25 Step 4 Select a Device ID The device you are defining may be multidropped as part of a network of devices To communicate with the device it must be assigned a unique ID In the New Device ID dialog enter a unique Device ID decimal address to identify the controller on the network Enter the Device ID and click Next For this Protocol Device ID Range Data Format Modbus TCP 1 XXX XXX XXX XXX IP Address ModbusModbus RTU Serial 0 255 Decimal Modbus Unsolicited Serial 1 247 Decimal Modbus ASCII 1 247 Decimal Me For master slave communications add a fifth octet to the IP address Refer to your KEPWare documentation for more details on Modbus TCP master slave communications Step 5 Enter Device Communication Parameters Doesn t apply to Modbus Unsolicited Serial Protocol In the New Device Communication Parameters dialog accept the default communication parameters by clicking Next New Device Communications Parameters Enter the parameters you wish to use while communicating with the device
19. load in the card slot of terminal to upgrade firmware e upgrade firmware in a terminal that is connected to your desktop computer using a Serial Ethernet or Network connection via RSLinx Enterprise for supported protocols The Firmware Upgrade Wizard is available in RSView Studio Refer to the FUW Help for additional information Preparing Terminal for Firmware Upgrade Before starting the Firmware Upgrade Wizard follow the steps below to prepare the terminal for a successful upgrade 1 Backup all MER files on the terminal to an external storage card or network 2 Delete all applications on the terminal 3 Record any Ethernet communication settings such as IP address subnet masks and gateways by selecting Terminal Settings gt Network and Communications gt Network Connections gt Network Adapters gt IP Address 4 Disable the Auto start feature on the terminal by selecting Startup Options gt RSView ME Station Startup and select Go to Configuration Mode 5 Reset the terminal Publication 2711P UM002B EN P March 2007 42 Installing KEPServer Drivers on Terminal Copy FUP Files to Download the Firmware Upgrade FUP files with the KEPServer Development Computer drivers to your development computer before using the FUW The FUP files are available on the Firmware Upgrade Media Kit Cat No 2711P RU310 which you can order through your local Allen Bradley distributor Run the exe file to unzip the files Unzip the fil
20. the following error may display Error registering name on network may be duplicate Change in system Control Panel and try again Ignore this error It will be corrected during the upgrade Press OK to acknowledge error and wait for terminal to reset TIP If a USB mouse is available you can acknowledge this error by selecting OK On touch or touch screen terminals you must calibrate the touch screen by selecting pointers in all four corners of the screen and pressing the middle of the screen when prompted Ignore the following message if it appears It means RSView ME is being installed Do not touch the two buttons that appear with this message Machine edition may be corrupted Do you want to download firmware When the upgrade is complete a dialog appears requesting you to remove the compact flash card from the card slot Remove the card and press F8 or Exit to reset the terminal Firmware Upgrade Card m Firmware version Maijor Minor Patch Build Terminal Upgrade card The firmware upgrade has been comaleted Remove the Firmware Upgrade Card and then press the Exit button Communication settings are cleared when the terminal is upgraded If Ethernet communications is used reconfigure the Ethernet communication settings using the values recorded when preparing the terminal Kepware drivers were installed on terminal On PanelView Plus CE terminals you can go to the Storage Card KEPSer
21. to 407315 use a default data type of Float Since these address registers are 32 bit only Float DWord Long or LBCD data types are allowed Arrays are not allowed for these special address ranges e Arrays are supported for internal and holding register locations see note 1 above for exceptions for all data types except Boolean There are two methods of addressing an array Examples are given using holding register locations 4xxxx rows cols 4xxxx cols this method assumes rows is equal to one e Rows multiplied by cols cannot exceed the block size that has been assigned to the device for the register type For arrays of 32 bit data types rows multiplied by cols multiplied by 2 cannot exceed the block size Modbus RTU Serial Address Definitions 83 Omni Address Descriptions Default data types for dynamically defined tags are shown in bold where appropriate OMNI Addressing Address Range Data Type Access Digital 1 0 Point 1001 1024 Boolean Read Write Programmable Boolean 1025 1088 Boolean Read Write Point Meter Run Status and 1n01 001n59 Boolean Read Write Alarm Points 1n76 1n99 n Number of Meter Run Micro Motion 1n60 1n75 Boolean Read Write Alarm Status Points n Number of Meter Run User Scratch Pad 1501 1599 Boolean Read Write Boolean Points 1601 1649 User Scratch Pad One 1650 1699 Boolean Read Write Shot Points Command Boolean 1700 1798 Boolean Re
22. 14 or 2706 NC13 cables have a 9 pin D Shell connector 21 The 2711 NC21 or 2711 NC22 have an 8 pin Mini DIN connector Terminal to Controller with an RJ45 Port Terminal RJ 45 Connector DB 9 male male 1 2 2 RD 3 3 TD 4 5 SG 5 m7 6 Hood Shield 8 Compiling Downloading and Running Application 57 Null Modem Cable To construct a null modem cable refer to the following pinout Terminal Controller 9 pin 25 pin 9 pin 3 3 3 2 A 2 2 3 K 7 5 1 8 1 a RS er 4 6 E 6 6 8 5 8 7 4 7 Modbus Ethernet Cables The RJ45 connector pinout for the PanelView Plus or VersaView Terminal is shown below Connector Pin Pin Name RJ45 TD Connector 1D RD NC NC RD NC 8 NC Shield Connection Chassis Gnd co y Om om By wy N Use point to point 10 100Base T cables with cross over pin outs such as 2711P CBL EX04 when connecting the Ethernet port on the PanelView Plus directly to a logic controller s Ethernet port or a computer 10 100Base T port Use standard Ethernet cables when connecting to a switch or hub Publication 2711P UM002B EN P March 2007 58 Compiling Downloading and Running Application Run Application Now that your PanelView Plus PanelView Plus CE terminal contains the loaded application and is connected to a Modbus network y
23. Allen Bradley Modbus Applications For PanelView Plus and PanelView Plus CE Terminals 2711P User Manual Rockwell Automation Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Safety Guidelines for the Application Installation and Maintenance of Solid State Controls publication SGI 1 1 available from your local Rockwell Automation sales office or online at http literature rockwellautomation com describes some important differences between solid state equipment and hard wired electromechanical devices Because of this difference and also because of the wide variety of uses for solid state equipment all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable In no event will Rockwell Automation Inc be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation Rockwell Automation Inc cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Rockwell Automation Inc with respect to use of information circuits equipment or software described in this manu
24. For Word Short and BCD arrays the base address rows cols cannot exceed 65536 For Float DWord Long and Long BCD arrays the base address rows cols 2 cannot exceed 65535 For all arrays the total number of registers being requested cannot exceed the internal register block size that was specified for this device Holding Registers Modbus RTU Serial Address Definitions 79 Default types are shown in bold Holding Registers Function Codes 03 0611 16 Decimal Addressing Hexadecimal Addressing Type Word Short BCD Format AXXXXX H4yyyyy Security Read Write Range 400001 465536 H400001 H41000 Type Boolean Format Axxxxx bb H4yyyyy c Security Read Write Range 4XXXXX 0 AXXxxx 15 H4yyyyy 0 H4yyyyy F Type Float DWord Long LBCD Format AXXXXX H4yyyyy Security Read Write Range 400001 465535 H400001 H4FFFF Type String HiLo Byte Order Format 400001 2H 465536 240H H400001 2H H4FFFF 240H Bit is string length Bit is string length Range 2 240 bytes Range 2 240 bytes Security Read Write Range 400001 465536 H400001 H4FFFF Length 2 240 Bytes Length 2 240 Bytes Type String LoHi Byte Order Format 400001 2L 465536 240L H400001 2L H4FFFF 240L Bit is string length Bit is string length Range 2 240 bytes Range 2 240 bytes Security Read Write Range 400001 465536 H400001 H4FFFF Leng
25. Modbus 27 Step 7 Enter Device Settings In the New Device Settings dialog accept the default settings by clicking Next Modbus TCP New Device Settings AO x settings for each device Refer to the online help for assistance JV Use zero based addressing IV First word low in 32 bit data types IV Use holding register bit mask writes r Mailbox Settings Client Privileges Read Only z pe Modbus RTU Serial New Device Settings The driver can be configured with different settings for each device Refer to the online help for assistance IV First word low in 32 bit data types IV Use default Modbus byte order IV Use Modbus function 06 for single register writes lt Back Cancel Help Publication 2711P UM002B EN P March 2007 28 Configuring KEPServer Drivers for Modbus Publication 2711P UMO002B EN P March 2007 Modbus Unsolicited Serial and Modbus ASCII New Device Settings The driver can be configured with different memory layout settings for each device Refer to the online help for assistance MV First word low in 32 bit data types lt Back Cancel Help Step 8 Set the Block Size for Reading Data from Device Doesn t apply to Unsolicited Serial Protocol The New Device Block Sizes dialog sets the largest block size for reading I O coils and data tables Registers Click Next Modbus TCP Modbus RTU Serial Modbus ASCII
26. Publication 2711P UM002B EN P March 2007 30 Configuring KEPServer Drivers for Modbus Publication 2711P UMO002B EN P March 2007 Step 10 View and Verify the Device Summary Information The New Device Summary dialog provides a summary of the new device settings Verify the information and click Finish Modbus TCP If the following settings are conect click Finish to begin using the new device Name Momentum IEC us ID 10 88 89 242 0 Connect Timeout 3 Sec Request Timeout 1000 ms Fail after 3 attempts Tag database startup Do not generate on st Tag database action Delete on create Create tags in Momentum IEC Port Number 502 Modbus RTU Serial New Device Summary B E Cancel Help If the following settings are correct click Finish to begin using the new device Request Timeout 1000 ms Fail after 3 attempts Tag database startup Do not generate on startup Tag database action Delete on create Create tags in ModiconController Using zero based addressing First word low in 32 bit data types gt Name Momentum IEC Model Modbus ID 10 88 89 242 0 Connect Timeout 3 Sec Reguest Timeout 1000 ms Fail after 3 attempts Tag database startup Do not generate on startup Tag database action Delete on create Create tags in Momentum IEC Allow automatically generated subgroups Yes Port Number 502 Using zero based addressing First word low in 32 bit dat
27. Testing KEPServer Communications The resulting window not only allows you to write new data to the controller but it also displays the current value of the tag Synchronous Write Item ID Current Value E Modicon Momentum_lEC 519 M Publication 2711P UMO02B EN P March 2007 Chapter 5 Objectives Create an OPC Data Server Making KEPServer Drivers and Tags Available in RSView Studio Now that you ve configured and tested KEPServer communications you are ready to make the KEPServer driver and tags available in RSView Studio This chapter will show you how to add an OPC data server to the RSView Studio project KEPServer is an OPC data server You need to add this server to the RSView Studio project 1 Open RSView Enterprise or RSView Studio for Machine Edition from the development computer 2 Open your application 3 In the Application Explorer pane eft right click on the application name at the root of the tree view and select New Data Server gt OPC Application Explorer Modic RSLinx Enterprise OPC 2 48 Modicc String Import and Export Ela Sy Properties 4 Click the button next to the OPC Server Name textbox Publication 2711P UM002B EN P March 2007 38 Making KEPServer Drivers and Tags Available in RSView Studio 5 Select KEPServerEnterprise and click OK Available OPC data servers 1 x Select an OPC data server localhost KEPServerEnterprise Cancel
28. View Studio for Machine Edition software is installed from eaCDor e downloaded from the Rockwell Software website at www software rockwell com a A current registered serial number is required to download software from the Rockwell Software website The installation menu with instructions will appear when inserting the CD into a computer or you can run setup exe from the root directory Publication 2711P UMO02B EN P March 2007 10 Installing Software Install KEPServer Enterprise Firmware Upgrade Wizard M Publication 2711P UMO02B EN P March 2007 KEPServer Enterprise is used to e configure the KEPServer driver e create tags e test communications on the desktop KEPServer Enterprise is included with RSView Studio and can be installed from e a CD or e downloaded from the Rockwell Software web site at www software rockwell com KEPServer runs as a service and an icon will display in the toolbar Tyee current registered serial number is required to download software from the Rockwell Software website The software can be installed by running the setup exe file from the CD or downloaded version IMPORTANT When installing KEPServer Enterprise be sure to select the Modbus drivers if you are not doing a full install The Firmware Upgrade Wizard is used to install KEPServer drivers and upgrade firmware in the following devices e PanelView Plus e PanelView Plus CE The Firmware Upgrade Wiza
29. Write Example The 127th input coil would be addressed as 1127 using decimal addressing or H17F using hexadecimal addressing Publication 2711P UM002B EN P March 2007 64 Modbus TCP Address Definitions Internal Registers Publication 2711P UMO02B EN P March 2007 Defaults are shown in bold Internal Registers Decimal Addressing Hexadecimal Addressing Type Word Short BCD Format 3XXXXX H3yyyyy Security Read only 1 Range 300001 365536 H300001 H31000 Type Boolean Format 3xxxxx bb H3yyyyy c Security Read only 1 Range 3XXXXX 0 3xxxxx 15 3yyyyy 0 3yyyyy F Type Float DWord Long LBCD Format 3XXXXX H3yyyyy Security Read only 1 Range 300001 365535 H3000D1 H3FFFF 1 For unsolicited device 127 0 0 1 0 these locations are Read Write Arrays Arrays are also supported for the internal register addresses The syntax for declaring an array using decimal addressing is 3xxxx cols with assumed row count of 1 and 3xxxx rows lcols For Word Short and BCD arrays the base address rows cols cannot exceed 65536 For Float DWord Long and Long BCD arrays the base address rows cols 2 cannot exceed 65535 For all arrays the total number of registers being requested cannot exceed the internal register block size that was specified for this device Modbus TCP Address Definitions 65
30. a types Use holding register mask when writing bits Dutput Coil Block Size 32 Input Coil Block Size 32 Internal Register Block Size 32 Holding Register Block Size 32 Tag information file name txt Display imported tag descriptions Channel Assignment Modicon Driver Name Modbus Ethernet File Name modbus_ethemet_u dll x Configuring KEPServer Drivers for Modbus 31 Modbus Unsolicited Serial New Device Summary If the following settings are correct click Finish to begin using the new device Name ModiconController Using zero based addressing First word low in 32 bit data types Channel Assignment ModbusUnsolicitedS erial Driver Name Modbus Unsolicited Serial File Name modbus_unsolicited_u dll Modbus ASCII New Device Summary If the following settings are correct click Finish to begin using the new device Name ModbusASCIIDevice ai Modbus Ascii D Request Timeout 1000 ms Fail after 3 attempts Using zero based addressing First word low in 32 bit data types Output Coil Block Size 32 Input Coil Block Size 32 Internal Register Block Size 32 Cancel Help Step 11 Save Project File From the Menu bar select File gt Save or click the Save button Publication 2711P UM002B EN P March 2007 32 Configuring KEPServer Drivers for Modbus Create Tags Publication 2711P UMO002B EN P March 2007 With a channel and device defined you are ready to c
31. ad Write Points Variables Meter Station Alarm and 1801 1899 Boolean Read Write Status Points Prover Alarm and 1901 1967 Boolean Read Write Status Points Meter Totalizer 2n01 2n37 Boolean Read Write Roll over Flags n Number of Meter Run Misc Meter Station 2601 2623 Boolean Read Write Alarm and Status Station Totalizer 2801 2851 Boolean Read Write Roll over Flats Station Totalizer 2852 2862 Boolean Read Write Decimal Resolution 2865 2999 Publication 2711P UMO02B EN P March 2007 84 Modbus RTU Serial Address Definitions OMNI Addressing 16 Bit Integer Data Addresses Address Range Data Type Access Custom Data 3001 3040 Short Word BCD Read Write Packet 1 Custom Data 3041 3056 Short Word BCD Read Write Packet 2 Custom Data 3057 3096 Short Word BCD Read Write Packet 3 Misc 16 Bit Integer Data 3097 3099 Short Word BCD Read Write 3737 3799 3875 3899 Meter Run 16 Bit 3n01 3n52 Short Word BCD Read Write Integer Data n Number of Meter Scratchpad 16 Bit 3501 3599 Short Word BCD Read Write Integer Data User Display 1 3601 3608 Short Word BCD Read Write User Display 2 3609 3616 Short Word BCD Read Write User Display 3 3617 3624 Short Word BCD Read Write User Display 4 3625 3632 Short Word BCD Read Write User Display 5 3633 3640 Short Word BCD Read Write User Display 6 3641 3648 Sh
32. addressing 65 intime errors 59 internal registers 64 mailbox addressing 65 output coils 63 S serial cables N MODBUS cables 56 null modem cable 57 software required Firmware Upgrade Wizard 10 network connections 56 0 KEPServer Enterprise 10 OMNI address definitions 83 RSView Studio 9 OPC Data Server 37 OPC Quick Client 35 T tags P browsing 37 project pfe file creating 32 creating 15 terminal saving 31 33 connecting to MODBUS network 56 setting default project 16 troubleshooting common operating errors 59 runtime errors 59 Publication 2711P UMO002B EN P March 2007 Rockwell Automation Rockwell Automation provides technical information on the web to assist you in using its products At http support rockwellautomation com you can find Support technical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tools For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect Support programs For more information contact your local distributor or Rockwell Automation representative or visit http support rockwellautomation com Installation Assistance If you experience a problem with a hardware module within the first 24 hours of installation please review the information that s contained in this manual You can
33. ading firmware pa Downloading firmware A 2 Firmware Upgrade q xi A To complete the firmware upgrade the terminal needs to be restarted Press OK when you are ready to restart the terminal CE If other PanelView Plus terminals exist on the same Ethernet network the following error may display Error registering name on network may be duplicate Change in system Control Panel and try again Ignore this error It will be corrected during the upgrade Press OK to acknowledge error and wait for terminal to reset If a USB mouse is available you can acknowledge the TIP error by selecting OK 13 14 15 16 17 Installing KEPServer Drivers on Terminal 51 On touch or touch screen terminals you must calibrate the touch screen by selecting pointers in all four corners of the screen and pressing the middle of the screen when prompted Ignore the following message if it appears It means RSView ME is being installed Do not touch the two buttons that appear with the message Machine edition may be corrupted Do you want to download firmware Communication settings are cleared when the terminal is upgraded If Ethernet communications is used reconfigure the Ethernet communication settings using the values recorded when preparing the terminal Replace the MER files that you backed up before starting the upgrade or download the new MER files to the terminal Load the MER file and run the project Y
34. al Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual when necessary we use notes to make you aware of safety considerations Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which may lead to personal injury or death property damage or economic loss Identifies information that is critical for successful application and IMPORTANT understanding of the product Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you identify a hazard avoid a hazard and recognize the consequence ATTENTION TRES Labels may be on or inside the equipment for example a drive or motor to alert people that dangerous voltage may be present AMET Labels may be on or inside the equipment for example a drive or motor to alert people that surfaces may reach dangerous temperatures ala lla Preface Installing Software Modbus KEPServer Drivers Configuring KEPServer Drivers for Modbus Testing KEPServer Communications Making KEPServer Drivers and Tags Available in RSView Studio Table of Contents Topics Ua aa 7 Software Requirements 8 Additional Resources 8 Chapter1 OPjectVeS s meva
35. d Application F1 Button 8 Select the mer file and click the Load F2 button Load Application 9 Click Yes F7 to replace the terminal s current RSLinx Enterprise communication configuration with the one stored in the application file Publication 2711P UM002B EN P March 2007 56 Compiling Downloading and Running Application Connect Terminal to Modbus Network Publication 2711P UMO02B EN P March 2007 Before running your application you need to connect the PanelView Plus PanelView Plus CE terminal to a Modbus network using either e Modbus serial cables or e Modbus Ethernet cables Modbus Serial Cables The serial port on a PanelView Plus PanelView Plus CE terminal is different than a desktop computer Typically you just need to add a null modem adapter to a cable that works with a desktop computer To create a cable specifically for the PanelView Plus PanelView Plus CE use the cable descriptions in this section for Modbus Serial KEPServer drivers RTU Serial Unsolicited Serial ASCII Serial Terminal to Controller 9 pin 25 pin 8 pin Port Modbus Controller or 3 PanelView Plus RS 232 Port Desktop PC MicroLogix DNI 9 pin DCE 9 pin 25 pin 8 pin DIN 1 2 RXD 2 3 4 gt 3 TKD 3 2 7 DIR 4 20 5 _ COM 5 7 2 6 DSR 6 6 7 RTS 7 4 8 CTS 8 5 9 Connector Shell Chassis Gnd 1 The 271 1 NC13 2711 NC
36. e address rows cols 2 cannot exceed 65535 For all arrays the total number of registers being requested cannot exceed the internal register block size that was specified for this device Modbus ASCII Address Definitions 7 Holding Registers Default types are shown in bold Holding Registers Decimal Addressing Type Word Short BCD Format AXXXXX Security Read Write Range 400001 465535 Type Boolean Format Axxxxx bb Security Read Write Range 4XXXXX 0 4xxxxx 15 Type Float DWord Long LBCD Format AXXXXX Security Read Write Range 400001 465534 Publication 2711P UM002B EN P March 2007 72 Modbus ASCII Address Definitions Publication 2711P UMO002B EN P March 2007 Output Coils Input Coils Appendix D Modbus Unsolicited Serial Address Definitions This appendix describes valid tag addressing for Modbus Unsolicited ASCH communications This information is also available in the Modbus driver online help in KEPServer Enterprise KEPServer drivers use decimal addressing Output Coils Decimal Addressing Type Boolean Format OXXXXX Security Read Write Range 000001 009999 Input Coils Decimal Addressing Type Boolean Format 1XXXXX Security Read Range 100001 109999 Publication 2711P UMO02B EN P March 2007 14 Modbus Unsolicited Serial Address Definitions Internal Registers Publication 2711P UMO02B EN P March 2007 De
37. elView Plus CE terminal 2 The communication parameters for the is different than a computer connection are incorrect 2 Verify that the specified communi cation parameters match those of the device 3 The named device may have been assigned an incorrect network ID 3 Verify that the network ID given to the named device matches that of the actual device Unable to write to lt address gt Serious 1 The named device may not be connected to 1 Check the PLC network connections on device lt device name gt the network 2 The named device may have been assigned an incorrect Network ID 3 The named device is not responding to write requests 4 The address does not exist in the PLC 2 Verify that the network ID given to the named device matches that of the actual device Publication 2711P UM002B EN P March 2007 60 Troubleshooting Possible Cause This error is reported when the driver attempts to read a location in a PLC that does not exist For example in a PLC that only has holding registers 40001 to 41400 requesting address 41405 would generate this error Once this error is generated the driver will not request the specified block of data from the PLC again Any other addresses being requested that are in the same block will also be invalid Solution Modify the client application to request addresses within the range of the device Error Error Type Bad address i
38. en the FactoryTalk Tag Browser 3 Right click on the heading in the left pane and select Refresh All Folders to obtain the list of tags in the KEPServer data server 57 Tag Browser r Select Tag Folders Contents Refresh Folder Refresh All Folders Show Server Names New HMI Tag Folder 4 Drill down and select the tags from the folder you created Tag Browser Select Tag Folders Contents of Modicon Momentum_lEC This is the Channel name created in KEPServer ModiconHMI Modicon e TimerAccum LJ _System e TimerPreset Momentum_IEC C system This is the Device name created in KEPServer 5 Click OK to close the window Publication 2711P UM002B EN P March 2007 40 Making KEPServer Drivers and Tags Available in RSView Studio Publication 2711P UMO002B EN P March 2007 Chapter 6 Objectives Firmware Upgrade Wizard Installing KEPServer Drivers on Terminal If you plan to run the Machine Edition project on a PanelView Plus or PanelView Plus CE terminal the corresponding CE based KEPServer components must be installed This chapter will show you how to use the Firmware Upgrade Wizard FUW utility to install the KEPServer drivers on the terminals The Firmware Upgrade Wizard FUW will add the necessary KEPServer components to the terminal firmware You can e create a firmware upgrade card compact flash card which you then
39. er and upgrade the terminal Step 2 Compile the RSView mer application Chapter 7 Step 3 Download the mer runtime file to terminal Chapter 7 Step 4 Connect the terminal to the Modbus network Chapter 7 Step 5 Run the application Chapter 7 Chapter 3 Configuring KEPServer Drivers for Modbus Objectives This chapter shows how to use KEPServer Enterprise software to configure KEPServer drivers for Modbus protocols including Ethernet TCP IP RTU Serial Unsolicited Serial and ASCII Serial You will e create a project pfe for the drivers e set the project file as the default project For each Modbus driver in your project file you will e add a channel e add a device or controller e create tags Create a Project File The first thing you need to do is create a project file 1 Double click the KEPServer Enterprise icon in the Systray to open the default project window below lt KEPServerEnterprise C Program Files KEPServerEnterprise Projects default pfe Fie Edit View Tools Help DS maso o Bx amp Click to add channel DDE Scan Rate Scaling Description fi 10 1 2002 4 34 10 PM KEPServerEnterprise Closing project C Program Files KEPServerEnterprise Pro fi 10 1 2002 4 34 18 PM KEPServerEnterprise KEPServerEnterprise Started fil 10 1 2002 4 34 18 PM KEPServerEnterprise Opening project C Program Files KEPServerEnterprise Pr Ready Clients 0 Active tags O of O Z
40. es to this directory Documents and Settings All User Documents RSView Enterprise ME Firmware Upgrade TIP The Firmware Upgrade Wizard is available at http support rockwellautomation com under Downloads Upgrade Firmware using a This section shows how to upgrade firmware in a PanelView Plus terminal using a Compact Flash Card This is a two step process First Compact Flash Card you create a firmware upgrade card with the necessary firmware files Second you load this card in the terminal to upgrade the firmware 1 Creating Firmware Upgrade Card 1 Start the Firmware Upgrade Wizard Select Start gt Rockwell Software gt RSView Enterprise gt Firmware Upgrade Wizard 2 Select Create firmware upgrade card e In the Firmware card location text box select the destination for the compact flash files folder on the hard drive or physical location of the compact flash card e g E e From the Existing terminal list select the type of PanelView Plus terminal you are upgrading then press Next Firmware Upgrade Wizard i Lol xi Select the type of firmware upgrade to perform Upgrade firmware on terminal Create firmware upgrade card Firmware card location EA El Existing terminal type PanelView Plus 700 ME v3 10 y PanelView Plus 1250 ME v3 10 PanelView Plus 1500 ME v3 00 Y Cancel Help TIP To add a KEPWare driver to a PanelView Plus 400 600 terminal use a compact flash card Publication 2711P
41. faults are shown in bold Internal Registers Decimal Addressing Type Word Short BCD Format 3XXXXX Security Read only 1 Range 300000 309999 Type Boolean Format 3xxxxx bb Security Read only 1 Range 3XXXXX D 3XXXXX 15 Type Float DWord Long LBCD Format 3XXXXX Security Read only 1 Range 300001 309998 1 For unsolicited device 127 0 0 1 0 these locations are Read Write Arrays Arrays are also supported for the internal and holding register addresses The syntax for declaring an array using decimal addressing is 3xxxx cols with assumed row count of 1 and 3xxxx rowsllcols For Word Short and BCD arrays the base address rows cols cannot exceed 65536 For Float DWord Long and Long BCD arrays the base address rows cols 2 cannot exceed 65535 For all arrays the total number of registers being requested cannot exceed the internal register block size that was specified for this device Modbus Unsolicited Serial Address Definitions 15 Holding Registers Default types are shown in bold Holding Registers Decimal Addressing Type Word Short BCD Format AXXXXX Security Read Write Range 400001 409999 Type Boolean Format Axxxxx bb Security Read Write Range 4XXXXX 0 XXXXX 15 Type Float DWord Long LBCD Format 4XXXXX Security Read Write Range 400001 409998 Type S
42. faut Client access Read write Scan rate 1100 3 miliseconds Y Do not allow clients to override data type Tag Properties E x General Scaling r Identification Name TimerPreset g 4 Address 402 2 z 5 Z Description This tag is the preset for a free running timer _ m Data properties Data type Defaut y Client access Read Write y Scan rate 100 milliseconds Y Do not allow clients to override data type Cancel Apply Help KEPServer allows you to validate the address based on the device you will be talking to Your project configuration should now list the tags in the right pane Tag Name Address Data Type Scan Rate Scali Description G Timer ccum 400101 Word 100 None This tag is the accumulator of a free running timer GBitimerPreset 400201 Word 100 None This tag is the preset for a free running timer 3 From the Menu bar select File gt Save or click the Save button Publication 2711P UM002B EN P March 2007 34 Configuring KEPServer Drivers for Modbus Publication 2711P UMO002B EN P March 2007 Chapter 4 Testing KEPServer Communications Objectives This chapter shows how to test KEPServer communications on a development computer to verify your project configuration and tags Use the OPC Quick Client Included with the KEPServer server installation is a simple tool for testing OPC tags called the OPC Quick Client When
43. he first register the low word Float Example If register 40001 is specified as float bit 0 of register 40001 would be bit 0 of the 32 bit word and bit 15 of register 40002 would be bit 31 of the 32 bit word String Null terminated ASCII string Supported on Modbus Model includes HILo LoHi byte order selection Modbus Serial 8 byte and 16 byte Omni Flow Computer string data 1 The descriptions assume first word low data handling of 32 bit data types 21 Not available for Modbus ASCII protocol Publication 2711P UMO02B EN P March 2007 62 Data Types Publication 2711P UMO002B EN P March 2007 Appendix B Output Coils Input Coils Modbus TCP Address Definitions This appendix describes valid tag addressing for Modbus TCP communications This information is also available in the Modbus TCP driver online help in KEPServer Enterprise KEPServer drivers use decimal addressing Output Coils Decimal Addressing Hexadecimal Addressing Type Boolean Format Oxxxxx HOyyyyy Security Read Write Range 000001 065536 H000001 HO1000 Example The 255th output coil would be addressed as 0255 using decimal addressing or HOFF using hexadecimal addressing Input Coils Decimal Addressing Hexadecimal Addressing Type Boolean Format 1XXXXX Hi yyyyy Security Read Range 100001 165536 H100001 H11000 1 For unsolicited device 127 0 0 1 0 these locations are Read
44. ient application that reads writes to this type of device reads writes to the storage area contained in the driver not the physical device Publication 2711P UM002B EN P March 2007 14 Modbus KEPServer Drivers Guidelines for Developing Modbus Applications BM Publication 2711P UM002B EN P March 2007 Refer to the MSTR instruction in your Modicon documentation for details on sending unsolicited requests to the Modbus Ethernet driver PanelView Plus PanelView Plus Ethernet Ethernet Switch Switch Ny Master Controller The section provides general guidelines for creating and running Modbus applications on PanelView Plus PanelView Plus CE terminals Create a Modbus Application General Steps Description Reference Step 1 Create a pfe project file in KEPServer Chapter 3 Enterprise Step 2 Configure a KEPServer Modbus Driver Add a Chapter 3 channel and device to the project file Step 3 Enter application tags Chapter 3 Step 4 Set your pfe file as the default project file Chapter 3 Step 5 Test KEPServer communications to verify your Chapter 4 project file and tags Step 6 Create an OPC Data Server to make your tags Chapter 5 available in RSView Studio Compile Download and Run a Modbus application General Steps Description Reference Step 1 Create a firmware upgrade card that contains Chapter 6 the KEPWare driv
45. initions Index Table of Contents 5 Appendix E Ct oUt COS ins e EE ART ARA Sd 77 Input Cols din a TF Internal Registers 78 Holding Registers 79 Magnetek Address Descriptions 81 Elliott Flow Computer Address Descriptions 82 Omni Address Descriptions 83 Daniel S500 Address Descriptions 88 Rockwell Automation Support 93 Installation Assistance 93 New Product Satisfaction Return 93 Publication 2711P UMO02B EN P March 2007 6 Table of Contents Publication 2711P UMO002B EN P March 2007 Preface Topics Covered For communication with controllers RSView Machine Edition products are configured with e RSLinx Enterprise for most Rockwell Automation networks or e KEPServer Enterprise for RSView OPC servers The KEPServer OPC server expands PLC and device connectivity options by incorporating 26 communication drivers for the PanelView Plus and PanelView Plus CE platforms and over 31 communication drivers for RSView Machine Edition running on a desktop This guide will show you how to configure KEPServer drivers specifically Modbus drivers for RSView ME applications that run on e PanelView Plus CE terminals e PanelView Plus terminals e or the Windows 2000 XP environment Using configured KEPServer dr
46. ivers in your RSView ME application the terminals will be able to communicate with devices on a Modbus network e Chapter 1 Installing Software Covers software installation for RSView Studio RSView Enterprise KEPServer Enterprise and the Firmware Upgrade Wizard e Chapter 2 Overview of Modbus Protocols Gives an overview of Modbus Master Slave Protocol and each of the KEPServer drivers for Modbus communication protocols e Chapter 3 Configuring KEPServer Drivers for Modbus Shows how to use KEPServer Enterprise software to configure KEPServer drivers for Modbus protocols For each driver you will create a channel add a device and create tags The driver is saved to a pfe project file that you will set as the default project e Chapter 4 Testing KEPServer Communications Shows how to use the OPC Quick Client to test KEPServer communications for the driver and tags created in Chapter 3 e Chapter 5 Making KEPServer Driver and Tags Available in RSView Studio Shows how to create an OPC data server in RSView Enterprise or RSView Studio This server will allow you to access the KEPServer driver and tags from your RSView ME application e Chapter 6 Installing KEPServer Drivers on Terminal Shows how to use the Firmware Upgrade Wizard to install KEPServer drivers on PanelView Plus PanelView Plus CE terminals Publication 2711P UMO02B EN P March 2007 e Chapter 7 Compiling Downloading and Running Application Shows how to c
47. lding register block size that was specified for this device Modbus RTU Serial Address Definitions 81 Magnetek Address The following table provides the general ranges of data available for a Descriptions Magnetek GPD 515 Drive Consult the Magnetek Modbus RTU Technical Manual part number TM4025 for information on how specific drive parameters can be accessed using Modbus RTU addressing In all cases the letter H used to signify Hex addressing should precede the desired address Default data types for dynamically defined tags are shown in bold where appropriate Magnetek GPD 515 Addressing Hexadecimal Format Address Range Data Type Access Command Registers H40001 H4000F Word Short Boolean Read Write Bit Level Access HAxxxx 0 H4Xxxx F Monitor Registers H40010 H4001A Word Short Boolean Read Only Bit Level Access HAxxxx 0 H4Xxxx F Driver Parameter Registers H40020 H40097 Word Short Boolean Read Only Monitor Only Bit Level Access HAxxxx 0 H4Xxxx F Driver Parameter Registers H401000 H4050D Word Short Boolean Read Write Bit Level Access HAxxxx 0 H4Xxxx F Special Registers H44FFDD ACCEPT Word Short Write Only H44FFDD ENTER Addressing Example To access the drive s Operation Status address 02BH enter the following address in you client application H4002B Important Notes e When adding a Magnetek device to your OPC Server project make sure the
48. n Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 2711P UM002B EN P March 2007 Supersedes Publication 2711P UM002A EN P August 2004 Copyright 2007 Rockwell Automation Inc All rights reserved Printed in the U S A
49. n block x to y on Fatal device lt device name gt addresses failing in this block Bad received length x to y on Fatal lt device name gt addresses failing in this block Publication 2711P UMO002B EN P March 2007 The driver attempted to read a block of memory in the PLC The PLC responded with no error but did not provide the driver with the requested block size of data Ensure that the range of memory exists for the PLC Data Types Appendix A This appendix describes valid data types for creating tags This information is also available in the Modbus driver online help in KEPServer Enterprise Data Types Boolean Description Single bit Word Unsigned16 bit value bit 0 is the low bit bit 15 is the high bit Short Signed16 bit value bit 0 is the low bit bit 14 is the high bit bit 15 is the sign bit Dword Unsigned 32 bit value bit 0 is the low bit bit 31 is the high bit Long Signed 32 bit value bit 0 is the low bit bit 30 is the high bit bit 31 is the sign bit BCD Two byte packed BCD Value range is 0 9999 Behavior is undefined for values beyond this range LBCD Four byte packed BCD Value range is 0 99999999 Behavior is undefined for values beyond this range Float 32 bit floating point value The driver interprets two consecutive registers as a floating point value by making the second register the high word and t
50. ned The length of the string can be 2 to 240 bytes and is entered in place of a bit number The length must be entered as an even number The byte order is specified by appending either an H or L to the address String Example To address a string starting at 40200 with a length of 100 bytes and HiLo byte order enter 40200 100H Arrays Arrays are also supported for the holding register addresses The syntax for declaring an array using decimal addressing is 4xxxx cols with assumed row count of 1 and 4xxxx rows lcols For Word Short and BCD arrays the base address rows cols cannot exceed 65536 For Float DWord Long and Long BCD arrays the base address rows cols 2 cannot exceed 65535 For all arrays the total number of registers being requested cannot exceed the holding register block size that was specified for this device Modbus TCP Address Definitions 67 Mailbox Addressing Default types are shown in bold Mailbox Addressing Decimal Addressing Hexadecimal Addressing Type Word Short BCD Format AXXXXX H4yyyyy Security Read Write Range 1 65536 1 10000 Type Boolean Format Axxxxx bb H4yyyyy c Security Read Write Range XXXXX 0 XXXXX 15 yyyyy 0 yyyyy F Type Float DWord Long LBCD Format AXXXXX H4yyyy Security Read Write Range 1 65535 1 FFFF Arrays Arrays are also supported for the holding register addresses The syntax f
51. ompile a runtime mer file connect your PanelView Plus PanelView Plus CE terminal to a Modbus network download the mer file to the terminal and run the application e Chapter 8 Troubleshooting Covers common error types that occur during runtime and how you can correct these errors Software Requirements The following software must be installed on the development desktop e RSView Studio 3 0 or later e KEPServer Enterprise software e Firmware Upgrade Wizard Additional Resources You might want to consult the following sources for additional information e KEPServer Enterprise Software online help e RSView Enterprise or RSView Studio online help e PanelView Plus User Manual publication no 2711P UM001 An electronic version of the PanelView Plus user manual is available at http literature rockwellautomation com Publication 2711P UMO002B EN P March 2007 Chapter 1 Objectives Install RSView Studio Installing Software To develop RSView ME applications configure KEPServer drivers and use these drivers with applications that run on PanelView Plus PanelView Plus CE terminals the following software must be loaded on your development computer e RSView Studio for ME or RSView Enterprise e KEPServer Enterprise e Firmware Upgrade Wizard Refer to the installation information provided with RSView Studio and KEPServer Enterprise for the latest details on installation requirements RSView Studio Enterprise or RS
52. or declaring an array using decimal addressing is 4xxxx cols with assumed row count of 1 and 4xxxx rows lcols For Word Short and BCD arrays the base address rows cols cannot exceed 65536 For Float DWord Long and Long BCD arrays the base address rows cols 2 cannot exceed 65535 For all arrays the total number of registers being requested cannot exceed the holding register block size that was specified for this device Publication 2711P UMO02B EN P March 2007 68 Modbus TCP Address Definitions Instromet Addressing Publication 2711P UMO002B EN P March 2007 Decimal Addressing Area Short Word Registers 16 Bit Type Word Short Range 400000 400199 Security Read only Area Short Word Registers 32 Bit Type DWord Long Range 400200 400399 Security Read only Area Floating Point Registers 32 Bit Type Float Range 400400 400599 Security Read only TIP The normal Instromet addressing does not include the 40xxx lt is included here to keep the addresses in a normal Modbus compatible mode Appendix C Output Coils Input Coils Modbus ASCII Address Definitions This appendix describes valid tag addressing for Modbus ASCII communications This information is also available in the Modbus driver online help in KEPServer Enterprise KEPServer drivers use decimal addressing Output Coils Decimal Addressing Type Boolean
53. ort Word BCD Read Write User Display 7 3649 3656 Short Word BCD Read Write User Display 8 3657 3664 Short Word BCD Read Write Access Raw Data 3701 3736 Short Word BCD Read Write Archive Records Meter Station 16 Bit 3800 3842 Short Word BCD Read Write Integer Data Meter 1 Batch Sequence 3843 3848 Short Word BCD Read Write Meter 2 Batch Sequence 3849 3854 Short Word BCD Read Write Meter 3 Batch Sequence 3855 3860 Short Word BCD Read Write Meter 4 Batch Sequence 3861 3866 Short Word BCD Read Write Flow Computer Time Date 3867 3874 Short Word BCD Read Write Prover 16 Bit Integer Data 3901 3999 Short Word BCD Read Write Publication 2711P UM002B EN P March 2007 OMNI Addressing 8 Character ASCII String Data Modbus RTU Serial Address Definitions 85 Address Range Data Type Access Meter Run ASCII Data 4n01 4n39 String Read Write n Number of Meter Run Scratch Pad ASCII Data 4501 4599 String Read Write User Display Definition 4601 4640 String Read Write Variables Station Auxiliary 4707 4710 String Read Write Input Variables Meter Station 4801 4851 String Read Write ASCII Data Meter Run 16 Bit 4707 4710 String Read Write Integer Data Meter 1 Batch ID 4852 4863 String Read Write Meter 2 Batch ID 4864 4875 String Read Write Meter 3 Batch ID A876 4887 String Read
54. ou can run the application 1 Click the Run Application F2 button to launch application Load Application F2 button Form gens al Publication 2711P UMO002B EN P March 2007 Chapter 8 Objectives Common Errors Runtime Errors Troubleshooting This chapter lists common errors that occur during application development as well as errors that occur during runtime To diagnose error messages that are generated while developing the KEPServer driver refer to the KEPServer online help for the appropriate driver and refer to the error description Some of the most common errors made during application development are listed below e The mer file was compiled with the wrong pfe file See page 16 for details on setting the default project file e The KEPServer driver was not downloaded to the terminal On PanelView Plus CE terminals you can verify that the driver is in the Storage card KEPServer drivers folder e The wrong serial cable is connected to the PanelView Plus or PanelView Plus CE terminal Refer to Chapter 7 The table below lists errors that may occur during runtime Possible causes and solutions are provided for each error Error Error Type Possible Cause Solution Device lt device name gt is not Serious 1 The connection between the device andthe 1 Verify the cabling between the terminal and responding terminal is broken the device The serial pinout for the PanelView Plus Pan
55. ou can configure your application to start automatically on power cycle under Startup Options Publication 2711P UMO02B EN P March 2007 52 Installing KEPServer Drivers on Terminal Publication 2711P UMO002B EN P March 2007 Objectives Compile a Runtime Application File Chapter Compiling Downloading and Running Application This chapter shows how to e compile a runtime RSView ME application file e download and load application on terminal e connect terminal to a Modbus network e run application You are now ready to build the Machine Edition runtime mer file to be downloaded to a PanelView Plus PanelView Plus CE terminal TIP Before compiling the mer file verify that the correct pfe project file is selected See page 16 1 From the menu bar select Application gt Create Runtime Application Application Test Application Create Runtime Application Application Properties 2 Save the project to the default Runtime folder location on the hard drive Enter the filename and click After a few minutes you should have an mer project ready to download to the terminal The KEPServer pfe project file created in Chapter 3 is merged into the mer file Publication 2711P UMO002B EN P March 2007 54 Compiling Downloading and Running Application Download Application to Typically downloading an application to a terminal is accomplished Terminal using the RSLinx Enterprise File Tran
56. puter 17001 18999 Float Long DWord LBCD Read Write Configuration Publication 2711P UMO02B EN P March 2007 88 Modbus RTU Serial Address Definitions Daniel 500 Address Default data types are dynamically defined tags are shown in bold Descriptions where appropriate Daniel 500 Addressing Address Hex Range Decimal Range Data Type Function Codes Access Totals 000 OFF 4096 4351 Double 03 Read Only Calculated Measured 100 24F 4352 4687 Float 03 16 Read Write Variables Calculation Consultants 250 28F 4688 4751 Float 03 16 Read Write Keypad Default Values 290 2AF 4752 4783 Float 03 16 Read Write Alarm and Scaling 2B0 5FF 4784 5631 Float 03 16 Read Write Constants Status Control 700 7FF 5888 6143 Boolean 02 5 Read Write Alarms 800 8FF 6144 8191 Boolean 02 Read Write Publication 2711P UMO002B EN P March 2007 Symbols mer file 53 pfe file 15 A address definitions MODBUS RTU Serial 77 MODBUS ASCII 69 MODBUS Unsolicited ASCII 73 MODBUS TCP 63 application compiling 53 downloading 54 guidelines for creating 14 loading 55 running 58 application guidelines 13 C cables Ethernet cables 57 null modem cable 57 serial cables 56 channel 17 compiling application 53 D Daniles S500 address definitions 88 data types 61 downloading application 54 Firmware Upgrade Wizard 42 E Elliott address definitions 2 Ethernet cable 57
57. r Device diver Modbus Ethernet For this Protocol Modbus TCP Select a driver from the drop down list The table below lists the correct driver for each Modbus protocol Select this Driver Modbus Ethernet Modbus RTU Serial Master Modbus Serial Modbus Unsolicited Serial Slave Modbus Unsolicited Serial Modbus ASCII Network Adapter Default he Modbus ASCII Serial Step 4 Select a Network Adapter for Modbus TCP only The Network Adapter selection left allows you to select a specific NIC card based on either the NIC name or its currently assigned IP address The list of available NICs will include either unique NIC cards or NICs that have multiple IP addresses assigned to them Additionally the selection will display any WAN connections you may have active such as a dialup connection For PanelView Plus PanelView Plus CE select Default and click Next Step 5 Enter Communication Settings doesn t apply to Modbus TCP In the New Channel Communications dialog make sure the Modicon controller configuration settings match those in slave controllers or devices Parameter Selections Recommended Data Bits 5 6 7 8 8 Stop Bits 1 2 1 Parity None Even Odd Even Baud 300 to 256000 9600 or 19200 Publication 2711P UMO002B EN P March 2007 Configuring KEPServer Drivers for Modbus 19 Modbus RTU Serial x ip SERIAL y Baud rate Data bits
58. rd is installed automatically with RSView Studio The Firmware Upgrade FUP files with the KEPServer drivers is available at http support rockwellautomation com under Downloads Objectives Modbus Master Slave Chapter 2 Modbus KEPServer Drivers This chapter provides an overview of MODBUS KEPServer drivers available in the RSView Enterprise software e Modbus Master Slave Modbus RTU Serial Modbus Unsolicited Serial e Modbus ASCII e Modbus TCP A Modbus master slave network provides a protocol for data transfer and programming with a single RTU master and up to 247 slave devices A Modbus network links distributed devices with a central computer terminal or controller for supervisory control and data acquisition Up to 247 nodes can be connected at data rates of up to 19 200 baud using media such as twisted pair cable common carrier phone lines or microwave transmission This network is commonly used in SCADA application over large areas such as the water waste water and oil amp gas industries Modbus RTU Serial Modbus RTU Serial is the protocol for a master and includes RTS support for radio modems Supported devices include e Modbus compatible devices e Elliott Flow Computer e Magnetek GPD 515 Drive e Omni Flow Computer e Daniel S500 Flow Computer e Dynamic Fluid Meter DFM SFC3 e Instromet Modbus Unsolicited Serial Modbus Unsolicited Serial simulates up to 247 Modbus slave devices S
59. reate tags within the KEPServer software These tags are used to link to the controller addresses The procedure is similar to creating an HMI tag database For details on valid data types and addressing see Appendices A E 1 In the right hand pane click on the Click to add a static tag text Or right click on a device such as the Momentum_IEC in the left hand pane and select New Tag New Tag Group New Tag od DEXA Address F Import CSW 7 Click to add a static tag Tac Export CSW Cut Ctrl Copy Ctrl C Delete Del Properties The Tag Properties dialog opens Tag Properties Sa x General Scaling m Identification Name E Pr Address Bl A Description m Data properties Data type Default pa Client access Read Write Scan rate 100 3 miliseconds I Do not allow clients to override data type 2 Enter the tag name and address along with a description as shown in the following dialogs TIP Clickon next to the Address field for a list of valid addresses Configuring KEPServer Drivers for Modbus 33 ag Propernes x General Scaling Replace the xx with your table number p Identification Co gt For example the Address for table 1 al m p would be 40101 Address Jaha 2 S al x Description This tag is the accumulator of a free running timer Aa m Data properties Data type De
60. rial Address Definitions Publication 2711P UMO02B EN P March 2007 Chapter 6 OSCURA NANO ESA NES 41 Firmware Upgrade Wizard 41 Preparing Terminal for Firmware Upgrade 41 Copy FUP Files to Development Computer 42 Upgrade Firmware using a Compact Flash Card 42 Upgrade Firmware using a Network Ethernet Connection 46 Chapter 7 OSC WA AR ARA ARAS 53 Compile a Runtime Application File 53 Download Application to Terminal 54 Connect Terminal to Modbus Netwotk 56 Modbus Serial Cables 56 Modbus Ethernet Cables 57 RUY APO at Pp alten Ee Ea E ee KS 58 Chapter 8 ODESSA A a a i 59 COMMON EOTS os AR 59 Runtime Errors 59 Appendix A Appendix B OtipuiColls ocaso art ds ba is 63 TaputiColls soe ce Sad A watered Wd au pad ls de a dah ete 63 sl Siar or oe A 64 Holding Registers 65 Mailbox Addressing 67 Instromet Addressing 68 Appendix C OUP NANI AI UA 69 A E EN 69 Internal Registers arts adas eid Poe sp a des 70 Holding Registers a EY yaa SPER REY dea 71 Appendix D Output ONS ita ja Honig rada BM Hk Ho aa 73 INN UA eae da lo a o da 73 A AA II A Pend 74 Holding Registers 75 Modbus RTU Serial Address Def
61. rite Programmable 7089 7099 Float Long DWord LBCD Read Write Accumulator Meter Run Data 7n01 7n99 Float Long DWord LBCD Read Write n Number of Meter Run Scratch Pad Data 7501 7599 Float Long DWord LBCD Read Write PID Control Data 7601 7623 Float Long DWord LBCD Read Write Miscellaneous 7624 7699 Float Long DWord LBCD Read Write Meter Run Data Miscellaneous Variables 7701 7799 Float Long DWord LBCD Read Write Meter Station Data 7801 7899 Float Long DWord LBCD Read Write Prover Data 7901 7918 Float Long DWord LBCD Read Write Configuration Data 7919 7958 Float Long DWord LBCD Read Write for Prover Last Prove Data 7959 7966 Float Long DWord LBCD Read Write Data Rejected During 7967 7990 Float Long DWord LBCD Read Write Prove Prove Run Data 7991 8050 Float Long DWord LBCD Read Write Prove Average Data 8051 8079 Float Long DWord LBCD Read Write Prove Run Master Meter 8080 8199 Float Long DWord LBCD Read Write Data Proving Series Data 8200 8223 Float Long DWord LBCD Read Write Data of Meter Being 8224 8230 Float Long DWord LBCD Read Write Proved Mass Prove Data 8231 8500 Float Long DWord LBCD Read Write Miscellaneous 8501 8599 Float Long DWord LBCD Read Write Meter Run 1 Miscellaneous 8601 8699 Float Long DWord LBCD Read Write Meter Run 2 Miscellaneous 8701 8799 Float Long DWord LBCD
62. rm Upgrade firmware on terminal C Create firmware upgrade card jach Cancel Help Installing KEPServer Drivers on Terminal 47 2 Select Upgrade firmware on terminal and press OK Firmware Upgrade Wizard 3 Select Network connection and press Next Use the Ethernet and Serial connections only if the firmware upgrade is unsuccessful 4 Locate the PanelView Plus terminal on your Ethernet network via its IP address Skip to Step 6 if you found the terminal If you do not see the terminal right click on the Ethernet driver and add the device to the browse tree Firmware Upgrade Wizard SLinx Enterprise USMKEWHMARTIL 1789 417 Backplane Publication 2711P UM002B EN P March 2007 48 Installing KEPServer Drivers on Terminal 5 Double click on EthernetIP Devices Select the appropriate terminal and press OK Add Device Selection xj Available Devices E fj EtherNet IP EtherNet IP Messaging aj anai E Ethernet Bridge 1769 L35E m RAC6182 Open Operator Interface Es ya H Mobileview Mobileview Operator Interface 4 4 Ethernet SLC devices PanelView Plus CE 700 E NetENI connected PCCC devices 8 PanelYiew Plus 701 is 70 1 88 Panelview Plus 401 Es i Panelview Plus 600 El PanelView Plus 1000 15 88 Panelview Plus 1250 E PanelView Plus 1500 AE PanelView Plus CE 1000 En He Cancel_ Help zi 6 Enter the IP address for the terminal and press OK Device Proper
63. setting Use Zero Based Addressing is not checked page 27 If this parameter is not set correctly the Modbus RTU driver will offset all of your Magnetek addresses by 1 e Arrays are supported for holding register locations for all data types except boolean There are two methods of addressing an array Examples are given using holding register locations 4xxx rows cols 4xxx cols assumes rows is equal to 1 e Rows multiplied by cols cannot exceed the block size that has been assigned to the device for the register type Publication 2711P UMO02B EN P March 2007 82 Modbus RTU Serial Address Definitions Elliott Flow Computer Address Descriptions Default data types for dynamically defined tags are shown in bold where appropriate Elliott Flow Computer Addressing Address Range Data Type Access Output Coils 000001 065536 Boolean Read Write Input Coils 100001 165536 Boolean Read Only Internal Registers 300001 365536 Word Short Boolean Read Only 300001 365535 Float DWord Long LBCD 3XXXXX 0 3xxxxx 15 Boolean Holding Registers 400001 465536 Word Short BCD 1 Read Write 400001 465535 Float DWord Long LBCD 4XXXXX 0 AXXXxx 15 Boolean Publication 2711P UMO02B EN P March 2007 Important Notes e Address ranges 405001 to 405315 and 407001 to 407315 are 32 bit registers Addresses in the range of 405001 to 405315 use a default data type of Long Addresses in the range of 407001
64. sfer Utility You can download an application using a Compact Flash card a serial connection or an Ethernet connection Refer to the RSView Machine Edition User Manual ViewME UM003 1 From the menu bar select Tools gt Transfer Utility Tools Diagnostics Setup Diagnostics viewer MES Transfer Utility Tag Import and Export Wizard Application Manager Options 2 On the Download tab click the KE button 3 Select the mer file and click You should see the following dialog E Transfer Utility He ioj x Download Upload Compare Source file Sea cso ocuments and Settings All Users Documents ASView Enterprise ME Runtime ModiconHMI mer E Help ModiconHMI Download as Destination storage type Internal Storage Ed Run application when download completes jaa application runs Replace communications 4 Select the target PanelView Plus using the Ethernet browsing capability of RSLinx Enterprise Right click on the Ethernet AB_ETH 1 driver and select Start Browsing Select destination terminal Ll RSLinx Enterprise STUDENT10 5 Highlight your PanelView Plus or PanelView Plus CE terminal and click Publication 2711P UMO002B EN P March 2007 Compiling Downloading and Running Application 55 6 When the download is complete click and turn your attention to the terminal Load Application F1 button 7 Click the Loa
65. t the Modbus ASCH protocol KEPServer support includes e Modbus ASCIT compatible devices e Flow Computers using Daniels Omni Elliott register addressing Modbus TCP is a Modbus messaging protocol over Ethernet TCP IP and is intended for supervision and control of automation equipment The most common use of this protocol is for Ethernet attachment of PLCs I O modules and gateways to other simple field buses or I O networks The Modbus TCP KEPServer driver supports Modbus and Mailbox device models Modbus Device Model The most common Modbus device model is where the driver connects to physical devices e g Modicon TSX Quantum other Modbus Open Ethernet compatible devices and acts as a device on the network with a device ID equivalent to the machine s IP address The driver accepts any unsolicited commands it receives and attempts to process them as if it were another PLC MailBox The Mailbox model determines the manner unsolicited requests are handled By defining a mailbox device the driver does not act like a PLC on the network as described above Instead it acts as a storage area for each and every mailbox device defined When the driver receives an unsolicited command the driver detects the IP address the message came from and places the data in the storage area allocated for the device If the message comes from a device with an IP address that has not been defined as a mailbox device the message is not processed Any cl
66. tags Duty Cycle Perform fio H writes for every 1 read coct ha Configuring KEPServer Drivers for Modbus 21 Step 7 Select Socket Usage Applies to Modbus TCP only The New Channel Socket Usage dialog controls how the Modbus Ethernet driver will utilize Windows sockets when establishing a connection to the target device For a normal Modbus Ethernet enabled device the default Use Multiple Sockets for device connection checked mode of operation is designed to give the best performance from the driver New Channel Socket Usage 3 xi Socket Usage depends on the device to which you are connecting When talking to a Modbus Ethernet device use Multiple Socket connections default When talking through a Modbus Ethernet to Modbus RATU gateway use the Single Socket connection mode Socket Usage IV Use Multiple sockets for device connecti lt Back Next gt Cancel ha Normally the Modbus Ethernet driver will use a Windows socket for each device on the network When using a new socket connection for each device the Modbus Ethernet driver maintains that socket as an active connection Normally this provides a very high level of performance since the driver does not need to reestablish a connection each time it needs to read or write data to a given device For more information on using Sockets in a Modbus RTU bridge application refer to the online help Click
67. th 2 240 Bytes 1 Function Code 06 cannot be used with string types Length 2 240 Bytes Publication 2711P UMO02B EN P March 2007 80 Modbus RTU Serial Address Definitions Publication 2711P UMO02B EN P March 2007 String Support The Modbus model supports reading and writing holding register memory as an ASCII string When using holding registers for string data each register will contain two bytes of ASCII data The order of the ASCII data within a given register can be selected when the string is defined The length of the string can be 2 to 240 bytes and is entered in place of a bit number The length must be entered as an even number The byte order is specified by appending either an H or L to the address String Example 1 To address a string starting at 40200 with a length of 100 bytes and HiLo byte order enter 40200 100H String Example 2 To address a string starting at 40500 with a length of 78 bytes and LoHi byte order enter 40500 78L Arrays Arrays are also supported for the holding register addresses The syntax for declaring an array using decimal addressing is 4xxxx cols with assumed row count of 1 and 4xxxx rows lcols For Word Short and BCD arrays the base address rows cols cannot exceed 65536 For Float DWord Long and Long BCD arrays the base address rows cols 2 cannot exceed 65535 For all arrays the total number of registers being requested cannot exceed the ho
68. ties xj General Name PanelView Plus 700 Address 10 10 10 2 Cancel Appi Hep 7 Select the terminal to be upgraded and press OK Firmware Upgrade Wizard ioj xi Select the terminal E 2 RSLinx Enterprise USMKEWHMARTI1 H 1789 417 Backplane E a EtherNet Ethernet H S 1789 417 1789 417 Virtual Chassis gs DF1P2P DF1 Point to Point Mode Online Not Browsing lt Back Cancel Help Publication 2711P UMO002B EN P March 2007 Installing KEPServer Drivers on Terminal 49 8 From the Firmware source folder text box select the location of the firmware files The default location is C Program Files Rockwell Software RSView Enterprise FUPs From the Upgrade firmware version list select the version of the firmware you want to upgrade to then select Next Firmware Upgrade Wizard Selected terminal Terminal type PanelView Plus 700 ME v3 10 Firmware version 3 10 00 38 Major Minor Patch Build Firmware source folder pas Files Rockwell Software YA S View Enterprise FUPs A Uparade firmware version 3 10 01 38 Major Minor Patch Build lt Back Cancel Help 9 Select the appropriate KEPServer drivers and select Next If the selected FUP file does not support the KEPServer drivers this dialog will not appear Firmware Upgrade Wizard 7 Select the KEPServer drivers to be included in the firmware O Mitsubishi FK
69. tring HiLo or LoHiByte Order Format 400001 2H 409999 240H Bit is string length Range 2 240 bytes Security Read Write Range 400001 409999 Length 2 240 bytes Publication 2711P UM002B EN P March 2007 16 Modbus Unsolicited Serial Address Definitions Publication 2711P UMO002B EN P March 2007 String Support The Modbus model supports reading and writing holding register memory as an ASCII string When using holding registers for string data each register will contain two bytes of ASCII data The order of the ASCII data within a given register can be selected when the string is defined The length of the string can be 2 to 240 bytes and is entered in place of a bit number The length must be entered as an even number The byte order is specified by appending either an H or L to the address String Example To address a string starting at 40200 with a length of 100 bytes and HiLo byte order enter 40200 100H Appendix E Output Coils Input Coils Modbus RTU Serial Address Definitions This appendix describes valid tag addressing for Modbus RTU Serial communications This information is also available in the Modbus driver online help in KEPServer Enterprise KEPServer drivers use decimal addressing Output Coils Function Codes 01 05 15 Decimal Addressing Hexadecimal Addressing Type Boolean Format Oxxxxx HOyyyyy Security Read Write Range 000001 065536 H000001 HOFFFF E
70. upported devices include Modbus compatible devices Publication 2711P UMO02B EN P March 2007 12 Modbus KEPServer Drivers BM Publication 2711P UM002B EN P March 2007 Modbus Master Slave Networks See Chapter 7 for cable information Direct Connection PanelView Plus Modbus Serial or Unsolicited Serial Driver RS 232 RS 485 Converter Controller Master or Slave 0 7 1 1761 NET AIC or Comparable Device Master Slave Network Multiple Slave Terminals Connect to one Master Controller 3 PanelView Plus Slave Devices Each uses Modbus Unsolicited Serial Driver PanelView Plus PanelView Plus PanelView Plus Master Controller i PanelView Plus A RS 232 RS 485 RS 232 RS 485 Converters Converters 1 PanelView Plus Master Devi Uses the Modbus Serial Driver m Modbus Device Modbus Device Modbus Device RS 232 RS 485 Converters RS 232 RS 485 Converters A RS 232 RS 485 Converters A Modem Connection 2 PanelView Plus Slave Devices Modbus Each uses the Modbus Unsolicited Serial Driver PanelView Plus Master Controller 0 Modems PanelView Plus Modbus ASCII Modbus TCP Modbus KEPServer Drivers 13 Modbus ASCII protocol is typically used to connect to other ASCII devices that suppor
71. ver Drivers folder to verify that the driver dll exists Replace the MER files that you backed up before starting the upgrade or download a new MER file to the terminal Load the MER file and run the project You can configure your application to start automatically on power cycle under Startup Options Publication 2711P UM002B EN P March 2007 46 Installing KEPServer Drivers on Terminal Upgrade Firmware using a Network Ethernet Connection Publication 2711P UMO002B EN P March 2007 You can upgrade the firmware in a terminal that is connected to a desktop computer using a Serial Ethernet or Network using RSLinx Enterprise connection e Network connection requires RSLinx Enterprise where you select the terminal on an existing network e Serial connection requires a RAS connection to be set up on computer During the RAS setup you select the COM port e Ethernet connection requires that you enter the terminal s IP Address Both the Serial and Ethernet connection requires the PanelView Plus File Transfer Utility running on the terminal and should only be used when other methods fail This section shows how to upgrade firmware in a PanelView Plus terminal using a Network connection via Ethernet communications 1 Start the Firmware Upgrade Wizard Select Start gt Rockwell Software gt RSView Enterprise gt Firmware Upgrade Wizard Firmware Upgrade Wizard E aji Select the type of fiimware upgrade to perfo
72. vers on Terminal 5 Select Finish to copy the firmware source files to the location specified in step 2 TIP If the files were created in a separate folder on a local hard drive copy the files to the root directory of the compact flash card lol Press Finish to create the firmware upgrade card Upgrade type Firmware upgrade card Terminal type Panelview Plus 700 ME v3 00 Upgrade firmware version 3 10 00 38 Major Minor Patch Build Firmware card location ES KEPServer drivers lt None gt lt Back Cancel Help 2 Upgrade Firmware in Terminal using Firmware Upgrade Card 1 Insert the compact flash card into the card slot of a powered PanelView Plus terminal A dialog appears indicating the firmware upgrade is about to occur Firmware Upgrade Card Firmware version Major Minor Patch Build Terminal 3 00 00 00 Upgrade Card 3 10 00 38 If you want to upgrade the firmware on the terminal with the firmware on this card press the Upgrade button and leave the card inserted until instructed to remove it by a later dialog Otherwise press the Exit button and remove the Firmware Upgrade card 2 Press Upgrade to begin the firmware upgrade IMPORTANT Do NOT remove the compact flash card while the upgrade is in process Publication 2711P UMO002B EN P March 2007 Installing KEPServer Drivers on Terminal 45 If other PanelView Plus terminals exist on the same Ethernet network
73. xample The 255th output coil would be addressed as 0255 using decimal addressing or HOFF using hexadecimal addressing Input Coils Function Code 02 Decimal Addressing Hexadecimal Addressing Type Boolean Format 1XXXXX Hi yyyyy Security Read Range 100001 165536 H100001 H1FFFF 1 For unsolicited device 127 0 0 1 0 these locations are Read Write Example The 127th input coil would be addressed as 1127 using decimal addressing or H17F using hexadecimal addressing Publication 2711P UM002B EN P March 2007 78 Modbus RTU Serial Address Definitions Internal Registers Publication 2711P UM002B EN P March 2007 Defaults are shown in bold Internal Registers Function Code 04 Decimal Addressing Hexadecimal Addressing Type Word Short BCD Format 3XXXXX H3yyyyy Security Read only 1 Range 300001 365536 H300001 H310000 Type Boolean Format 3xxxxx bb H3yyyyy c Security Read only 1 Range 3XXXXX 0 3xxxxx 15 H3yyyyy 0 H3yyyyy F Type Float DWord Long LBCD Format 3XXXXX H3yyyy Security Read only 1 Range 300001 365535 H300001 H3FFFF 1 For unsolicited device 127 0 0 1 0 these locations are Read Write Arrays Arrays are also supported for the internal register addresses The syntax for declaring an array using decimal addressing is 3xxxxIcols with assumed row count of 1 and 3xxxx rows lcols
74. you create a new KEPServer configuration there are several system and communications tags that are also created In this section you ll verify communication with the tags you ve created before incorporating them into an HMI project 1 Select Tools gt Launch OPC Quick Client from the main menu Or icon click on the OPC Quick Client 2 2 Highlight the name of the device that you plan to test in the left pane This will display the tags that you have created in the right pane 3 Right click the tag in the right pane that you plan to test and select Synchronous Write OPC Quick Client Untitled 10 xj File Edit View Tools Help EA ERA et BEX El p KEPware KEPServerEnterprise V4 Item Datta Type val Ga Modicon System Modicon Momentum TEC Time cum Z Modicon Momentum_IEC E Modicon Momentum_IE New Item Modicon Momentum_IEC _System Set Active Set Inactive Synchronous Cache Read Synchronous Device Read Synchronous Write Asynchronous 2 0 Read Asynchronous 2 0 Cache Refresh Date Time Event Asynchronous 2 0 Device Refresh 12 19 2003 12 19 06 PM Added 4 items to gr Asynchronous 2 0 Write 11 12 19 2003 12 19 06 PM Added group Modic 12 19 2003 12 19 06 PM Added 8 items to gr Cut Ctrl x 12 19 2003 12 19 06 PM Added 2 items to gr Copy Ctrl C Ready Paste Cer rr oa Delete Del Properties Publication 2711P UM002B EN P March 2007 36

Download Pdf Manuals

image

Related Search

Related Contents

DELL Inspiron 3043  PlateSpin Portability Suite 8.1 – Benutzerhandbuch  MICROWAVE OVEN SERVICE MANUAL  取扱い説明書 PDF    Peg Perego Uno User's Manual    USER MANUAL EN MODE D`EMPLOI FR KULLANIM KILAVUZU TR  Integrazione manualei RT ITA 07  Lightning Audio X1.1000.1D Stereo Amplifier User Manual  

Copyright © All rights reserved.
Failed to retrieve file