background image

 

Real Time Automation, Inc. 

27 

1-800-249-1612 

 

 

 

 

 

Auto-Configure Group by Device vs. Auto-Configure Group by Data 
Type 

There are two different methods for Auto-Configure: Group by Device or Group by Data Type.   

There are a couple of rules to keep in mind when using Auto-Configure Mode: 

1)

 

If the other protocol inside the gateway is a server, slave, or adapter protocol, then there are no 
differences between the Auto-Configure Modes. 

Group by Device (Default Method) 

Group by Device goes through the other protocol on the gateway and auto-configures the data groups 

in the PROIBUS slave for all the data points on the other protocol’s first device. After it finishes with the 

first device, it will auto-configure all the points for the second device (if one is configured), and so on.   

The data in this method is not optimized- there could potentially be a lot of wasted/unused data space, 

but it will be organized more logically from the master/client’s point of view.

 

Group by Data Type 

Group by Data Type goes through the other protocol on the gateway and auto-configures the data 
groups in the PROFIBUS slave for all the data points within the other protocol.   

Another way to view this option is to say that the data points allocated are packed together so there is 
very little wasted data space. The data is packed or optimized. 

Example

:

 

Protocol A is a master/client protocol that has 2 devices with the same setup:

 

Device_1 has 1 integer scan line, 1 float scan line, 1 integer scan line- each for 1 point of data 
Device_2 has 1 integer scan line, 1 float scan line, 1 integer scan line- each for 1 point of data 

Protocol B is a server/slave/adapter protocol that can be mapped as follows: 

Group by Device - 

Protocol B will have 4 scan lines that will look like the following: Scan Line 1 and 2 will 

represent Device_1 and Scan Line 3 and 4 will represent Device_2. 

Scan Line 1 => Type Integer, length of 2 
Scan Line 2 => Type Float, length of 1 
Scan Line 3 => Type Integer, length of 2 
Scan Line 4 => Type Float, length of 1 
 

Group by Data Type - 

Protocol B will have 2 scan lines that will look like the following: All like data types 

from Device_1 and Device_2 will be combined.  

Scan Line 1 => Type Integer, length of 4 
Scan Line 2 => Type Float, length of 2

 

 

 

Summary of Contents for 460MSPBS-N70PB

Page 1: ...Real Time Automation Inc 1 1 800 249 1612 Firmware Version 8 7 22 460MSPBS N70PB Protocol Gateway Product User Guide...

Page 2: ...ion or limitation of incidental or consequential damages therefore the limitations set forth in this agreement may not apply to you No patent liability is assumed by Real Time Automation with respect...

Page 3: ...Data Type 20 Group by Device Default Method 20 Group by Data Type 20 Modbus TCP IP Server Data Group Configuration Auto Configure 21 Modbus TCP IP Server Data Group Configuration Manual Mode 22 Config...

Page 4: ...iggering Data Validiation Triggering 55 Security Configuration 57 Security Configuration Security Levels 58 Security Log In 59 Security Log Out 59 Email Configuration 60 Alarm Configuration 61 Diagnos...

Page 5: ...Real Time Automation Inc 5 1 800 249 1612 Utilities 75...

Page 6: ...7 4 9 1 20 Features Added 1 BMS BM DFM DS DM TCP USB PBS have been ported to the latest base software 2 TCP BMS BM now Available on N2E and N2EW hardware Platform 3 New ASCII Mode Available on TCP A U...

Page 7: ...ure the 460MSPBS N70PB gateway For further customization and advanced use please reference the appendices located on the CD or online at http www rtautomation com product 460 gateway support If at any...

Page 8: ...h as LEDs For these sections be sure to identify the hardware platform you are using To find which hardware platform you are using 1 Look on the front or back label of the unit for the part number 2 O...

Page 9: ...c 9 1 800 249 1612 Hardware N70PB Powering the Gateway 1 Connect a 12 24 VDC power source to the gateway a Use Barrel Connector with Center Outer Shell OR b 2 Pin Terminal power connection with Red Wi...

Page 10: ...ters These settings must match the settings of the device s that you are connecting to When you have completed your port configuration click the Save Parameters button Note The PROFIBUS port is NOT co...

Page 11: ...under the DIN Rail 3 While pressing the 460MSPBS N70PB against the rail press up to engage the spring loaded lower clip and rotate the unit parallel to the DIN Rail 4 Release upward pressure Removing...

Page 12: ...ogram from the CD ROM 3 Find unit under Select a Unit a Change Gateway s IP address to match that of your PC if DHCP has failed i You will know DHCP has failed if the gateway s IP address is AutoIP at...

Page 13: ...fault Gateway 2 The gateway must be on the same Network Subnet as the PC whether it s setup for DHCP or Static Once you have both devices on the same network you should be able to ping the gateway usi...

Page 14: ...ed after every change Multiple changes can be made before a restart but they will not be committed until the gateway is restarted When all desired changes have been made press the Restart Now button T...

Page 15: ...led Configuration cannot be changed during Running Mode If changes are needed click the Configuration Mode button shown in the green box below Configuring Mode Protocol communication is stopped and no...

Page 16: ...ice Configuration The device configuration area is where you assign the device description parameter Changes can only be made when the gateway is in Configuration Mode Once you are done configuring th...

Page 17: ...Once you are done configuring the Network Settings click the Save Parameters button If you are changing the IP Address of the gateway the change will not take effect until the unit has been rebooted...

Page 18: ...listen on Default for Modbus TCP IP is 502 4 Inactivity Timeout Amount of time the gateway will wait for a read write request before issuing a timeout 5 To enable data swapping select the required Sw...

Page 19: ...gure up to 100 data groups for both the read and write There are three ways to configure this protocol 1 Auto Configure Group by Device Default 2 Auto Configure Group by Data Type 3 Manual Mode NOTE Y...

Page 20: ...other protocol on the gateway and auto configures the data groups in the Modbus TCP IP server for all the data points within the other protocol Another way to view this option is to say that the data...

Page 21: ...whenever possible 4 Any 64 Bit Signed Unsigned data will be mapped as 4x Hold Reg 64 Bit Int or 64 Bit Uint matching signs whenever possible 5 Any 32 Bit Float will be mapped as 4x Hold Reg 32 Bit Fl...

Page 22: ...Once OK is clicked there are two options for how to proceed 3 To keep the data groups that are already configured press OK a You would want this option if you are adding additional data groups or you...

Page 23: ...them a String Point Type If the mating protocol supports strings you may select string as a point type in Modbus With this point type 2 characters will be packed into a single register and the first...

Page 24: ...he gateway 2 Enter a unique Slave Address for the device on the network Note To properly set communication to the PROFIBUS controller you will need to install the GSD file provided on the CD that was...

Page 25: ...urable Options include 2 4 8 16 24 and 32 bytes 3 Data Format sets the formatting of the data Automap will use this packing size to map data to from the other protocol There are two ways to configure...

Page 26: ...Uint matching signs whenever possible 5 Any 32 Bit Float will be mapped as 32 Bit Float 6 Any 64 Bit Float will be mapped as 64 Bit Float 7 Any Strings will be mapped as Short String 8 Any coils or 1...

Page 27: ...other protocol on the gateway and auto configures the data groups in the PROFIBUS slave for all the data points within the other protocol Another way to view this option is to say that the data points...

Page 28: ...dditional data slots or you want to modify the data slot s that already exist 5 To delete the data slots that are already there and start over press Cancel 6 Input Slots Select the data size in bytes...

Page 29: ...the following example in your controller 1 In your project click the CPU and you should see the Hardware option in the right pane Double click on the Hardware icon 2 In your project click the CPU and...

Page 30: ...GSD file 6 Select the GSD file from the box and click Install 7 When prompted to confirm installation because it cannot be undone click Yes 8 Click OK acknowledging that the install was successful 9 I...

Page 31: ...0 249 1612 10 Once found drag the Standard icon into the network line you created in Step 9 11 Double click the gateway icon to open the properties window Be sure setup the Slave address that will mat...

Page 32: ...uration in the 460 gateway add one 8 byte input module one 32 byte input module and one 32 byte output module to your device configuration 13 To configure the PLC to match the 460 gateway you will nee...

Page 33: ...tal This is how you would set up the following example in your controller 14 In your project click the Device View tab and click your PROFIBUS card 15 IF YOU HAVE ALREADY INSTALLED THE GSD FILE SKIP T...

Page 34: ...hipped with the gateway or download file from our website and save off the GSD file to your desktop 17 Click and browse to where you saved the GSD file 18 Check the box to the left of the imported pat...

Page 35: ...side of the screen under the Hardware catalog and you will see the RTA profile under Other field devices PROFIBUS DP General Real Time Automation profichip Real Time Automation 4 460xxPBS 460xxPBS 22...

Page 36: ...ess that will match the 460PBS configuration page 26 To configure the PLC to match the RTA gateway you will need to utilize 3 slots in your PLC NOTE When using a Short String Data Type the 1st byte of...

Page 37: ...ters button is clicked a message will appear on how many slots to configure in your controller Because PROFIBUS doesn t care about the ordering you can assign in your controller anyway so as long ther...

Page 38: ...eway will automatically take the string data type from one protocol and map it into the other See String Auto Configure section for more details Option 3 Manual Configure Mappings If you don t want to...

Page 39: ...isplay Data button to view how the data is mapped and what the values of each mapping are Here you will see how each data point excluding strings is mapped To view select the device from the dropdown...

Page 40: ...3 on BACnet NOTE If a data point is mapped twice only the first instance of it will show here EX If Modbus 400001 400040 from Slave 1 are both mapped to AI1 only 400001 will show as being mapped to AI...

Page 41: ...iew the actual data mappings click the Edit Mapping button For more details see the Data Mapping Explanation section To view the data mappings purely as text click the View as Text button For more det...

Page 42: ...ps from a string click the dropdown menu to generate the information regarding that device The string data will be displayed in both Hex and ASCII only the ASCII data is sent The example below shows d...

Page 43: ...Info drop down and navigating to ASCII Diagnostics page You will also have to select the port you want to view in the dropdown below ASCII To view the string mappings click the Edit Mapping button Fo...

Page 44: ...on would look like my example below There are more detailed examples of what all the fields represent in the ASCII Parsing section The message is broken up into 3 Groups or Parsing fields To view the...

Page 45: ...ata type If the Auto Configure function does not map the data as you want or you want to add modify the mappings you may do so by going into Manual Configure mode The following are examples of the Aut...

Page 46: ...then only 1 operation is allowed c Select the Operation s to perform i Math Operations are performed in the order they are selected ii If more than one point is selected on the source the Math Operat...

Page 47: ...ase In this example Ram0 is scaled into Ram1 Ram1 is then increased by 5 and stored into Ram2 Ram0 and Ram2 could be considered a source or destination group 2 Temporary Ram Double a This is like the...

Page 48: ...ys to map the NetBmpStat Option 1 Map the whole 32bit value to a destination Example below shows the NetBmpStat is going to an Analog BACnet object Using a connection of 5 Modbus Slave devices AI1 wil...

Page 49: ...ult 0x80 7 128 nonrecoverable fault For this example the ETC Status is mapped to a PLC tag called PLC_Status Example ETC Status is 0x00000013 19 decimal here is the break down Hex Bit Decimal Explanat...

Page 50: ...e fault config err 0x10 28 268 435 456 Configuration Mode 0x20 29 536 870 912 No Ethernet Cable Plugged In For this example the MC Status is mapped to a PLC tag called MC_Status Example MC Status is 0...

Page 51: ...string 1 Enable red box above Check to enable mapping If not checked this mapping is skipped 2 Source Field yellow box above a Group Select the string data group you set up in the protocol config to...

Page 52: ...ual Configure Mode or click Cancel to remain in Auto Configure Mappings Mode Once OK is clicked there are 2 options on how to proceed from here 1 To keep the mappings that are already configured press...

Page 53: ...op of the Mapping Configuration page and select Auto Configure Mappings Click OK to proceed to delete all current mappings and go back to Auto Configure Mappings Mode Click Cancel to keep all mappings...

Page 54: ...at register 1 and want to see if 400011 is mapped If it is not in this text box then it is not mapped and no data will be transferred This is the text display for the example shown under the Data Mapp...

Page 55: ...ake value is set equal to Trigger value 5 Map Handshake to reference data point Note is an internal reference to the Server Slave number you are settings up ex RTA Server Slave products can only be Tr...

Page 56: ...ppings 4 The first mapping is going to be the Data Validation Triggering AO21 will write to the RTA MC Trigger 1 will mark data invalid 5 The second mapping the MC Handshake will increment that all da...

Page 57: ...ax of 32 characters case sensitive a Re enter the Password 4 E mail In case the password was forgotten a user can have their password e mailed to them if e mail was configured 5 Hint A helpful reminde...

Page 58: ...can have a separate security level associated with it for each user Security Levels 1 Full Access Capability to view and configure a web page 2 View Access Capability to view a web page but cannot co...

Page 59: ...word This is used to reset security settings Confirm reset password must be selected to confirm this action Once confirmed there is a 15 minute window to do a hard reset of the gateway by physically r...

Page 60: ...use 2 SMTP Mail Password If authentication is required enter the SMTP Server s password Optional 3 SMTP Server Enter the Name of the SMTP Server or the IP Address of the Server 4 From E mail Enter th...

Page 61: ...ction a Top dropdown select the Data Group This dropdown menu will contain all groups that go from the gateway to the network b Lower dropdown select the Data Point s Specific Point This is used to se...

Page 62: ...he Clear Error Value Ex Ticks Since Powerup 5000 This will clear the alarm after 5000 ticks have elapsed since the unit powered up 6 Enter an Alarm Name This will make the alarm unique and will be ava...

Page 63: ...m 7 Status The current status of the alarm either OK or ALARM 8 of Times Active This count represents the number of times this alarm has become active If an alarm is triggered this count will incremen...

Page 64: ...hen an alarm is cleared the following will occur 1 A one time notification will be sent to the email associated with the alarm a For duplicate emails to occur the alarm must become active and then be...

Page 65: ...his is to be used to prevent jitter Default value is 0ms This timer takes priority over the Stale Data Timer There is a separate timer per data mapping This timer is active only after the first write...

Page 66: ...larm that was active Common Errors 1 Destination or Source Point does not exist a Solution Re map the mapping 2 Source or Destination Pointer too small a There is not enough space on either the Source...

Page 67: ...dbus TCP IP Server section of the gateway Device Status 1 Connected A Modbus TCP IP client has a connection for the gateway 2 Not Connected a Ethernet Cable not plugged in b The Modbus TCP IP client h...

Page 68: ...e Register Modbus Function Code 6 Number of Write Holding Register requests received 7 FC15 Force Multiple Coils Modbus Function Code 15 Number of Write Multiple Coil Status requests received 8 FC16 P...

Page 69: ...rn all values displayed to 0 2 If Viewing PROFIBUS Slave this will only clear the values for the PROFIBUS Slave section of the gateway Device Status 1 Connected The gateway is connected to the PROFIBU...

Page 70: ...st a connection to the gateway b The Profibus cable is not plugged in Aux LED Status near green serial connector 1 Green ON when serial data is being transmitted by the gateway 2 Yellow ON when serial...

Page 71: ...col is a master client you may set the LED to represent either all slaves servers configured in the gateway or a slave server device To select a slave server device 1 Select the protocol in the left d...

Page 72: ...her device into the 460 gateway whenever it is in Configuration Mode Upon clicking the Choose File button you will be prompted to select a location from which to load the saved file Once the location...

Page 73: ...tered an error while trying to load the saved configuration the gateway will indicate the first error it found and a brief description about it under the Load Configuration button Contact RTA Support...

Page 74: ...y you wish to copy the configuration from 2 Power up the gateway you wish to copy the configuration to DO NOT INSERT SD CARD YET 3 Navigate to the webpage inside the unit 4 Navigate to the dropdown Ot...

Page 75: ...tored in the Flash File System within the gateway Identify your device by clicking the Start Flashing LEDs button By clicking this button the two diagnostic LEDs will flash red and green Once you have...

Reviews: