Options for ABB drives,inverters and converters Users Manual SRIO-01 Modbus to RIO gateway User’s Manual SRIO-01 Modbus to RIO gateway 3AUA0000158980 REV A EN EFFECTIVE: 07/28/2014 Table of Contents 5 Overview 7 Device Settings 11 Device Configuration 29 Adapter Model 41 Adapter Configuration 47 © 2014 ABB All rights reserved. [Page intentionally left blank] Table of Contents Table of Contents Overview............................................................................................ 7 Hardware Overview...................................................................... 8 Power........................................................................................... 8 Remote I/O Cabling& Termination................................................. 9 Ethernet Cabling........................................................................... 9 Grounding.................................................................................... 9 Device Settings.................................................................................. 11 Device Configuration..................................................................... 12 Accessing the Web Configuration Interface................................... 12 Home Page Tab............................................................................ 14 Network Settings Tab................................................................... 15 Firmware Upgrade Tab................................................................. 16 Device Settings Tab...................................................................... 17 Compatibility Mode Selector......................................................... 18 RIO Interface Configuration........................................................... 19 Device Configuration.......................................................................... 29 Compatibility Settings Tab............................................................. 32 Communication Monitor Tab......................................................... 37 Adapter Model.................................................................................... 41 Adapter Configuration........................................................................ 47 Drives setting for compatibility mode............................................ 66 Index.................................................................................................. 72 5 6 Overview [Page intentionally left blank] Overview 7 1 Overview The ABB SRIO-01 industrial gateway is a high performance,real-time embedded device. It is designed to bridge the communication needs between supported ABB drives with Modbus RTU/Modbus TCP communication controller and AllenBradley Remote I/O scanner devices of various types. The functionality of the device allows the user to connect various ABB manufactured drives. It makes the drive’s data accessible via the RIO interface to the RIO network scanner. This device acts as a Remote I/O adapter providing discrete inputs/outputs,as well as block transfer read/write data to the scanner. Up to six simultaneously connected drives are supported via the built-in Modbus/ TCP or Modbus/RTU RS232/422/485 interface,which are presented as members of up to six racks. They present as one,or several drives per rack,with variable rack sizes. The size depends on the particular drive profile which include ¼ rack,½ rack,¾ rack and full rack configurations. In addition to the features above,ABB SRIO-01 has one 10/100 Mbit Ethernet connected to a three port Ethernet switch,with two physical RJ45 connections available. This functionality allows for daisy-chaining other Ethernet devices through ABB SRIO-01 gateways. The industrial gateway has an embedded web server which is primarily used for initial device configuration,firmware upgrades and real time statistics monitoring. 8 Overview Hardware Overview - ABB SRIO-01 The Gateway kit contains a manual,and all connectors needed to facilitate introduction into the users system. The kit contains a connector Bag with two (2) 3 Wire RIO terminal block connectors,One (1) Power Supply Terminal Block,and One (1) RS-232 DB-9 Female Plug to three (3) wire Terminal Block connector. The Kit also contains a 2 Meter (7’) Ethernet Cable for easy connection to a PC for configuration. Power ABB SRIO-01 requires a DC power input that ranges from 11 to 30 VDC. Power supply to the device is provided via a standard Phoenix 3 pin connector with 3.81 pitch. The part number for the compatible power supply plug connector is Phoenix 1827716 MC 1,5/3-STF-3,81. Please follow the link below for the exact part description: https://www.phoenixcontact.com Pin assignment from left to right is: Negative Voltage,GND,Positive voltage Power consumption is 2.5 Watt maximum under full load (2 Ethernet interfaces,SRIO is a single device on RIO network). Power dissipation is 1.4 Watt. Overview 9 Remote I/O Cabling& Termination Please follow the recommendations provided by Allen-Bradley in regards to cabling requirements for remote I/O networks and DH+ networks. On the ABB SRIO-01 device,remote I/O connection is provided via a standard Phoenix 3 Pin connector with 5.08 pitch. The part number for the compatible plug connector is Phoenix 1805314 MSTBT 2,5/3-STF-5,08. Please follow the link below for the exact part description: https://www.phoenixcontact.com Ethernet Cabling ABB SRIO-01 can be connected to the Ethernet network using a standard CAT5 or CAT6 Ethernet cable with an RJ-45 connector. If you are connecting the device to the switch or a router,please use a standard Ethernet cable. To connect it to the Ethernet network,you can utilize any available Ethernet port on the device. Grounding ABB SRIO-01 has an isolated power supply. Negative power supply pin is not connected to Shield pin of Power connector. Ethernet shield is directly connected to Shield pin and if you are using SUTP Ethernet cables consider proper grounding. RS232 shield is not connected (floated). RIO/DH+ shield pin connected to SRIO shield by 0.022uF capacitor and 1MOhm resistor in parallel. Take care with proper grounding depending of your particular network configuration. 10 Device Settings [Page intentionally left blank] Device Settings 11 2 Device Settings 12 Device Settings Device Configuration Default Configuration ABB SRIO-01 can be connected to the Ethernet network using a standard CAT5 or CAT6 Ethernet cable with RJ-45 connector. IP Address 192.168.1.242 Network Mask 255.255.255.0 Default Gateway 192.168.1.1 Username admin Password password Accessing the Web Configuration Interface To access the web-based configuration interface,please follow the steps below: • Connect the ABB SRIO-01 device to your computer’s Ethernet port using a standard Ethernet cable. • On the Ethernet adapter of your computer,configure a static IP address with the following settings: IP Address 192.168.1.1 Network Mask 255.255.255.0 Default Gateway 192.168.1.1 • Connect the power to the ABB SRIO-01 device. • Using the web browser of your choice (Google Chrome,Internet Explorer or Mozilla Firefox) navigate to the device configuration login page by typing “http://192.168.1.242” SRIO address. WEB interface uses Java script and scripts should be allowed in your browser for proper device configuration Device Settings 13 Accessing the Web Configuration Interface (continued) • At the login prompt,please type in a username and password (in case of first time device configuration,please use Username: admin,Password: password). • After a successful log-in you will be able to configure the device through the built-in web interface. Factory Reset Support The gateway includes a “Factory Reset” button, which will return all of the device settings programmed by the user to factory-default settings, including all network configurations. To accomplish a reset, power down the unit, press the reset button while powering up the unit, hold for 1 second, and release. Following this described operation the unit will be reset to a factory default condition including the login password and IP address settings. NOTICE: All user configured configuration data will be lost when this action occurs. Dimensions Port Layout LED Layout 14 Device Settings Home Page Tab Upon successful log-in,the user will be presented with the device’s home page. Under the “Device Information” section the model number,firmware revision and software revision information boxes are presented. Please use this information in case of any support inquiries. The “Change Device Password” section allows you to set a custom login password for this device. To change the password please follow the steps below: • Type the current password into the “Current Password” text box. • Type a new password into the “New Password” text box. • Type a new password again into the “Confirm Password” text box. • Press the “Change Password” button to save the new password. Please note that the username will always stay the same. It is not possible to change the username. Device Settings 15 Network Settings Tab The “Network Settings” tab allows the user to change the current networkrelated settings of the ABB SRIO-01 device. There are two ways you can configure the device: 1.Utilize the existing DHCP server on the network to provide the IP address,network mask and the default gateway’s address. 2.Statically assign the IP address,network mask and the default gateway’s address. To use DHCP option: • Click “Obtain an IP Address Automatically” check box. • Click “Apply” to save the new settings. To statically configure network options: • In the “IP Address” text box,input a valid IP Address to assign to the device. • In the “Subnet Mask” text box,input a subnet mask to be used. • In the “Default Gateway” text box,input a default gateway IP address for the device to use. • Click “Apply” to save the new settings. Note: Those changes will take effect immediately. Please make sure that the network the device will operate on has a valid DHCP server available,or,in a case of static IP address assignment,the device will be connected to the IP network with compatible settings. 16 Device Settings Firmware Upgrade Tab If you are informed that the software or firmware update is available,you can easily upgrade your device firmware or software image using the “Firmware Upgrade” tab. To upgrade the software or firmware image please follow these steps: • Click “Browse” and select the firmware/software image that you would like to upgrade the device to. • Click “Upgrade” to perform the firmware/software upgrade. Please make sure that security settings of your browser/network allows file upload. You will be notified with a message through the web browser about the result of the firmware upgrade. Device Settings 17 Device Settings Tab The “Device Settings” tab is the main configuration screen for the Modbus and RIO interfaces. The Device Settings tab is split into three distinct configuration panes: • Compatibility Mode Selector • ABB Drive Settings • Modbus RTU Interface Settings (only for Modbus RTU FW version). • Validation Pane • RIO Interface Settings The “ABB Drive Settings” pane is used to configure the drive representation from the RIO standpoint in a virtual RIO racks. The ABB SRIO-01 device supports up to six drives simultaneously. MODBUS/RTU Note: In order to use more than one drive with the ABB SRIO-01 device,it is required to use the RS-485 interface on all drives. The ABB SRIO-01 device must be configured in RS-485 mode in the “Modbus RTU Interface Settings” pane. 18 Device Settings Device Settings Tab (continued) Compatibility Mode Selector Depending on your particular application and installation requirements,you may benefit from the SRIO compatibility option available on the “Device Settings” page. When any compatibility mode is selected,it will apply to all drives and the available configuration for every drive will be slightly different from the regular drive configuration described below. Please see chapters below for all the information on using compatibility modes available in SRIO-01 device. Device Settings 19 RIO Interface Configuration To configure the RIO Interface: • Select the “Baud Rate”,from the options presented in the drop down menu. The “AutoDetect” option allows for automatic baud rate detection and configuration upon startup of the device. • Distribute drives over the racks. You may pack several drives into one rack by assigning to the drive rack number and proper Starting Group. Select the “Block Transfer Type” from the options presented in the drop down menu. The available selections are: • ABB RIO native block transfer • ABB Messaging support within block transfer (Not supported in the initial release) • Allen-Bradley 1203/1236 RIO adapter block transfer mode (Not supported in the initial release) • Allen-Bradley 20-COMM-R RIO adapter block transfer mode (Not supported in the initial release) Note: Block transfer type applies to all drives. You also need to decide how you would like to access to drive profiles through the RIO interface. Do you want the SRIO-01 adapter to emulate Allen-Bradley 1203/1336,or 20-COMM-R communication adapters and the RIO side? 20 Device Settings ABB Drive Settings The ABB SRIO-01 device is capable of polling data from up to six ABB drives. The steps below are written to configure one drive. To configure more than one drive,please repeat the steps below for all of the drives you would like to configure: • Using the drop down menu,select the drive type you would like to work with. Com. Adapter menu allows to choose compatible communication adapters. (For Modbus/TCP FW version,each ABB drive has only one compatible adapter that will be automatically selected upon selecting the ABB drive model) Drive Alias If you would like to assign an alias to a particular drive,you can type it in the “Drive Alias” text box assigned to that particular drive. This will help you later to have a clear understanding of which drive controls which asset in your particular setup. Please avoid using spaces and special characters in the “Drive Alias” field. Device Settings 21 ABB Profile Select the ABB drive profile you would like to map to the particular drive using the drop down menu. ABB Drive IP Address Input the IP address of the ABB drive Modbus/TCP adapter you wish to communicate with. Please make sure that the drive is on the same network as the SRIO-01 device. RIO Rack Setting For all of the drives you are connecting to SRIO-01,you need to set the RIO Rack address. All drives with the same rack address numbers will share the same rack. This means that if you want to pack several drives into one RIO rack,the slots occupied by the drives in the RIO I/O Image Tables should not overlap. You need to carefully plan how to distribute drives between racks. Please consider the following questions before you configure the device: • Do you want to pack several drives into one rack? • What are the requirements for coexistence of SRIO-01 on your existing RIO network? Rack Number Set the “Rack Number” for the drive. 22 Device Settings Starting Slot Set up “Starting Slot” to indicate from which starting slot in the RIO rack this particular drive will be mapped from. Please note that if the “Block Transfer On” option is selected for a particular drive,the “Starting Slot” number can only be 0,2,4,or 6. Block Transfer To enable the block transfer operations for the particular drive,please select “On” setting from the drop down box. If a Block Transfer is enabled,it consumes one slot of the RIO I/O Image Table. DWords – Discrete Words Select the number of “Discrete Words” from the drop down list. Fast Discrete I/O allows up to just 8 first parameters to be read or written from the beginning of the selected ABB drive profile. The actual number of the parameters read or written depends on the ABB drive profile. Please refer to the ABB drive and communication adapter manual for complete description of drive profiles available in your particular application. Device Settings 23 ABlocks – Addressable Discrete Blocks An “Addressable Discrete Block” consumes 2 lines/slots of RIO I/O tables. It allows for the reading and writing of arbitrary ABB drive parameters using a specified Modbus address. After the selection of ABlocks,several extra settings are available. The “Last 32B” drop down menu allows the user to indicate whether the last block may support 32-bit drive profile data. 24 Device Settings Address Block Type For convenience,and to be compatible with software implementation of drive access using DataLink parameters on AB 1203/1336 adapters,you may choose how a particular ABlock behaves. An Address Block is a pair of {Address,Data} in Output and Input RIO Image Tables. Any write from PLC to Output pairs causes sending data by programmed Address. For Input pair,read address may be programmed by PLC as: • A negative value (R/W choice) written to Output Address part of AD Output pair • Same as Output address (R=W choice) • May be specified through the WEB interface for a particular Modbus address (MB Addr). Device Settings 25 Last Rack Selection If the particular rack shown in the Validation Pane contains last slot belonging to this rack,it shall be indicated as “Last Rack” using this control. 26 Device Settings Device Settings Validation After you are finished with configuration of the individual drives,you are required to validate the settings by pressing on “Validate” button. The result of the validation will be shown in the RIO I/O table - you will be able to see the rack slots assignment and any conflicts. As an example, should two drives try to occupy the same slot, the conflict will be highlighted. If there happens to be any kind of conflict detected during the settings validation, the errors will be highlighted and you will be required to change the configuration to make sure it passes validation test. Device Settings 27 Compatibility Mode Compatibility modes available in the SRIO-01 device are designed to allow an easy and quick ABB drive installation within the customers’ existing RIO based environment, when the requirement is to change the least amount of the existing PLC code as possible. In compatibility mode, the SRIO device will emulate a particular Allen-Bradley RIO drive adapter (1203 Remote I/O Communication Module,1203-GK1,1203-GD1,1336-GM1) and Logic Control/Logic Status structure compatible with 1305,1336 PLUS II and 1336 Spider drives, and will do all the Control Word and Status Word conversion to enable running a new ABB drive in the control environment that was originally designed to work with Allen-Bradley motor control equipment. Some parameters usually programmed in drives (such as MOP increment, MOP reference, Jog frequency and others) should be programmed in the SRIO to better support compatibility mode. These parameters in the ABB drive may be left un-programmed or set to default values, as the SRIO-01 in compatibility mode handles the drives control requirements. The Term “1336 drive, Logic Control” below will be used for all of the compatible drives – 1336 PLUS II,1336 Spider or 1305. When compatibility mode is enabled, the “ABB Drive Settings” page will be updated to enable the controls needed for compatibility configuration and will disable and hide the controls that are usually available when compatibility mode is not selected. The controls are the software representation of the AB RIO adapter controls you have worked with before, so the configuration should be easy and fast. Drive configuration options are the same starting from the “Drive Model” selection and up to enabling or disabling the “Block Transfer” operations. Select “Compatibility Mode” from the options presented in the drop down menu. The available selections are: • Compatibility Mode is OFF • Compatibility Mode is set to Allen-Bradley 1336 Plus2 28 Device Configuration [Page intentionally left blank] Device Configuration 29 3 Device Configuration 30 Device Configuration Reference Enable To enable “Reference/Feedback” words for the particular drive,please select “On” setting from the drop down box. If reference is enabled,it will be placed right after the Control Word in the RIO table. DL A Enable To enable “Datalink A” pairs for the particular drive,please select “On” setting from the drop down box. Every data link pair occupies 2 words in the input RIO table and 2 words in the output RIO table just like it is for 1203 adapter. DL B Enable To enable “Datalink B” pairs for the particular drive,please select “On” setting from the drop down box. Every data link pair occupies 2 words in the input RIO table and 2 words in the output RIO table just like it is for 1203 adapter. DL C Enable To enable “Datalink C” pairs for the particular drive,please select “On” setting from the drop down box. Every data link pair occupies 2 words in the input RIO table and 2 words in the output RIO table just like it is for 1203 adapter. DL D Enable To enable “Datalink D” pairs for the particular drive,please select “On” setting from the drop down box. Every data link pair occupies 2 words in the input RIO table and 2 words in the output RIO table just like it is for a 1203 adapter. However a truncated data link pair will only occupy 1 word in the input RIO table and 1 word in the output RIO table. Device Configuration 31 Truncate Last Datalink To enable truncation of the last data link pair to one word for the particular drive,please select the “On” setting from the drop down box. Every data link pair occupies 2 words in the input RIO table and 2 words in the output RIO table just like it is for 1203 adapter. However truncated data link pair will only occupy 1 word in the input RIO table and 1 word in the output RIO table. Device Settings Validation After you are finished with configuration of the individual drives,you are required to validate the settings by pressing on “Validate” button. The result of the validation will be shown in the RIO I/O table ¬– you will be able to see the rack slots assignment and conflicts,if case two drives try to occupy the same slot. Apply Settings After successful validation of the configuration,please press the “Apply” button to save your selections and,in case of compatibility mode selection,proceed to the “Compatibility Mode” tab. 32 Device Configuration Compatibility Settings Tab When compatibility settings are enabled,and you have configured the drive compatibility settings in the “Device Settings” tab and clicked the “Apply” button,you will be redirected to the “Compatibility Settings” tab for further device configuration Stop Mode Select the “Stop Mode” to be used for a particular drive from the options presented in the drop down menu. The available selections are: • Ramp to Stop • Coast to Stop • Emergency Stop This setting selects ABB Drive stop mode (Bits 0,1,2 in ABB Control Word) that will be used when SRIO receives “Stop” command (bit 0 of 1336 Logic Control) Logic Control Select the “Logic Control” The available selections are: • Logic Control Normal • Logic Control Alternative This setting controls the representation of 1336 Logic Control. Alternative Logic Control structure uses different meaning of bits 7 and 15 – instead MOP Increment/Decrement in Normal Logic Control,they are Sync Enable and Traverse Enable in Alternative Logic control selection. SRIO doesn’t support translation of Traverse Enable bit functionality. Device Configuration 33 JOG Frequency Program the Jog Frequency setting you would like to use. Please note that this parameter can be programmed both in Hz and RPM depending on the currently selected mode MOP Increment Program the MOP Increment setting you would like to use. Please note that this parameter can be programmed both in Hz and RPM depending on the currently selected mode MOP Reference Program the MOP Reference setting you would like to use. After power up SRIO will use this as an initial value for MOP reference. Please note that this parameter can be programmed both in Hz and RPM depending on the currently selected mode Local Adapter ID Program the Local Adapter ID setting to the same value you have had programmed in your legacy Allen-Bradley RIO adapter. Reference Scaling Coefficient For correct operations SRIO needs to know the scaling between the RIO value of Speed Reference and the real drive speed of the old1336 drive you previously used in application. Program the frequency which corresponds RIO value of 32767 for your drive. (For 1336 PLUS II drive it is the Maximum Speed,parameter - 151) Please note that this parameter can be programmed Only in Hz Acceleration/Deceleration Times Program the Acceleration/Deceleration and Hold time according to your particular requirements. All values are in Seconds. 34 Device Configuration Frequency Selection Select the “Frequency Selection 1” and “Frequency Selection 2” to be used for a particular drive from the options presented in the drop down menu. The available selections are: • Adapter • Mop • Analog 1 • Analog 2 • Preset Frequency 1 • Preset Frequency 2 • Preset Frequency 3 • Preset Frequency 4 • Preset Frequency 5 • Preset Frequency 6 • Preset Frequency 7 • 1336 Logic Control allows selection of active Reference between • Reference 1 • Reference 2 • Preset 3…7 Particularities of 1336 and ABB drives requires the SRIO to know the settings of Reference 1 and Reference 2 for your 1336 drive. Remember that the SRIO and ABB drive will use one of the settings for the SRIO (i.e. the parameters programmed in SRIO) not the drive setting. NOTE: When you select Preset Frequency 1…7 and MOP – ABB drive will use SRIO settings, not the drive settings for these parameters Device Configuration 35 Preset Frequency Program the “Preset Frequency 1-7” to your particular requirements. Please note that this parameter can be programmed both in Hz and RPM depending on the currently selected mode Datalink Settings You can configure read and write parameters to/from ABB drive in the same order as they has been configured in your Datalink product (see below Drive Settings and examples). However parameters you select may be a 32-bit and have different scaling in ABB drives. If you have enabled any of the Datalinks on the “Device Settings” page,you will be able to configure the “Bit Width” and “Scaling Coefficient” for every Datalink In/Out pairs that were enabled. Bit Width,indicates if the parameter that is mapped inside the ABB Enhanced Profile is a 32Bit or 16Bit. A Scaling coefficient will be applied to the data going in to an RIO and on to an SRIO-01 mapped to this Datalink, as well as the data coming out from the SRIO-01 to the RIO and to the PLC. Scaling for input parameters is a coefficient on which RIO value will be MULTIPLIED before sending over the Modbus. Scaling for input parameters is a coefficient on which Modbus value will be DIVIDED before sending to RIO. NOTE: Remember,it is the scaling of Modbus values to RIO values,not ABB drive value to RIO values. Many ABB drive parameters are scaled in drives/FENA adapter for Modbus. See documentation for the ABB drive you use to find parameter bit width and scaling between drive and Modbus representation. See 1336 drive documentation to see scaling between RIO and drive parameters of interest. See examples below. 36 Device Configuration NOTE: In case the parameter of interest is a bit-field,set the scaling coefficient to 1. If the parameter is a 32 bit in ABB drive,it will be truncated to 16 bit value. Device Status Tab The “Device Status” tab provides the user with real-time statistics for the Modbus RTU or Modbus TCP interface as well as the transmitted and received packet counts on the RIO interface. The Device Status tab is split into three distinct information panes: • Device Uptime • Modbus RTU/TCP Interface Statistics • RIO Interface Statistics The “Device Status” tab is updated automatically every one second. There is no need to refresh the page. Device Configuration 37 Rack Status Tab The “Rack Status” tab provides user with real-time statistics for all the virtual RIO racks configured in the SRIO device. The Device Status tab is split into two distinct information panes: • Inputs • Outputs The “Rack Status” tab is updated automatically every one second. There is no need to refresh the page. There is also an option on the top of the “Rack Status” tab to display data inside the Rack slots either as decimal or hexadecimal values. Communication Monitor Tab The “Communication Monitor” tab provides user with real-time data for RIO Input/Output and Modbus Input/Output tables for a particular drive,when the device is configured in “Compatibility Mode”. In addition to monitoring function,“Communication Monitor” tab allows the user to switch into the “Test Mode” where it is possible to find and trouble shoot issues related to parameter conversion and/or communication issues on both RIO and Modbus interfaces. The Communication Monitor tab is split into two distinct information panes: • Inputs • Outputs To select the drive that is currently being monitored,please use the “Drive” drop down control. When “Test Mode” is disabled,the “Communication monitor” tab is updated automatically every one second. There is no need to refresh the page. To switch to the “Test Mode”,flip the “Test Mode” control to “On” position. The page will refresh and new options will be available to the user. When the “Test Mode” is turned on,auto-refresh of the page is disabled. To refresh data on the page when the “Test Mode” is enabled,simply click on “Communication Monitor” tab. 38 Device Configuration Communication Monitor Tab (continued) When “Test Mode” is enabled,additional “Test Mode” related controls will be visible In both “Inputs” and “Outputs” panes: “RIO Test Mode” Allows the selection of the test settings related to RIO Inputs table. The following selection are available on the Inputs pane “RIO Test Mode” control: • Rio From Profile • Rio From Screen “Rio From Profile” Configures the device to populate the RIO Input table with values converted from the Modbus profile. “Rio From Screen” Allows the user to populate the RIO Input table directly from the Web page. Please note,that if the SRIO-01 is connected to the RIO network,those values will be immediately sent to the RIO scanner when “Apply Button” is pressed. “MB Test Mode” Allows the selection of the test mode settings related to Modbus Inputs table. The following selection are available on the Inputs pane “MB Test Mode” control: • Profile From Modbus • Profile From Screen “Profile From Modbus” Configures the device to populate the Modbus Input table with values received from the Drive. This is a direct copy of the Drive Enhanced Profile received. Device Configuration 39 “Profile From Screen” Allows the user to populate the Modbus Input Table directly from the Web page. Please note,that if the SRIO-01 is connected to the RIO network,those values will be immediately converted and reflected in the RIO Input table,and then sent to the RIO scanner when “Apply Button” is pressed. The following selection are available on the Outputs pane “RIO Test Mode” control: • Rio From Rio • Rio From Screen “Rio From Rio” Is the default mode for the device to receive RIO data from the control network and store it in the RIO Output table. Those values will be converted and scaled before being stored in the Modbus Output table and sent to the Drive. “Rio From Screen” Allows the user to populate the RIO Output table directly from the Web page. Please note,that if the SRIO-01 is connected to the RIO network,any data coming from the RIO network will be ignored when this setting is active. Any data populated by the user on the We Screen,will be converted and scaled,before being sent to the Drive upon pressing of the “Apply” button,if sending data to the Drive is enabled in the “MB Test Mode” selection. “MB Test Mode” Allows the selection of the test mode settings related to Modbus Outputs table. The following selection are available on the Outputs pane “MB Test Mode” control: • Profile From RIO MB On • Profile From RIO MB Off • Profile From Screen MB On 40 Device Configuration “Profile From RIO MB On” Configures the device to populate the Modbus Output table with values received from the RIO Output table. This is a default setting for the device,which also allows sending the data over the Modbus link to the Drive. “Profile From RIO MB Off” Configures the device to populate the Modbus Output table with values received from the RIO Output table Just like the “Profile From RIO MB On” selection,except the data will never be sent to the Drive. This mode is very useful for troubleshooting the conversion and scaling process inside of the device without affecting the connected Drive. “Profile From Screen” Allows the user to populate the Modbus Output Table directly from the Web page and send data to the drive. If the SRIO-01 is connected to the same network as the Drive,those values will be immediately sent to the Drive when “Apply Button” is pressed. In this mode,it is possible to control the drive directly from the Web Screen Adapter Model 41 4 Adapter Model In order to correctly understand the next section,it is assumed that the user already has a good understanding of ABB Drive Profiles for the particular drive,as well as the communication adapter used with the drive. ABB Communication adapters FENA-01 and FENA-11 support Classic (Limited),Enhanced,Transparent 16 and Transparent 32 ABB Drive Profiles. ABB Communication adapter RETA-01 supports direct reading of driver parameters by mapping drivers Data Sets/Parameters to Modbus addresses. • The RETA-01 doesn’t convert drive’s data to continuous (from a MODBUS addressing point of view) Drive Profile. It means that the access method may be constrained to 3 Discretes,AD blocks and some type of messaging (ABB,1336 or 20Comm) for block transfer This section describes how to access the drive profile supported by FENA01/FENA-11 adapters using RIO communication and how to configure the SRIO-01 adapter to best suit your application. If you use SRIO-01 in Compatible mode,device will use ABB Enhanced profile and emulate Datalink discrete. Discretes and Addressable blocks are not available in Compatible mode. Please see description of Compatible mode. 42 Adapter Model Overview (continued) The SRIO-01 allows for very flexible configuration,but in most cases the basic configuration is usually enough to accomplish most of the tasks. It is important to plan how to configure the SRIO-01 device. Look at what particular drive profile to map to the RIO and what the RIO side of SRIO-01 should look like. Is there a need to emulate AB 1203/1336 or 20COMM-R,or just present itself as ABB Native RIO adapter? Question which building blocks to use,depending of the real time requirements of the particular network and network configuration constrains In order to achieve your performance goals,different adapters allow mapping multiple drives to one RIO rack. This functionality is only limited by the rack size. Reducing the number of the racks in a system reduces the scan time. Building Blocks SRIO-01 adapter supports several different ways of mapping ABB Drive Profiles to the RIO interface: • Fast Discrete I/O allows up to just 8 parameters to be read or written. To access other parameters,the SRIO-01 supports Addressable Discrete Blocks and Block Transfer. • The SRIO-01 supports different encapsulation methods of data in the RIO Block Transfer mechanism. Either Block Transfer option presents a very flexible way of operation,but limits the speed of data update. RIO allows only one Block Transfer per each scan period. To read or write a block data to 6 drives,6 RIO scan cycles are required for BT I/O and 12 for BT Messaging. Moreover,Block Transfer process increases RIO Scan Cycle time • As a compromise,the SRIO-01 supports Addressable Discrete operations,which allow you to access Drive data using the Modbus address (you may find it similar to the Data Link options in Allen-Bradley products). The Downside of this approach is that for each Addressable Discrete Block,two words are reserved in Rack I/O tables; one for Address and one for Data. It is important to decide which of three mechanisms will be used to deliver necessary data to satisfy your particular performance goals and will it be compatible with any existing PLC code you might have. Adapter Model 43 Building Blocks (continued) Below is an example of mapping ABB Enhanced Profile to a RIO Rack. In this case,Block Transfer is enabled,and therefore consumes the first line (slot) of the Rack Table – the Starting Slot. Three Discrete slots follow the Block Transfer,then two words represent the Addressable Discrete group. Total RIO image demands 6 words,therefore the Starting Slot may be set to 0 or 2 Profile Parameter Modbus Address Position in Rack Description 1 Drive Control 400001 Starting Slot BT Control 2 Drive Reference 1 400002 Starting Slot +2 Drive Reference 1 3 Drive Reference 2 400003 Starting Slot +3 Drive Reference 2 4 Data Out 1 400004 Starting Slot +4 Read or write Address 5 Data Out 2 400005 Starting Slot +5 Data to write 6 Data Out 3 400006 7 Data Out 4 400007 8 Data Out 5 400008 9 Data Out 6 400009 10 Data Out 7 400010 11 Data Out 8 400011 12 Data Out 9 400012 13 Data Out 10 400013 14 Data Out 11 400014 15 Data Out 12 400015 Drive Parameter Access 400101…429999 Data Available only by Block Transfer or Addressable Discrete Write Writable parameters accessible by Block Transfer or Addressable Discrete Write 44 Adapter Model Building Blocks (continued) Profile Parameter Modbus Address Position in Rack Description 1 Drive Status 400051 Starting Slot BT Control 2 Drive Actual 1 400052 Starting Slot +2 Drive Actual 1 3 Drive Actual 2 400053 Starting Slot +3 Drive Actual 2 4 Data In 1 400054 Starting Slot +4 Read Address 5 Data In 2 400055 Starting Slot +5 Read Data 6 Data In 3 400056 7 Data In 4 400057 8 Data In 5 400058 9 Data In 6 400059 10 Data In 7 400060 11 Data In 8 400061 12 Data In 9 400062 13 Data In 10 400063 14 Data In 11 400064 15 Data In 12 400065 Drive Parameter Access 400101…429999 Data Available only by Block Transfer or Addressable Discrete Write Readable parameters accessible by Block Transfer or Addressable Discrete Read The example above illustrates three building blocks that are necessary to configure the SRIO-01 adapter to best satisfy your needs. These building blocks are: • Block Transfer configuration • Discrete I/O mapping on Drive Profile • Addressable Discrete I/O If you choose to use any kind of Block Transfer,the necessary Block Transfer Control would occupy the first slot (word) in the drive image. The Discrete I/O is mapped to the first words of the Drive Profile. For example,if you choose two discrete words to be mapped,the first two words of the Drive Profile will be mapped to those discrete words. In the RIO I/O Image Table,these discrete words will be placed right behind the Block Transfer (starting slot) or from the starting slot,if Block Transfer is disabled. Adapter Model 45 Building Blocks (continued) Addressable Discrete I/O are pairs of {Address,Data}. When you select them,each pair consumes two words in the RIO Input and Output table. They are located right after the discrete words. The last Addressable Discrete group may be set to accept 32 bit data (two 16-bits words) {Address,Data LSW,Data MSW},in this case it consumes 3 words of RIO I/O Image Table. The order of allocation of three building blocks – Block Transfer,Discrete and Addressable Discrete illustrates on the following page: Order Group Description 1 Block Transfer Block Transfer Control,if BT enabled 2 Discrete 1 First discrete,mapped to first Drive Profile word … … Discrete,mapped on consecutive Drive Profile words 2 Discrete N Last discrete,mapped to Drive Profile word 3 Address 1 Place for Read or Write Address 3 Data 1 In Output Image – place to parameter write,in Input image table – parameter read 3 Address Place for Read or Write Address 3 Data N LSB In Output Image – place to parameter write,in Input image table – parameter read 3 Data N MSB If parameter for last Addressable Discrete is configured as 32-bit 46 Adapter Configuration [Page intentionally left blank] Adapter Configuration 47 5 Adapter Configuration 48 Adapter Configuration If you want to reuse parts of the PLC code written for AB 1203/1336 or 20-COMM-R adapters and you are using Block Transfer messaging and Data Link parameters,you may want to read the chapters below. They describe how to make the SRIO-01 adapter look like AB 1203,1336 or 20-COMM-R. If your application demands access to only a part of a Drive Profile(less than 8 words),it is advised to look at the examples at the end of this chapter. Block Transfer Style You may disable Block Transfer and save one word in the RIO Image Table or choose from four supported types of Block Transfer. ABB RIO Block Transfer ABB RIO Block Transfer is the most effective and simple way to perform block transfer operations. Every Block Transfer Read command will read the part of the selected Drive Profile image that is not mapped to Discrete I/O,according to Block Transfer Length. For Enhanced Drive Profile in the example below,Block Transfer Write of length N<13 will cause writing output BT Table to Drive Parameters from Data Out 1 to Data Out N. The same for Block Read command of length N<13 – it causes read Data In 1 to Data In N parameters to Input table. Adapter Configuration 49 ABB RIO Block Transfer (continued) An advantage of ABB RIO Block Transfer is that Read or Write operations demand only one block transfer operation. Block Transfer Messaging demands both RT Read and Write operations to read OR write parameters to Drive Profile. Profile Parameter Modbus Address Position in Rack BT Control 1 Drive Control 400001 Starting Slot Drive Control 2 Drive Reference 1 400002 Starting Slot +2 Drive Reference 1 3 Drive Reference 2 400003 Starting Slot +3 Drive Reference 2 4 Data Out 1 400004 Starting Slot +4 Read or write Address 5 Data Out 2 400005 Starting Slot +5 Data to write 6 Data Out 3 400006 7 Data Out 4 400007 8 Data Out 5 400008 9 Data Out 6 400009 10 Data Out 7 400010 11 Data Out 8 400011 12 Data Out 9 400012 13 Data Out 10 400013 14 Data Out 11 400014 15 Data Out 12 400015 Data Writable by Block Transfer From Data Out 1… of BT Length 50 Adapter Configuration ABB RIO Block Transfer (continued) Profile Parameter Modbus Address Position in Rack BT Control 1 Drive Status 400051 Starting Slot Drive Control 2 Drive Actual 1 400052 Starting Slot +2 Drive Actual 1 3 Drive Actual 2 400053 Starting Slot +3 Drive Actual 2 4 Data In 1 400054 Starting Slot +4 Read Address 5 Data In 2 400055 Starting Slot +5 Read Data 6 Data In 3 400056 7 Data In 4 400057 8 Data In 5 400058 9 Data In 6 400059 10 Data In 7 400060 11 Data In 8 400061 12 Data In 9 400062 13 Data In 10 400063 14 Data In 11 400064 15 Data In 12 400065 Data Readable by Block Transfer or From Data In 1… of BT Length A disadvantage of the ABB RIO Block Read is the ability to read only fixed parts of Drive Profiles. It is not able to access arbitrary Drive data. You cannot access parameters above certain addresses – 400015 and 400065 in a case of Enhanced profile,in this example. Adapter Configuration 51 ABB Block Transfer Messaging ABB Block Transfer Messaging provides a way to encapsulate additional custom messages into a standard RIO Block Transfer. The structure of encapsulated messages to and from the SRIO-01 adapter is found below: Word # MSB LSB LN - Message Length 1 Data 1 Data …. Data Data N Data N <= 60 CMD – Command Comment 0 Length and Command Message length is a length of whole message in 16-bit words,including header itself. The structure of all messages is presented in the table below. Error codes are described in Appendix A and are the same for all modes of Block Transfers. As can be seen from messages below ABB Block Transfer Messaging supports three types of data addressing – Single address,list of addresses and range of addresses. 52 Adapter Configuration ABB Block Transfer Messaging (continued) SRIO-01 supports the following messages in ABB Block Transfer Messaging mode: Command Data Read from Adapter 1 Address 2 16/32 bit Comment Read single parameter N Adr Scattered Parameters Read Resp 1 / 101 Address* if error Parameter Value/ Error code 2 16/32 bit N Adr Address 1 Address 2 … Address 1 Data 1 or Error Code … Address N Data N or Error Code Address N 3 Address 1 Address N Write to Adapter 11 Address 12 13 Data Read 3 / 103 range from if error Address 1 to (include) Address N Write single parameter Address 1* Address N* Data 1 … Data N 11/ 111 Address* if error Data 16 or 32 bit 16/32 bit N Adr Scattered 12 Parameters Write 0 or Error Code 16/32 bit N Adr Address 1 Data 1 … Address N Data N Address 1 0 or Error Code Address 1 Address N Data 1 … Data N Address N 0 or error code Read 13 / range from 113 if Address 1 error to (include) Address N Address 1* Address N* 0 or Error Code … 0 or Error Code Comment 16 – or 32 – bit parameter. Type of data – 0 – 16 bit,1 – 32 bit / Number of addresses Result of reading. If bit 15 of address is set – error,and data field is an error code. Data or error codes (if any error). If ok,returns 0. Anything else,an error code Type of data – 0 – 16 bit,1 – 32 bit / Number of addresses Result of reading. If bit 15 of address is set – error,and data field is an error code. Successfully written parameters,0. No success,error code. * If address >=20000 (420000 Modbus) – 32 bit parameters ** For scattered and range read data size of all elements must be the same – 16 or 32 bits. Adapter Configuration 53 ABB Block Transfer Messaging (continued) 16-bit Addresses used for messages are 6-digit Modbus addresses with truncated first “4” – 6-digit address “400061” represented by “61”. Modbus addresses for different profiles and profiles data can be found in “User’s Manual FENA–01/–11 Ethernet adapter module”,document en_fene01_11_um_a_ screenres.pdf. Some examples below: 16 bit Drive Parameter 3.18 will have Modbus address “400318” and “318” represents address for RIO purposes. 32-bit Drive Parameter 1.27 will have Modbus address “420254” and “20254” RIO address. The PLC,or adapter,knows that the parameter is 32-bit if the address is above 420000 Modbus or 20000 RIO. For valid ABB Modbus parameters address range (400001 to 429999) RIO address representation range is 1…29999 or 0x0000 to 0x752F in hexadecimal. Therefore,bit 15 is always “0”. Setting bit 15 to “1” (adding to address 0x8000) below in many cases indicates error. 54 Adapter Configuration Read Single Parameter Message has a structure below Word # MSB 0 2 - Message Length 1 Address LSB 1 – Command Comment Length and Command Address of 16 or 32 bit parameter Response has a format for 16-bit parameters Word # MSB 0 3 - Message Length 1 Address below 20000 2 16- bit data LSB 1 – Command Comment Length and Command Address of 16-bit parameter Data Or for 32-bit parameters Word # MSB LSB 0 4 - Message Length 1 – Command 1 Address between 20000 and 29999 2 32-bit Data LSW 3 32-bit Data MSW Comment Length and Command Address of 32-bit parameter Data Least Significant Word Data Most Significant Word In case of error Word # MSB 0 3 - Message Length 1 Address 3 Error Code LSB 101 – Command Comment Length and Command Address of 16 or 32 bit parameter Error Code Adapter Configuration 55 Write Single Parameter Message has a format for 16-bit parameters Word # MSB 0 3 - Message Length 1 Address below 20000 2 16- bit data LSB 11 – Command Comment Length and Command Address of 16-bit parameter Data Or for 32-bit parameters Word # MSB 0 3 - Message Length 1 Address below 20000 2 16- bit data LSB 11 – Command Comment Length and Command Address of 16-bit parameter Data Response has a format Word # 0 MSB 3 or 4 - Message Length 1 Address 2 0 3 0 LSB 11 – Command Comment Length and Command Address of 16 or 32 bit parameter Successful write Only for 32-bit parameter In case of error Word # MSB 0 3 - Message Length 1 Address 2 Error Code LSB 111 – Command Comment Length and Command Address of 16 or 32 bit parameter Error code 56 Adapter Configuration Scattered Parameters Read Message has a format Word # 0 MSB (N+2) Message Length 1 0 – 16 bit / 1 – 32 bit 2 Address 1 … … N+1 Address N LSB Comment 2 – Command Length and Command N – Number of Addresses Data size / Number of Addresses Address of 16 or 32 bit parameter Address of 16 or 32 bit parameter Address of 16 or 32 bit parameter Or for 16-bit parameters Word # 0 MSB (2N+2) Message Length 1 0 – 16 bit 2 Address 1 LSB 2 – Command Length and Command N – Number of Addresses 16-bit Data / Number of Addresses Address of 16 bit parameter Address + 0x8000 if error Parameter value or Error Code Address 1 + 0x8000 if error 3 … 2N 2N+1 16-bit Parameter 1 Error code if error … Address N Address N + 0x8000 if error 16-bit Parameter N Error code if error Comment Address of 16 bit parameter Address + 0x8000 if error Parameter value or Error Code Adapter Configuration 57 Scattered Parameters Read (continued) Response for 32-bit parameters Word # 0 MSB (3N+2) Message Length LSB 2 – Command Length and Command N – Number of Addresses 32-bit Data / Number of Addresses Address of 32 bit parameter Address + 0x8000 if error Parameter value or Error Code 1 1 – 32 bit 2 Address 1 Address 1 + 0x8000 if error 3 4 … 3N-1 3N 3N+1 Comment 32-bit Parameter 1 LSW Error code if error 32-bit Parameter 1 MSW 0 if error … Parameter value or 0 Address of 32 bit parameter Address + 0x8000 if error Parameter value or Error Code Address N Address N + 0x8000 if error 32-bit Parameter N LSW Error code if error 32-bit Parameter N MSW 0 if error Parameter value or 0 In case of the size of requested data exceed the RIO packet size,response message has a format Word # 0 1 2 MSB (3N+2) Message Length 0 – 16 bit 1 – 32 bit Error Code LSB Comment 102 – Error Length and Command N – Number of Addresses As in Command message Error code 58 Adapter Configuration Scattered Parameters Write Message for 16-bit parameters has format Word # 0 MSB (2N+2) Message Length 1 0 – 16 bit 2 Address 1 3 16-bit Parameter 1 … … 2N Address N 2N+1 16-bit Parameter N LSB Comment 12 – Command Length and Command N – Number of Addresses 16-bit Data / Number of Addresses Address of 16 bit parameter Parameter value Address of 16 bit parameter Parameter value Message for 32-bit parameters Word # 0 MSB (3N+2) Message Length LSB Comment 12 – Command Length and Command N – Number of Addresses 1 1 – 32 bit 2 Address 1 3 32-bit Parameter 1 LSW 32-bit Data / Number of Addresses Address of 32 bit parameter Parameter value 4 32-bit Parameter 1 MSW Parameter value … … 3N-1 Address N 3N 32-bit Parameter N LSW Address of 32 bit parameter Parameter value 3N+1 32-bit Parameter N MSW Parameter value Adapter Configuration 59 Scattered Parameters Write (continued) Response for 16 and 32 bit parameters has format Word # 0 MSB (2N+2) Message Length LSB 12 – Command Length and Command N – Number of Addresses 16-bit Data / Number of Addresses Address of 16 bit parameter Address + 0x8000 if error 1 0 – 16 bit 2 Address 1 Address 1 + 0x8000 if error 3 … Comment 0 Error code … 0 or Error Code 2N Address N Address N + 0x8000 if error 2N+1 0 Error code Address of 16 bit parameter Address + 0x8000 if error 0 or Error Code In case of the inconsistency as number of addresses more than allowed for message to be less than 63 words,response message has a format Word # 0 1 2 MSB (3N+2) Message Length 0 – 16 bit 1 – 32 bit Error Code LSB Comment 112 – Error Length and Command N – Number of Addresses Error code As in Command message 60 Adapter Configuration Read Range Message format Word # MSB 0 3 – Message Length 1 Address First 2 Address Last LSB 3 – Command Comment Length and Command First Address of 16 or 32 bit parameter Last Address of 16 or 32 bit parameter Response message for 16-bit parameters Word # 0 MSB N+1 – Message Length 1 Address First 2 Address Last 3 … N Parameter 1 … Parameter N LSB 3 – Command Comment Length and Command First Address of 16 parameter Last Address of 16 parameter Parameter value Parameter value Message length defines by number N of parameters to read as N = (Address Last – Address First +1). Adapter Configuration 61 Read Range (continued) Response message for 32-bit parameters Word # 0 MSB 2N+3 – Message Length LSB 3 – Command 1 Address First 2 Address Last 3 4 … 32-bit Parameter 1 LSW 32-bit Parameter 1 MSW 2N+1 2N+2 32-bit Parameter N LSW 32-bit Parameter N MSW Comment Length and Command First Address of 32 bit parameter Last Address of 32 bit parameter Parameter value Parameter value Parameter value Parameter value Parameter value Message length defines by number N of parameters to read as N = (Address Last – Address First +1). In case of error Word # MSB 0 4 - Message Length 1 Address First 2 Address Last 3 Error code LSB 103 – Command Comment Length and Command First Address of 16 or 32 bit parameter Last Address of 16 or 32 bit parameter Error code 62 Adapter Configuration Write Range Message format for 16-bit parameters Word # 0 MSB N+1 – Message Length 1 Address First 2 Address Last 3 … N Parameter 1 … Parameter N LSB 13 – Command Comment Length and Command First Address of 16 bit parameter Last Address of 16 bit parameter Parameter value Parameter value Message length defines by number N of parameters to read as N = (Address Last – Address First +1). Message format for 32-bit parameters Word # 0 MSB 2N+3 – Message Length LSB 13 – Command 1 Address First 2 Address Last 3 4 … 2N+1 2N+2 32-bit Parameter 1 LSW 32-bit Parameter 1 MSW 32-bit Parameter N LSW 32-bit Parameter N MSW Comment Length and Command First Address of 32 bit parameter Last Address of 32 bit parameter Parameter value Parameter value Parameter value Parameter value Parameter value Message length defines by number N of parameters to read as N = (Address Last – Address First +1). Adapter Configuration 63 Write Range (continued) Response for Range Write of 16 or 32 bit parameters Word # MSB 0 113 – Error 4 - Message Length 1 Address First 2 Address Last LSB 13 – Success Length and Command Comment Length and Command First Address of 32 bit parameter First Address of 16 or 32 bit parameter Last Address of 16 or 32 bit parameter 0– for success (Command 13) 0 or Error code Error code (Command 113) Error Messages Error messages as Unsupported Command have a format 3 Word # MSB 0 4 - Message Length 1 Error Code LSB 128 – Error Comment Length and Command Error code 64 Adapter Configuration AB 1203/1336 Block Transfer Allen-Bradley 1203/1336 Block Transfer style can be used to reduce changes to the existing PLC code. NOTE: that it is still possible that some PLC code adjustments might be necessary: Instead of the AB Driver Parameters Number,you should use ABB Modbus Addresses (truncated) for the ABB Drive Parameter that you are interested in. Some of the messages that Allen-Bradley drive adapters support are not supported because of the specifics and differences between ABB and AllenBradley drives. Supported messages: • Parameter Read Group of Messages • Parameter Write Group of Messages • Parameter Value Read/Write • Continues Parameter Value Read/Write • Scattered Parameter Value Read/Write • Unsupported messages: • Parameter Full Read and other specific Allen-Bradley Drive implementation – specific messages as: Warning Queue,Fault Queue,EE Memory Request and others. For supported Read/Write messages,only necessary changes will use ABB Modbus Addresses (truncated first “4”) instead of AB Drive Parameters. ABB MODBUS products use 6-digit Modbus Addresses such as 400061. For RIO addressing,the first “4” should be truncated and address “61” should be used. See addressing examples above for ABB Block Transfer Messaging. Modbus addresses for different profiles and profiles data can be found in “User’s Manual FENA–01/–11 Ethernet adapter module”,document en_fene01_11_ um_a_screenres.pdf. Adapter Configuration 65 AB 20-COMM-R Block Transfer Allen-Bradley 20-COMM-R style of Block Transfer is compatible with the AllenBradley 20COMM-R adapter. Block Transfer is performed on 18 words or less for read or write with data which starts from the beginning of the selected Drive Profile,as is mentioned in Allen-Bradley 20-COMM-R documentation. The only difference is that the data you will be working with will be mapped to the selected ABB drive profile and the meaning of the data in the profile will be different and depends from how you set up your ABB drive. A Block Transfer of 20,30 or 60 words means using message encapsulation,as described in 20-COMM-R adapter documentation. 66 Adapter Configuration Drives setting for compatibility mode ABB drive should be programmed to work with FENA-01/-11 adapter as it described in FENA manual en_fena01_11_um_a_screenres.pdf. All parameters described in FENA-01/-11 manual for used drive should be set as in examples in FENA manual. Exception – Extended Profile values Data In / Data Out should be set according necessity to be compliant with used A-B 1336 Plus II drive parameters. NOTE: FENA manual and ACS880 manual gives different settings for parameter 20.01 EXT1 commands to set it to Fieldbus A: 8 – according FENA manual 2 – according ACS880 Manual Differences and additional parameters settings are described below. Some of the settings below are redundant – i.e. they are already described in FENA01/11 manual. Drive Profile Drive should be programmed to use ABB Extended Profile (see FENA-01/-11 manual with instructions for each drive). All Datalink parameters which have analogues for ABB drives you use should be include in Drive Profile. First Datalink Out/In parameter should be mapped on DataOut1/DataIn 1 parameter in ABB profile. Example of mapping Datalink parameters to ABB Enhanced Profile 1336 PLUS II drive have had following mapping of Datalink parameters: Datalink Out parameter # RIO Scaling In parameter # RIO Scaling Datalink A1 Minimum Frequency 16 x10,Hz Freq Command 65 32767 = Maximum Frequency Datalink A2 Maximum Frequency 19 x10,Hz Adapter Configuration 67 Drive Profile (continued) Drive Profile therefore will be following: Out parameter # Modbus Scaling Bit In parameter # Modbus Scaling Bit Minimum Speed 30.11 X100,RPM 32 Speed ref unlimited 22.01 X100,RPM 32 Maximum Speed 30.12 X100,RPM 32 To properly determine scaling coefficient for output parameters – to convert properly RIO value to Drive parameter,take into account that when PLC sends through RIO value,say, 255 for Maximum speed it means according RIO scaling 255/10 = 25.5 Hz. Intention is to set Maximum speed to 25.5 Hz or 1530 RPM. From other side,to set 1530 RPM to ABB drive necessary to send value 1530*100=153,000 by Modbus to the drive. Therefore,to convert RIO value 255 to Modbus value 153,000 scaling coefficient should be Scaling = 153000/255 = (60 / 10) * 100 = 600 Providing same scaling for minimum speed,programming scaling = 600 to SRIO allows keeping PLC code from modification. For frequency command necessary to know Maximum frequency settings in 1336 drive. Say it is 30Hz. To convert ABB Speed unlimited from Modbus to Hz values it is necessary to divide Modbus value by 100 (Speed in RPM) and then by 60. Therefore,to convert Modbus reading to Hz,it is necessary to divide it by 100*60 = 6,000. Now value in Hz for this parameter should be scaled according to 1336 drive setting 32767 = 30 Hz. 68 Adapter Configuration Drive Profile (continued) As a result,to convert Modbus value to RIO value: RIO value = MODBUS value / ( 6,000 * 30 / 32767) Or scaling coefficient should be 6,000 * 30 / 32767 = 5.493332 Using Acceleration and Deceleration time set 1 Table below gives parameter index and value for different drives: Drive Parameter index Value ACS880 23.11 Ramp set selection 0 ACS355 22.01 0 ACS850 22.01 0 ACQ810 22.01 (check) 0 ACSM1 Not applicable. Supports only 1 set of Accel/Decel time N/A Using EXT2 command If you plan using Analog 1 and/or Analog 2 inputs as Reference,additional setting are necessary. SRIO-01 switches Analog References by using EXT2 (bit 11) of ABB Control Word. Therefore,drive should be set to allow using bit 11 of ABB Control Word for switching EXT1/EXT2. Drive should be programmed to use Adapter (Modbus reference) as speed reference when ABB Control Word bit 11 (EXT control) is set to “0” (EXT1). When ABB Control Word bit 11 (EXT control) is set to “1” (EXT2) drive should be programmed to use Reference 2 as a speed reference. EXT2 is used by SRIO for switching between Analog 1 and Analog 2. SRIO-01 will dynamically reprogram Reference 2 to be Analog 1 or Analog 2,depended of Reference selection by A-B Logic Control. Adapter Configuration 69 Using EXT2 command (continued) Necessary to set following parameters to selects the fieldbus A interface as the source of the start and stop commands for external control location 2: Drive Parameter index Value ACS880 20.06 EXT2 commands 12* Fieldbus A ACS355 10.02 EXT2 commands 10 COMM ACS850 10.02 EXT1 start in1 FB FBA ACQ810 10.02 EXT1 start in1 FB FBA ACSM1 10.04 EXT 2 start function 3 FBA *- According ACS880 manual. In FENA manual – 8 Drive Parameter index Value Description ACS880 22.14 Speed REF1/2 selection 2 Speed reference 1 is used when external control location EXT1 is active. Speed reference 2 is used when external control location EXT2 is active ACS355 ACS850 ACQ810 ACSM1 Drive Parameter index Value ACS880 19.11 EXT1/EXT2 sel 2 FBA A MCW bit 11 Control word bit 11 received through fieldbus interface A. ACS355 11.02 EXT1/EXT2 sel 8 Fieldbus interface as the source for EXT1/EXT2 selection,i.e. control word (with ABB drives profile 5319 EFB PAR 19 bit 11). The control word is sent by the fieldbus controller through the fieldbus adapter or embedded fieldbus (Modbus) to the drive ACS850 12.05 EXT2 ctrl mode 1 Speed control. The reference is taken from the source defined by parameter 21.02 Speed ref2 sel. ACQ810 12.05 EXT2 ctrl mode 1 Speed control. The reference is taken from the source defined by parameter 21.02 Speed ref2 sel. ACSM1 70 Adapter Configuration Block Transfer ABB RIO Block Transfer will read part of drive profile (DataIn and DataOut) starting immediately after defined by your DataLink mapping. SRIO-01 will process Block Transfer command by transferring part of the Profile above mapped to RIO rack. Number of transferred registers is defined by Block Transfer size. For the profile used above in example,ABB drive registers mapped on profile part Data Out 1… Data Out 4 are available as part of RIO Output table after conversion,parameters above Data Out 4 available by RIO Block Transfer Out. Similarly Data In 1 and Data In 2 (which are a 32-bit parameter) is accessible as a part of RIO rack. Registers mapped to Data In 3…Data In 12 are accessible by Block Transfer In. Adapter Configuration 71 ABB Enhanced Profile Output ABB Enhanced Profile Input MB Address Register Data Mapping MB Address Register Data Mapping 400001 Control Control word 400051 Status Drive Status 400002 Reference 1 Speed reference 400052 Actual 1 Actual Speed 400003 Reference 2 Not used 400053 Actual 2 Not used 400004 Data Out 1 Minimum Speed LSW 400054 Data In 1 Speed ref unlimited LSW 400005 Data Out 2 Minimum Speed MSW 400055 Data In 2 Speed ref unlimited MSW 400006 Data Out 3 Maximum Speed LSW 400056 Data In 3 400007 Data Out 4 Maximum Speed MSW 400057 Data In 4 400008 Data Out 5 400058 Data In 5 400009 Data Out 6 400059 Data In 6 400010 Data Out 7 400060 Data In 7 400011 Data Out 8 400061 Data In 8 400012 Data Out 9 400062 Data In 9 400013 Data Out 10 400063 Data In 10 400014 Data Out 11 400064 Data In 11 400015 Data Out 12 400065 Data In 12 Registers mapped here available by Block Write Registers mapped here available by Block Read 72 Index Symbols 16-bit........................... 36,45,54,55,56, 58,59,60,62,63 32-bit........................... 23,35,36,45,54, 55,57,58,59,61, 62,63 A ABlock(s)...................................... 23,24 Acceleration................................. 33,68 ACS355....................................... 68,69 ACS850....................................... 68,69 ACS880.................................. 66,68,69 ACSM1........................................ 68,69 Adapter(s)..................... 12,19,20,21,22, 24,27,30,33,34, 41,42,44,47,48, 51,53,64,65,66,68 Addressable Discrete Blocks........ 23,42 Alias.................................................. 20 Analog.......................................... 66,68 Analog 1....................................... 34,68 Analog 2....................................... 34,68 Apply................... 15,18,31,32,38,39,40 B Block Read ............................. 48,50,71 Block Transfer................. 7,19,22,27,41, 42,43,44,45,48, 49,50,51,52,53, 64,65,70 Browser........................................ 12,16 C Cabling................................................ 9 Compatibility...................... 17,18,27,31, 32,37,66 Configuration...................... 7,8,9,12,13, 17,18,19,26,27, 29,31,32,42,44,47 Connector(s................................. 8,9,12 Control.............................. 20,25,27,30, 32,34,37,38,39, 40,44,68,69 Convert......................... 38,39,41,67,68 D Data............................... 20,23,24,35,37, 39,40,41,42,45, 50,51,53,64,65,70 DataIn,Data In............................ 48,66,70 Datalink,Data Link..................... 24,30,35, 42,48,66,70 DataOut,Data Out...................... 48,66,70 Deceleration................................... 33,68 Default............................. 12,15,27,39,40 Device.................................. 7,8,9,12,13, 14,15,16,17,18, 19,20,21,26,27, 29,31,32,35,36, 37,38,39,40,41,42 DHCP.................................................. 15 Discrete I/O..................... 22,42,44,45,48 Discrete Words.......................... 22,44,45 Drive(s)............................. 7,17,18,19,20, 21,22,23,24,26, 27,30,31,32,33, 34,35,36,37,38, 39,40,41,42,43, 44,45,48,49,50, 53,64,65,66,67, 68,69,70,71 DWords............................................... 22 E Emulate................................ 19,27,41,42 Error............................... 49,51,52,54,55, 56,57,59,61,62,63 Ethernet........................... 7,8,9,12,53,64 EXT..................................................... 68 EXT1......................................... 66,68,69 EXT2.............................................. 68,69 F Fast Discrete.................................. 22,42 FENA.......................... 35,41,53,64,66,69 Firmware..................................... 7,14,16 Format......... 54,55,56,57,58,59,60,62,63 Frequency.................. 27,33,34,35,66,67 Index G Gateway................................ 7,8,12,15 Grounding.......................................... 9 H Hardware............................................ 8 Home Page...................................... 14 I Interface........................ 7,12,13,17,19, 24,36,42,69 IP Address.............................. 12,15,21 L Length.................... 48,49,50,51,54,55, 56,57,58,59,60, 61,62,63 Logic................................. 27,32,34,68 log-in........................................... 13,14 M Maximum....................... 8,33,66,67,71 MB Test Mode............................. 38,39 Messaging................... 19,41,42,48,49, 51,52,53,64 Minimum................................ 66,67,71 MODBUS.................... 17,20,21,35,37, 38,39,40,41,64 Modbus Address(es).... 23,24,41,42,43, 44,49,50,53,64 Modbus RTU............................ 7,17,36 Mode(s)....................... 17,18,19,27,31, 32,33,35,37,38, 39,40,41,51,52, 66,69 Monitor 37,38 N Network....................... 7,8,9,12,15,16, 21,38,39,40,42 P Packet......................................... 36,57 Parameter(s)................ 22,23,24,27,33, 34,35,36,37,41, 42,43,44,45,48, 49,50,52,53,54, 55,56,57,58,59, 60,61,62,63,64, 66,67,68,69,70 Por............................................. 7,9,12 Power.................................... 8,9,12,33 Preset.......................................... 34,35 Profile............................ 7,21,22,23,35, 38,39,40,41,42, 43,44,45,48,49, 50,65,66,67,68, 69,70,71 R Rack......................... 7,19,21,22,25,26, 31,37,42,43,44, 49,50,70 Ramp.......................................... 32,68 Read............................. 7,22,24,35,42, 43,44,45,48,49, 50,52,54,56,57, 60,61,62,64,65, 70,71 Reference.................... 27,30,33,34,43, 49,68,69,71 Register............................................ 71 Remote I/O................................. 7,9,27 Reset Button.................................... 13 RIO.................................... 7,8,9,17,19, 21,22,23,24,26, 27,30,31,33,35, 36,37,38,39,40, 41,42,43,44,45, 48,49,50,51,53, 57,64,66,67,68,70 RS232............................................. 7,9 RS485........................................... 7,17 73 74 Index S Scaling...................33,35,36,40,66,67,68 Settings...........................12,15,16,23,26, 31,32,34,38,39, 66,67 Size...............................7,42,52,56,57,70 Slot....................22,25,26,31,43,44,49,50 SRIO-01................................7,8,9,12,15, 17,18,19,20,21, 27,35,38,39,40, 41,42,44,48,51, 52,68,70 Starting Slot......................22,43,44,49,50 Statistics.......................................7,36,37 Status..........................27,36,37,44,50,71 Stop................................................32,69 Subnet Mask........................................15 T Tab..........14,15,16,17,18,31,32,36,37,38 Table(s)............................21,22,23,24,26, 30,31,37,38,39, 40,42,43,44,45, 48,51,68,70 Terminal..................................................8 U Upgrade(s).........................................7,16 V Validation...............................17,25,26,31 W Web....................7,12,13,16,24,38,39,40 Write..................................7,24,35,42,43, 44,45,48,49,52, 55,58,59,62,63, 64,65,71 Index 75 3AUA0000158980 REVA 08/01/2014 Subject to change without notice. All Rights Reserved. ABB Inc. Discrete Automation & Motion Drives and Controls 16250 W. Glendale Drive New Berlin, WI 53151 Ph: 800-752-0696 Fx: 262-785-0397
© Copyright 2024