Page 1
460MCUSB-NNCU Protocol Gateway Product User Guide Firmware Version 8.7.64 Real Time Automation, Inc. 1-800-249-1612...
Page 2
Trademarks CompactLogix, ControlLogix, & PLC-5 are registered trademarks of Rockwell Automation, Inc. EtherNet/IP is a trademark of the ODVA. MicroLogix, RSLogix 500, and SLC are trademarks of Rockwell Automation, Inc. Microsoft, Windows, and Internet Explorer are registered ® trademarks of Microsoft Corporation. BACnet is a registered trademark of American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE).
Revision History ............................6 Overview ..............................7 Hardware Platforms ..........................8 Hardware – NNCU..........................9 Powering the Gateway ........................... 9 USB Port LED Behavior ......................... 10 Mounting with a DIN Rail ......................... 11 Installing .............................. 11 Removing ............................. 11 Accessing the Main Page ......................... 12 Committing Changes to the Settings ......................
Page 4
Display String ............................45 Display String use case..........................47 Data and String Mapping – Auto-Configure ..................... 48 Data Mapping – Explanation ........................49 Data Mapping – Adding Diagnostic Information ..................50 String Mapping – Explanation ........................54 Mapping – Auto-Configure Mode to Manual Configure Mode..............55 Mapping –...
Page 5
Real Time Automation, Inc. 1-800-249-1612...
Revision History Version Date Notes 8.4.5 11/18/2019 Features Added Released OPC UA Server (US) Protocol Ability to now Import/Export Template Files with out an FTP session Bug Fixes Updated Profinet Server (PS) on N34 hardware Platform Updated Wi-Fi software 8.6.0 2/28/20 Bug Fixes Omron Plc Communication fixes for EtherNet/IP...
Overview The 460MCUSB-NNCU gateway Connects up to 32 Modbus TCP servers with up to two USB devices. By following this guide, you will be able to configure the 460MCUSB-NNCU gateway. Number of ASCII devices is dependent on the Hardware and Product number of the 460 gateway.
Hardware Platforms The 460 Product Line supports a number of different hardware platforms. There are differences in how they are powered, what serial settings are supported, and some diagnostic features supported (such 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.
Hardware – NNCU Powering the Gateway 1. The gateway requires an 8-24 VDC power source Red Wire = (+) Black Wire = (-). a. The unit draws 175mA @ 12V. Real Time Automation, Inc. 1-800-249-1612...
USB Port LED Behavior PWR LED Status: 1. Solid Green: Power is being supplied to the unit. 2. Off: No power is being supplied to the unit. Comm LED Status: 1. Solid Green: Connected and Running. 2. Blinking Green: Communication not attempted yet. 3.
1) Mount your DIN Rail. 2) Hook the bottom mounting flange under the DIN Rail. 3) While pressing the 460MCUSB-NNCU against the rail, press up to engage the spring loaded lower clip and rotate the unit parallel to the DIN Rail.
Accessing the Main Page The following steps will help you access the browser based configuration of the gateway. By default, DHCP is enabled. If the gateway fails to obtain an IP address over DHCP it will Auto IP with 169.254.X.Y. For more information on your Operating system network setting refer to the Accessing Browser Configuration...
Page 13
Error: Main Page Does Not Launch If the Main Page does not launch, please verify the following: 1) Check that the PC is set for a valid IP Address a. Open a MS-DOS Command Prompt b. Type “ipconfig” and press enter c.
Committing Changes to the Settings All changes made to the settings of the gateway in Configuration Mode will not take effect until the gateway is restarted via the webpage. Changes will not be stored if the gateway’s power is removed prior to a reboot.
Main Page The main page is where important information about your gateway and its connections are displayed. Mode (orange box below): Running Mode: • Protocol communications are enabled • Configuration cannot be changed during Running Mode. If changes are needed, click the Configuration Mode button shown in the green box below...
Device 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 the Description, click the Save Parameters button. Real Time Automation, Inc. 1-800-249-1612...
Network Configuration The network configuration area is where you assign the IP address and other network parameters. Changes can only be made when the gateway is in Configuration Mode. 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.
Modbus TCP/IP Client Configuration Click the Modbus TCP/IP Client button to access the configuration page. 1) Select which Network Interface to use for this Modbus TCP/IP connection. If using single port hardware, the Network Interface will default to Ethernet port only. 2) Delay Between Messages: Enter the length of time to delay between read and write scan line requests (ms).
Modbus TCP/IP Client Device Configuration The bottom area of the Modbus TCP/IP Client Configuration page lets you configure up to 32 external Modbus TCP/IP server devices. 1) To add additional server connections, click the -Select- dropdown under Modbus TCP/IP Client Device List and select Add Generic Server option.
Page 20
8) Bit Pack: Select the formatting of the Coil Status/Input Status. Automap will use this packing size to map coils to/from the other protocol. The bit pack selection here should match that of the other protocol. The starting address is considered Bit 0 and is the low-order bit. 9) To enable data swapping, select the required Swap Indicator.
Configuring Read and Write Scan Lines Follow these steps to manually configure Read and Write Scan Lines. 1) Click the View Read Scan Lines or View Write Scan Lines button. 2) Enter a Unit ID for the Client to communicate to. 3) Select a Point Type for each Scan Line.
Page 22
2) 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. Real Time Automation, Inc. 1-800-249-1612...
ASCII Configuration After the port configuration has been completed, click the ASCII button to continue configuration. 1) To add an ASCII device or additional ASCII devices, click the -Select- dropdown menu under ASCII Configuration and select Add Generic ASCII option. a) To remove a device, navigate to the ASCII device to delete using the <<...
Receive Data This side is configured to receive data from the ASCII device into the gateway. Use the following fields to determine when a message has been received. 1) Enable: Check this box to configure the Receive Data section. 2) Max Message Length: Enter the max number of characters that can be received by the gateway. Example: Max Message Length is set to 5 and the message of "helloworld"...
Bradley PLC. The next time the operator scans the same barcode “HelloWorld”, the ASCII side gathers the data, but the data didn’t change so it will not be sent over to the ETC portion of the RTA gateway. If the operator scans “1234567890” with the barcode scanner, the ASCII side of the RTA gateway will process the data and since the data has changed it will be sent over to ETC and sent over to the PLC.
Transmit Data This side is configured to transmit data from the gateway into the ASCII device. Use the following setup fields to help the 460 transmit an ASCII message. 1) Enable: Check this box to configure the Transmit Data section. 2) Max Message Length: Enter the max number of characters that can be transmitted by the gateway.
0 and ALL data is new. Example 1: Send a message of “hello” from the PLC to the RTA gateway. The ASCII device see’s “hello”. Send “hello’ again and nothing will happen because of the RTA Change-of-State Rule.
Page 28
3000ms Timeout or the Trigger data point), the ASCII device will get updated. If the trigger data point is not updated, the then the RTA gateway will send the data every x ms to the ASCII device. See below for more examples in the ASCII Configuration – Technology Triggering Method.
ASCII Configuration – Technology Triggering Method This method allows the other protocol to signal when to send the next message using data handshakes. These “signals” are controlled using data variables (TransTrigger and TransHandshake) already in the mapping. Then Method will send the new/old data when triggered. NOTE: These two data variables will need to be mapped manually on the Data Mapping webpage since it will not be mapped using Auto-Map.
Page 30
If TransTrigger = 0, then the triggering method is enabled, but no message will transmit. RTA460 Display Data Example: TIA Portal Example: The data will still go to the RTA gateway, however the RTA gateway will NOT transmit the data to the ASCII device until the Slot12[0] triggers the TransTrigger.
Page 31
d) If TransTrigger is between 1-65534 AND the value IS NOT equal to the TransHandshake diagnostic variable, then a new message will be transmitted. The value in TransTrigger will then be moved to TransHandshake. TIA Portal Example: Once the Slot12[0] increments (data is sent from the PLC to the ASCI device) then the Slot2[0] will get updated with the handshake Real Time Automation, Inc.
ASCII Configuration – ASCII Parsing The ASCII Parsing feature allows you to break apart an incoming ASCII string by delimiter or character offset into multiple data fields. You can then apply a data type to the fields and deliver them to user defined locations in the mating protocol.
ASCII Configuration – ASCII Parsing Examples Example #1 - Parsing a message using the Parsing Delimiter option: In this example, we are separating the string “12.25,SP100,temp setpoint” by a comma delimiter. The first value is being parsed into a float data type, the second and third values are being parsed into a string data type.
Page 34
Example #3 - Parsing a message using the Parsing Delimiter option and Start Location and Length: In this example, we are separating the fields in the string “12.25,SP100,temp setpoint” using the comma delimiter, the start, and length fields. The first value is being parsed from the 1 character for a length of 2 and stored into an integer data type.
ASCII Configuration – ASCII Concatenating The ASCII Concatenating feature allows you to combine multiple data points and locations, in the mating protocol, into a single ASCII string. Click the ASCII Concatenating (Optional) button at the bottom of the ACII Configuration page to access the ASCII Concatenating Configuration page for this device. 1) Number of Fields: This indicates how many values will be concatenated together to form a single ASCII message (up to 50 values per message).
Page 36
i. EX: 123.456789 set as %.3lf will display as 123.456 e. %e – used for Exponential Notation %x – used to represent Hexadecimal values for Signed/Unsigned Integers or Floating points g. String and Constant String Data Types do not use this field 6) Max Characters: This is the Max Number of Characters that can be transmitted for a single field.
ASCII Configuration – ASCII Concatenating Examples Example #1 - Concatenating a message using the Concatenating Delimiter option: In this example, the comma is selected as the Concatenating Delimiter. Let’s look at each field closer: 1) Field 1 –8 bit int represented as Trans_Field01 in the gateway. It will output as an integer with a max of 10 characters.
Page 38
The sample belows shows the Transmit Data set up with the following delimiters. Example 1 Sample Result: This use case is sending data via 5 PLC tags. Using the concatenating setup example and the transmit example, the ASCII data will be display within your ASCII device shown as the example below.
ASCII Configuration – ASCII Message Counter There is an additional ASCII variable that is very useful to access within the gateway’s mating protocol. This data variable will need to be added manually since it will not be mapped using Auto-Map. RecvCount- indicates how many ASCII messages have been successfully read by the gateway for that device.
Printer Port Status UsbStatus - Indicates if there are any printer errors like paper empty when dealing with USB printer devices (Class 7 only). This Status will match the USB Port 0/1 Status on the diagnostics page and main page for each USB device connected to a printer. The UsbStatus is a diagnostics variable already defined in the 460 gateway.
Mapping - Transferring Data Between Devices There are 5 ways to move data from one protocol to the other. You can combine any of the following options to customize your gateway as needed. Option 1 – Data Auto-Configure Mappings: The gateway will automatically take the data type (excluding strings) from one protocol and look for the same data type defined in the other protocol.
Display Mapping and Values The Display Data and Display String pages are where you can view the actual data for each mapping that is set up. Display Data Click the Display 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.
Page 43
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. The Display Data page will display up to 200 mappings per page, simply navigate to the next page for the additional mapping to display.
Page 44
To view 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 details, see the View Data Mapping as Text section. Real Time Automation, Inc.
Display String Click the Display String button to view what the values of each Parsing and/or Concatenating strings are, you can also click on the Edit Mapping to view the mapping of each string. To view the source or destination groups from a string, click the dropdown menu to generate the information regarding that device.
Page 46
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. NOTE: You can view the whole string data by clicking on Diagnostics Info drop down and navigating to ASCII Diagnostics page.
Display String use case Sending a message of “RTA,Support,Rocks” from an ASCII device to the RTA unit. The ASCII Parsing Configuration would look like my example below. There are more detailed examples of what all the fields represent in the ASCII Parsing section.
Data and String Mapping – Auto-Configure The Auto-Configure function looks at both protocols and will map the data between the two protocols as best as it can so that all data is mapped. Inputs of like data types will map to outputs of the other protocols like data types first.
Data Mapping – Explanation Below are the different parts that can be modified to make up a data mapping. 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 data group you set up in the protocol config to use for this mapping.
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. If data stops on the destination end, then the RTA is offline. Real Time Automation, Inc.
Page 51
4) XY_NetBmpStat a) If a protocol is a Client/Master, there is a Network Bitmap Status that is provided on the Diagnostics Info page under the Variables section. b) Since a Client/Master may be trying to communicate with multiple devices on the network, it may be beneficial to know if a Server/Slave device is down.
Page 52
5) Status_XY a) There are two Statuses provided, one for each protocol. This gives access to the overall status of that Protocol. Each Bit has its own meaning as follows: Common Status: 0x000000FF (bit 0-7)1 byte Hex: Bit Position: Decimal: Explanation: 0x00 if we are a Slave/Server...
String Mapping – Explanation Below are the different parts that can be modified to make up a string mapping. String data types can only be mapped to other string data types. There is no manipulation that can be done on the string. 1) Enable (red box above): Check to enable mapping.
Mapping – Auto-Configure Mode to Manual Configure Mode To transition from Auto-Configure Mapping Mode to Manual Configure Mode, click the dropdown at the top of the Mapping Configuration page and select Manual Configure. After you click this button, you will be prompted to confirm if this is really what you want to do. Click OK to proceed to Manual Configure Mode or click Cancel to remain in Auto-Configure Mappings Mode.
Mapping – Manual Configure Mode to Auto-Configure Mode To transition from Manual Configure Mode to Auto-Configure Mapping Mode, click the dropdown menu at the top 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.
View as Text Data Mapping The View as Text page displays the point to point mapping(s) you set up in the Data Mapping section. This will also display any manipulation(s) that are configured. Each line on this page will read as follows: ->...
Note: # is an internal reference to the Server/Slave number you are settings up. ex. RTA Server/Slave products can only be Trigger 1 and Handshake 1 since we are only 1 device. If RTA is a Master/Client, then you can have a Trigger# for each server/slave connected too.
Page 59
3) Within the Data Mapping page manually add 2 additional mappings. 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 data is validated and write to AI21 “all data is validated”.
Security Configuration To setup security on the 460 gateway, navigate to Other->Security Configuration. You can configure Security for 3 administrators, 5 users, and 1 guest. THIS IS A TOTAL SECURITY FEATURE The security feature offers a way to password protect access to diagnostics and configuration on the network.
Security Configuration-Security Levels Each webpage in the gateway 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.
Security - Log In Username: Name of the user to login. Password: Password of the user to login. Log In: If login is successful, the user will be redirected to the Main Page. Send Password to Email: Sends the specified User’s Password to the email configured for that user. Display Hint: Displays the hint specified for the User if one was set up.
Email Configuration To setup e-mails on the 460 gateway, navigate to Other->Email Configuration. You can configure up to 10 email addresses. 1) SMTP Mail Username: The email address that the SMTP server has set up to 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.
Alarm Configuration To setup alarms on the 460 gateway, navigate to Other->Alarm Configuration. 1) Alarm Delay upon Powerup: At Powerup, the gateway will have values of ‘0’ stored for all data. This may cause alarms to trigger before these values are updated by the mating protocols. Set this field to provide needed time to update fields before considering values for alarms.
Page 65
5) In the Clear Error Section: a. Select the Clear Error Operation. Available options are <, >, <=, >=, !=, ==, and Change of State (COS). This is the operation that will be used to compare the Data Point value against the Error Value to determine if the alarm needs to be cleared.
Diagnostics – Alarm Status Alarm Status will only display under the Diagnostic menu tab if at least 1 Alarm is enabled. 1) # Alarms Enabled: This is a count of enabled alarms. 2) # Alarms Active: This is how many alarms are presently active (set). 3) Last Active Alarm: This is the last alarm that the gateway detected.
Alarms – Clear When 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 cleared again. 2) Total # Alarms Active will decrement.
Change of State (COS) Configuration To access the configuration files in the 460 gateway, navigate to dropdown Other->COS Configuration. The gateway, by default only writes when data has changed. The gateway also waits to write any data to the destination until the source protocol is successfully connected. Default values should fit most applications.
Diagnostics Info The Diagnostics page is where you can view both protocols’ diagnostics information, # of Data Mappings, # of String Mapping and # Alarm Mappings. For protocol specific diagnostic information, refer to the next few pages. Diagnostics Mapping This section displays the number of mappings that are enabled, Data Mapping and String Mapping will show the # of Errors and First Errors.
Diagnostics – Modbus TCP/IP Client Select the Modbus TCP/IP Client in the dropdown menu on the Diagnostics Page to view breakdown of the diagnostics and common strings that are displayed on the page. You may also view individual server counters by selecting the device in the All Servers dropdown and clicking View. Additional diagnostic information can be found by clicking the Help button.
Page 71
4) Dependency Protocol Faulted – The dependent protocol is missing causing the communication to go to inactive. 5) Unknown: First Scan Not Complete – Multiple scan lines are set up for the device and the gateway has not completed all the scan lines. LED Status - This is the Status for All Servers or the specific server selected.
Page 72
5) Flashing Red (Empty Scan List) - One or more enabled Modbus TCP servers have no scan lines configured. 6) Flashing Red (Communication not attempted yet) – (Specific server only) No reads are configured and data needed for writes isn’t valid yet. 7) Flashing Red (Dependency Error) - The dependent protocol is missing causing the communication to go to inactive.
Page 73
b) Point Type Used: 3x Input Reg c) # of Points: Any 6) FC05 Force Single Coil: a) Function Code 5: Number of write Coil Status requests sent b) Point Type Used: 0x Coil Status c) # of Points: 1 7) FC06 Preset Holding Register: a) Function Code 6: Number of write Holding Register requests sent b) Point Type Used: 4x Holding Reg...
Page 74
a) Specific to the function code being used for the scan line 4) N (Slave Address): a) Slave address of the slave that the error was received from 5) A (Starting Address): a) Starting address of the register/status that the error was received from 6) L (Length): a) Number of points of the register/status that the error was received from Example:...
Diagnostics – ASCII Select ASCII in the top dropdown menu on the Diagnostics Page to view a breakdown of the diagnostics that are displayed on the page. You may also view individual ASCII device counters and messages by selecting the device in the All ASCII dropdown and clicking View. Additional diagnostic information can be found by clicking the Help button.
Page 76
Device Status - This will only display when viewing All ASCII. 1) Connected and Running– The gateway is connected to all the ASCII devices and data is being received/transmitted. 2) Not Connected – There have been no messages received or transmitted. a.
Page 77
2) Successful Receive Count: a) Number of complete messages that the gateway has received from the ASCII device 3) Received due to Length: a) Number of messages completed due to the Max Message Length being reached 4) Received due to Delimiters: a) Number of messages completed due to the Start or End Delimiters being seen 5) Received due to Timeout: a) Number of messages completed due to the Receive Character Timeout being reached...
Page 78
USB Port 0/1 Status: • Status of the two USB ports. • Our gateway supports Class 3 (HID Devices) and Class 7 (Printers) only. Common Messages: 1) Not Connected, No USB device detected 2) HID Device Connected 3) Unsupported HID Device 4) Error-Missing Device Info 5) Unknown HID Error 6) Unsupported USB Class XX...
Page 79
Current Message being Received from ASCII: 1) The current data that the gateway is receiving. The data needs to hit one of the three end cases to call a message complete: a) Max Message Length (max number of characters to receive) b) Receive Character Timeout (max time to wait after a character to call the current message complete) c) Delimiters (gateway has not received the delimiters that are specified)
LED Configuration To modify the behavior of the LEDs on the 460 gateway, navigate to Other->Setup LEDs. Each LED may be set to Disabled, Protocol 1, or Protocol 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 slave/server device. To select a slave/server device: 1) Select the protocol in the left dropdown menu.
Configuration Files To access the configuration file in the 460 gateway, select the dropdown Other->Export/Import Config. Export Configuration The Export Configuration allows you to save your configuration file for backup or to be imported into another gateway. This file is named rta_cfg.rtax by default. Upon clicking the Save Configuration to File button, you will be prompted to select a location to save the file.
Page 82
If it encountered 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 with a screenshot of this error to further troubleshoot.
Save and Replace Configuration Using SD Card Saving Configuration Using SD Card This function saves the gateway’s configuration automatically to an SD Card each time the gateway is rebooted via the Restart Now button on the web page. If this unit should fail in the future, the last configuration stored on the SD card and can be used for a new gateway to get the application back up and running quickly.
Utilities To access the Utilities page in the 460 gateway, navigate to Other->Utilities. The Utilities screen displays information about the gateway including Operation Time, File System Usage, Memory Usage, and Memory Block Usage. Here you can also: • View the full revision of the software. •...
Need help?
Do you have a question about the 460MCUSB-NNCU and is the answer not in the manual?
Questions and answers