background image

 

Real Time Automation, Inc. 

20 

1-800-249-1612 

 

Configuring Read Scan Lines 

Follow these steps to manually configure Read Scan Lines.  

1)

 

Select 

View Read Scan Lines

 if not already selected.  

2)

 

Select a Point Type for each Scan Line. Options include: Coil Status, Input Status, Input Registers, 
and Holding Registers. 

Note

: Input/Holding Registers also have a data type associated with 

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 register will be set aside for the length. 

EX: 4x Hold Reg (String) with a Starting Address of 1 for a length of 5 Registers 

This means that Register 1 will hold the length of the string and Registers 2-5 will hold 
the string contents. This string can contain a max of 8 characters. 

3)

 

Enter a Starting Address (This will be 1 based if 

Enable 0-Base Addressing

 is unchecked, or 0 

based if checked). 

4)

 

Enter the # of consecutive points to read for that point/data type. See the 

Scan Line Data Limit 

section at the bottom of the webpage for max values in a scan line. 

 

 

 

Summary of Contents for 460MMBS-NNA1

Page 1: ...Real Time Automation Inc 1 1 800 249 1612 Firmware Version 6 3 4 460MMBS NNA1 Protocol Gateway Product User Guide ...

Page 2: ...sion 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 to use of information circuits equipment or software described in this manual Government End Users If this software is acquired by or on behalf of a unit or agency of the United States Government thi...

Page 3: ...Read Scan Lines 20 Configuring Write Scan Lines 21 Configuring Read and Write Scan Lines cont 22 BACnet IP Server Configuration 23 BACnet IP Server Configuration Data Groups 24 BACnet IP Server Configuration Auto Configure Mode Default 25 BACnet IP Server Configuration Manual Configure Mode 26 BACnet IP Server Object Configuration Analog Objects 27 BACnet IP Server Object Configuration Binary Obje...

Page 4: ...uration Security Levels 46 Security Log In 47 Security Log Out 47 Email Configuration 48 Alarm Configuration 49 Diagnostics Alarm Status 51 Alarms Active 51 Alarms Clear 52 Change of State COS Configuration 53 Diagnostics Info 54 Diagnostics Data and String Mapping 54 Diagnostics Modbus RTU Master 55 Diagnostics BACnet IP Server 59 LED Configuration 62 Configuration Files 63 Export Configuration 6...

Page 5: ...de webpage will display actual IP address rather than 0 0 0 0 Bug Fixes 1 Improved dataype range checking 6 1 5 2 20 18 Features Added 1 WI Protocol Added Bug Fixes 1 ETC Dependency Protocol faulted dropdown menu display 6 1 15 5 2 18 Features Added 1 Released MC Protocol on N2E Hardware 2 Released MM Protocol on N2E Hardware 3 Released MS Protocol on N2E Hardware 4 Released MRS Protocol on N2E Ha...

Page 6: ...gure the 460MMBS NNA1 gateway For further customization and advanced use please reference the appendices located on the CD or online at http www rtaautomation com product 460 gateway support If at any time you need further assistance do not hesitate to call Real Time Automation support Support Hours are Monday Friday 8am 5pm CST Toll free 1 800 249 1612 Email support rtaautomation com ...

Page 7: ...ch 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 On the webpage inside the gateway navigate to the dropdown menu under Other and select Utilities Click the Listing of Revisions button The full part number is displayed here Once you have the full par...

Page 8: ...Real Time Automation Inc 8 1 800 249 1612 Hardware NNA1 Powering the Gateway An 8 24 VDC power source to the gateway Red Wire Black Wire a The unit draws 175mA 12V ...

Page 9: ... port specific parameters These settings must match the settings of the device s that you are connecting to Only 1 mode can be configured for this hardware Below are the wiring pinouts for each mode When you have completed your port configuration click the Save Parameters button RS232 pinouts RS485 pinouts ...

Page 10: ...ge under the DIN Rail 3 While pressing the 460MMBS NNA1 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 Follow these steps to remove your interface converter 1 Press up on unit to engage the spring loaded lower clip 2 Swing top of the unit away from DIN Rail DIN Rail Spring Loaded Lower Clip ...

Page 11: ...ddress 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 169 254 X Y ii If successful it will say DHCP d at ex 192 168 0 100 or however your DCHP Client is set up b If you do not see the gateway in this tool then your PC is most likely set up as a static IP i Change your PC s network settings to be DHCP If DHCP fails then it will c...

Page 12: ...efault 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 using a MS DOS Command Prompt The Screenshot above shows a gateway that is currently set to a static IP Address of 192 168 0 100 If you are able to successfully ping your gateway open a browser and try ...

Page 13: ...es 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 The webpage will redirect to our rebooting page shown below The reboot can take up to 20 seconds You will know the save was successful if the red box is no longer present o If the IP address has not been modified the gateway will automat...

Page 14: ...bled 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 data is transmitted Configuration is allowed Navigation green box below You can easily switch between modes and navigate between pages Configuration Diagnostics and Other pages using the buttons on ...

Page 15: ...vice Configuration The device configuration area is where you assign the device description paramter Changes can only be made when the gateway is in Configuration Mode Once you are done configuring the Description click the Save Parameters button ...

Page 16: ...e Once you are done configuringthe 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 After reboot you must enter the new IP Address into the URL It is recommended to leave the DNS Gateway set to 0 0 0 0 and the Ethernet Link as Auto Negotiate If configuring the gateway to use E mail t...

Page 17: ...tion page If it has not yet been configured it will display Disabled after the Port descriptions in this dropdown 2 Delay Between Messages Enter the length of time to delay between read and write scan line requests ms 3 Response Timeout Enter the amount of time the gateway should wait before a timeout is issued for a read write request ms 4 Dependency Protocol If enabled Modbus RTU Master communic...

Page 18: ...from another slave click the Select dropdown and select the Add from Modbus RTU X option where X represents the slave you wish to copy parameters from Once created you can make any additional changes needed to that new slave 2 The Enable check box should be selected for the device 3 Enter a Device Label to identify the device within the gateway 4 Enter a unique Modbus RTU Slave Address for the dev...

Page 19: ...is if your Modbus device is also using ASCII messaging By default the device will use Modbus RTU 9 To enable data swapping select the required Swap Indicator If the bytes appear in the wrong order enable swapping to change the data This swapping does NOT change Coils and their ordering inside the Bit Pack 10 Enter the number of Read Scan Lines and Write Scan Lines 11 Click the Generate Scan Lines ...

Page 20: ... a point type in Modbus With this point type 2 characters will be packed into a single register and the first register will be set aside for the length EX 4x Hold Reg String with a Starting Address of 1 for a length of 5 Registers This means that Register 1 will hold the length of the string and Registers 2 5 will hold the string contents This string can contain a max of 8 characters 3 Enter a Sta...

Page 21: ...bus With this point type 2 characters will be packed into a single register and the first register will be set aside for the length EX 4x Hold Reg String with a Starting Address of 1 for a length of 5 Registers This means that Register 1 will hold the length of the string and Registers 2 5 will hold the string contents This string can contain a max of 8 characters 3 Enter a Starting Address This w...

Page 22: ... button Below is the Scan Line Data Limit for each Point Type and the max Length Range associated with them Note If the first address of the Modbus RTU Slave device starts at 0 Register Coil starting addresses can be found in the Modbus RTU Slave s documentation be sure to check the Enable 0 Base Addressing box in the gateway to ensure proper communication If improperly configured expected address...

Page 23: ...dentifier for the gateway This value must be unique on the BACnet IP network 5 Inactivity Timeout Enter the amount of time in milliseconds the gateway should wait before a timeout state is declared If the BACnet IP Client does not initiate communication within this time frame the BACnet IP LED will flash red and the timeout counter will increment Enter zero to disable this feature 6 Enter a Name D...

Page 24: ...roup by Data Type Default Manual Configure Mode NOTE You may go back and forth between modes but when reverting from Manual Configure Mode to Auto Configure Mode all changes made in Manual Mode will be discarded The setup in the example above will give you the following results 1 AI is created with the address of AI1 8 BIs are created with the addresses BI1 through BI8 500 AOs are created with the...

Page 25: ... Float data will be mapped as Analog Objects Any Coils or 1 8 16 32 Bit Binary Packs will be mapped as Binary Objects Any String Data Types will be mapped as CharacterString Value Objects The Input or Output Object direction depends on whether it is configured as a Read or Write on the other protocol If the other protocol exceeds the number of Analog Binary or CharacterString Value Objects the BAC...

Page 26: ...Object Properties includes any default Object Names Units and COV that are already configured press OK You would want this option if you are adding additional data groups or you want to modify the data group s that already exist ii To delete the current Data Groups and Object Properties includes any default Object Names Units and COV that are already there and start over press Cancel 2 For each ob...

Page 27: ...n menu 2 Select a Group to use These group names are defined on this page under the Group Name dropdown menu 3 Enter a Name to identify this object on the network The combination of Group and Name should be unique for each point in the gateway 4 Select the Unit Category corresponding to the units you want this object to be identified with optional Then select the Unit from the dropdown menu 5 Set ...

Page 28: ...ice When in Auto Configure Mode these fields are not configurable Follow these steps to configure Binary Inputs or Outputs in Manual Configure Mode 1 Select Binary Input or Binary Output from the upper left dropdown menu 2 Select a Group to use These group names are defined on this page under the Group Name dropdown menu 3 Enter a Name to identify this object on the network The combination of Grou...

Page 29: ...uto Configure Mode these fields are not configurable Follow these steps to configure CharacterString Value Reads and Writes in Manual Configure Mode 1 Select CharacterString Value Read or CharacterString Value Write from the upper left dropdown menu 2 Select a Group to use These group names are defined on this page under the Group Name dropdown menu 3 Enter a Name to identify this object on the ne...

Page 30: ... The Group Name is designed to be used when there are multiple BACnet IP objects that have the same name This is useful when you have multiple identical devices connected on the other protocol Follow these steps to configure the Group Names in Manual Configure Mode 1 Select Group Name from the upper left dropdown menu 2 For each Group Name used in the previous setup change the name to your desired...

Page 31: ...ed ONLY when the BACnet IP Broadcast Management Device BBMD device on the other subnet often integrated into Client devices supports Foreign Device Registration To use enter the IP Address of the BBMD device into the gateway and select a Time To Live TTL the TTL defines how often the gateway should send a message to the BBMD device alerting them of the gateways presence 2 Static Device Binding Thi...

Page 32: ...re details Option 2 String Auto Configure The gateway 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 use the Auto Configure Mappings function you must use the manual mapping feature to configure translations Option 4 Manipulation Scaling You can custo...

Page 33: ...otocol 1 to Protocol 2 or Protocol 2 to Protocol 1 button correlating to the direction you wish to see the data This page is very useful when verifying that all data is mapped somehow from one protocol to another If a data point is not mapped it will display on this page in a yellow highlighted box In the above example we see the following Modbus 400001 from Slave 1 is being mapped to AI1 on BACne...

Page 34: ...om Modbus registers 400001 400005 and therefore can pass the data on to the PLC tag called MC2PLC_INT The 460 gateway has NOT received valid responses from Modbus register 400011 400012 As a result the data cannot be passed to the PLC tag ETC01_GN0_INT2 and indicates so by using in the value column of the table To view the actual data mappings click the Edit Mapping button For more details see the...

Page 35: ...hex and ASCII If there are values of Data Not Valid on this page it indicates that the source has not been validated yet and no data is being sent to the destination In the example below this page reflects the Modbus to PLC flow of data Since the Destination Dst ETC01 ETC01_G2N0_STRING displays Data Not Valid it can be assumed that the source field has not yet been validated To view the string map...

Page 36: ...er data 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 Auto Configure function 1 This example shows a common valid setup a Both Source values were able to be mapped to a corresponding Destination value 2 This example shows how Auto Configure will make it...

Page 37: ...t 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 Operations will be performed on every point d Enter the value s for the operation Example of Add similar for Subtract Multiple Divide and MOD This will add a value of 10 to the source field before it is wr...

Page 38: ...4 except manipulations will be conducted against the 64bit floating point to allow for large data 3 Ticks Per Second a The gateway operates at 200 ticks per second This equates to one tick every 5ms Thus mapping this to a destination will give easy confirmation of data flow without involving one of the two protocols 4 XY_NetBmpStat a If a protocol is a Client Master there is a Network Bitmap Statu...

Page 39: ...ault 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 Explanation 0x01 0 on 1 if we are a Master Client 0x02 1 on 2 connected 0 not connected 0x10 4 on 16 running usually added to connected Total 0x13 19 External Faults 0x0000FF00 bit 8 15 2nd byte Hex Bit Posi...

Page 40: ...le 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 0x00010041 65601 decimal here is the break down we know that bytes 1 and 3 are being used so here is the break down Common Status Hex Bit Decimal Explanation 0x01 0 on 1 if we are a Master Client 0x40...

Page 41: ...e 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 use for this mapping b String This is the string used for this mapping 3 Destination Field green box above a Group Select the string data group you set up in the protocol config to use for this mappi...

Page 42: ...eed to Manual 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 OK a You would want this option if you are adding additional mappings or you want to modify the mapping s that already exist 2 To delete the mappings that are already there and start over p...

Page 43: ... 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 and remain in Manual Configure Mode NOTE Once you revert back to Auto Configure Mapping Mode there is no way to recover the mappings you lost Any mappings you previously have added will be deleted as w...

Page 44: ... 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 Mapping Adding Diagnostic Information section String Mapping The View as Text page displays the string mapping s you set up in the String Mapping section Each line on this page will read as follows Mappi...

Page 45: ...max 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 reminder of what the password is THIS IS NOT A TOTAL SECURITY FEATURE The security feature offers a way to password protect access to diagnostics and configuration on the network The security feature does n...

Page 46: ...y 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 configure parameters 3 No Access No capability of viewing the web page and page will be removed from Navigation ...

Page 47: ...sword 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 removing and restoring power from the gateway Once power is restored you may navigate to the IP address of the gateway as normal Security Log Out Once a user is done with a session they may click logo...

Page 48: ...o 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 the e mail that will show up as the sender 5 To E mail Enter the e mail that is to receive the e mail 6 E mail Group Choose a group for the user This is used in other web pages Click the Save Parameter...

Page 49: ...ection 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 select which point in the group will be monitored for alarms 4 In the Set Error Section a Select the Set Error Operation in the top dropdown menu Available options are and Change of State COS This is t...

Page 50: ...the 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 available in the Alarm Status page as well as in the email generated by the alarm 7 Select an email to associate this alarm with When an alarm is set it sends an email When an alarm is cleared it will a...

Page 51: ...m 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 increment Alarms Active While one or more alarms are active every page will display Alarms Active at the top of the page This will no longer be displayed if all active alarms have been cleared When an alarm is activated the following will occur 1 A ...

Page 52: ...l 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 cleared again 2 Total Alarms Active will decrement Last Active Alarm will not be changed 3 Status of the Individual Alarm will be reset to OK ...

Page 53: ...This 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 goes out and the first COS event occurs 3 Writes Before Reads If multiple writes are queued execute of Writes Before Reads before the next read occurs Default is 10 and should fit most applications W...

Page 54: ...at are enabled Error The number of mappings that are enabled that have an error First Error This is a detailed description of the first mapping that has an error Common Errors 1 Destination or Source Point does not exist Solution Re map the mapping 2 Source or Destination Pointer too small There is not enough space on either the Source or the Destination for the data you want to copy This is typic...

Page 55: ...ice Status This will only display when viewing All Slaves 1 Connected and Running the gateway is connected to all the Modbus RTU Slaves 2 Error Timeout No Modbus RTU scan lines are configured under an enabled Slave Or one or more enabled Modbus RTU Slaves are missing a Verify Modbus RTU device for Slave Address 0 or 1 Base Addressing ASCII Messaging and Starting Addresses b Verify that Port Settin...

Page 56: ... The dependent protocol is missing causing the communication to go to inactive a The other protocol must be Connected 7 Solid Red Fatal Error The serial port selected on the Modbus RTU Master Configuration page is not configured a Verify that Modbus RTU has an enabled Port selected If needed configure port settings Variables These are the values for All Slaves or the specific slave selected Networ...

Page 57: ...d request error that the gateway received Error Code Breakdown 1 Error Code code Function N SlaveAddr A StartAddr L Length a Note The Slave Address will inform you of the device that had the error The Starting Address and Length will inform you the specific scan line that had the error 2 Error Codes a Error Code 1 Function Code received by the slave is not valid b Error Code 2 The Register Status ...

Page 58: ...MCls Write Multiple Coils N 1 from device 1 the first configured device A 101 Starting address of 101 aka 000101 or 00101 L 32 Multiple registers were trying to write 32 coils The Error Code indicates not valid so the starting address was not found or there were not 32 sequential coils to be written 101 through 132 To solve this change the starting address or reduce the of Points configured ...

Page 59: ... IP Server this will only clear the values for the BACnet IP Server section of the gateway Device Status 1 Connected The gateway is connected to a BACnet IP Client 2 Not Connected The gateway is not connected to a BACnet IP Client 3 Error Timeout The gateway has not received a read write request in the amount of time specified by the Inactivity Timeout LED Status 1 Good Communication Solid Green C...

Page 60: ...e responses sent to the BACnet IP Client 11 Error Response Count Total number of read write errors received 12 Timeout Response Count Total number of read write timeouts 13 COV Success Count Total number of successful COV messages 14 COV Error Count Total number of COV error messages Common Error Strings 1 BS UNHANDLED_MSG_TYPE The gateway received a BACnet IP message that it doesn t know how to p...

Page 61: ...ct type g Unsupported object type BACnet IP Client tried to access an object type our gateway does not support h Value out of range BACnet IP message could not be completed because the passed value was not in the valid range i Write access denied BACnet IP Client tried to write a non writeable property in our gateway j Invalid array index i BACnet IP Client tried to write a priority that was out o...

Page 62: ...rotocol 2 If either Protocol is a Master Client you may set the LED to represent either all Slaves Servers configured in the gateway or a particular Slave Server device To select a particular Slave Server device 1 Select the protocol in the left dropdown menu 2 Click Save Parameters to generate the second dropdown menu 3 Select the individual Slave Server in the right dropdown menu Click the Save ...

Page 63: ...configuration file or a configuration file from another 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 is selected click the Load Configuration button If it has successfully loaded the gateway will indicate that it was successful and a message will ap...

Page 64: ...om gateway 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 Other Utilities 5 If you are not currently in Mode Configuring go into Configuration Mode by clicking on the Configuration Mode button at the top left hand side of the screen 6 Press the Revert...

Page 65: ...n on the hardware 1 On the side of the gateway with the SD card slot there is a small pinhole Using a paperclip press the button through this pinhole and hold the button for at least 5 seconds 2 After 5 seconds the unit will acknowledge the command and LED 1 and LED 2 will start an alternate Blink Green quickly pattern 3 Release the button and the gateway will reset to default IP settings DHCP ...

Page 66: ...ored in the Flash File System within the gateway Identify your device by clicking the Start Flashing LED s button By clicking this button the two diagnostic LED s will flash red and green Once you have identified which device you are working with click the button again to put the LED s back into running mode Configure the size of the Log through the Log Configuration Bring the device back to its l...

Reviews: