Page 1
460MCA-N34 Protocol Gateway Product User Guide Firmware Version 5.2.14 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 ............................5 Overview ............................... 6 Hardware Platforms ............................7 Hardware – N34 ............................8 Powering The Gateway ..........................9 Port Configuration ............................10 Mounting with a DIN Rail ..........................11 Installing ..............................11 Removing ..............................11 Accessing the Main Page..........................12 Error: Main Page Does Not Launch ......................
Page 4
Data Mapping – Explanation ........................41 Data Mapping – Adding Diagnostic Information ..................42 String Mapping – Explanation ........................45 Mapping – Auto-Configure Mode to Manual Configure Mode ..............46 Mapping – Manual Configure Mode to Auto-Configure Mode ..............47 View as Text ..............................
Revision History Version Date Notes 5.1.1 6/7/16 Features Added 1. Reworked AutoMap functions to automap per device and made default for most productssupport@rtaautomation.com 2. Implemented Automatic reboot and redirect upon startup 3. Modified Template usage so it can be applied easily on a protocol or product level 4.
Overview The 460MCA-N34 gateway connects up to 32 Modbus TCP Servers with one or two ASCII devices. By following this guide, you will be able to configure the 460MCA-N34 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.
Powering The Gateway The following steps will allow you to properly and safely power the gateway. Warning improper wiring will cause unit failure Use the Barrel Connector the Screw Terminals power connection, both 1) Connect a 24VDC power source to the gateway. a.
Port Configuration The Port Configuration page is where you set port specific parameters. 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. The default jumper configurations are setup for the following serial modes: ...
Mounting with a DIN Rail Installing Follow these steps to install your interface converter. 1) Mount your DIN Rail. 2) Hook the top mounting flange over the DIN Rail. 3) While pressing the 515RTAAIC against the rail, press down to engage the spring loaded upper 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. 1) Insert the provided CD-ROM into a computer also on the network.
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 Configuring Mode:...
Device Configuration The device configuration area is where you assign the device description, IP address, and other network parameters. Changes can only be made when the gateway is in Configuration Mode. Click the Edit button to make these changes. Once you are done configuring the Description and the Network Settings, click the Save Parameters button.
Modbus TCP/IP Client Configuration Click the Modbus TCP/IP Client button to access the configuration page. 1) Delay Between Messages: Enter the length of time to delay between read and write scan line requests (ms). 2) Response Timeout: Enter the amount of time the gateway should wait before a timeout is issued for a read/write request (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 19
7) Enable 0-Based Addressing: Check ONLY if the server you are connecting to begins their register numbering at 0 OR they specify that their device addresses are 0-based. 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.
Configuring Read Scan Lines Follow these steps to manually configure Read Scan Lines. 1) Select View Read Scan Lines if not already selected. 2) Enter a Unit ID for the Client to communicate to. 3) Select a Point Type for each Scan Line. Options include: Coil Status, Input Status, Input Registers, and Holding Registers.
Configuring Writes Scan Lines Follow these steps to manually configure Write Scan Lines. 1) Select View Write Scan Lines if not already selected. 2) Enter a Unit ID for the Client to communicate to. 3) Select a Point Type to configure. Options include: Coil Status and Holding Registers. Note: Holding Registers do have a data type associated with them.
Configuring Read and Write Scan Lines (cont.) If you are configuring multiple devices click << or >> to navigate to another device. If this is the only device you are configuring, click the Save Parameters button. Below is the Scan Line Data Limit for each Point Type and the max Length Range associated to them. Note: If the first address of the Modbus TCP/IP Server device starts at 0 (Register/Coil starting addresses can be found in the Modbus TCP Server’s documentation), be sure to check the Enable 0-Base Addressing box in the gateway to ensure proper communication.
ASCII Configuration After the Port Configuration has been completed, click the ASCII button to continue configuration. 1) To add an additional ASCII connection, click the -Select- dropdown menu under ASCII Configuration and select Add Generic ASCII option. -To remove a device, navigate to the ASCII device to delete using the << and >> buttons and click the Delete ASCII Device button.
3) Port: Select which Comm port is being used for communication. This Comm port must be configured on the Port Configuration page. If it has not yet been configured, it will not display in this dropdown. 4) Enter a Device Label to identify the device within the gateway. 5) LED Inactivity Timeout: Enter the amount of time, in seconds, to wait before flashing the LED red indicating that no messages have been received or transmitted during this time.
8) Remove Delimiters from ASCII Message: If checked, the gateway will remove all delimiters that have been configured before sending it to the other protocol. 9) ASCII Parsing (Optional): Additional parsing can be performed on the string before being passed to the other protocol.
6) Select Start Delimiters: Select the Start Delimiters that should be added to the ASCII string. 7) Number of End Delimiters: Select the number of delimiters that will be added onto the end of the ASCII string. 8) Select End Delimiters: Select the End Delimiters that should be added to the ASCII string. 9) ASCII Concatenating (Optional): Additional concatenating can be performed on the string before being written to the ASCII device.
ASCII Configuration – ASCII Message 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 in the memory manager. NOTE: These two data variables will need to be added manually to the Data Mapping webpage since it will not be mapped using Auto-Map.
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 30
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 features 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.
Page 32
d. %.1lf…%.6lf – used for Floating Points to show the offset of the decimal point value 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.
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: 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 34
Sample Result: Real Time Automation, Inc. 1-800-249-1612...
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.
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 38
If there are values of “- -“ on this page, it indicates that the source has not yet been validated and no data is being sent to the destination. The example below reflects the Modbus to PLC flow of data. The Modbus (right side) is the source and the PLC (left side) is the destination.
Display String Click the Display String button to view how the string data types are mapped and what the values of each string are. Here you will see how each string from each protocol is mapped to the other. To view, select the source or destination group and the String from the dropdown menu to generate the information regarding that device.
Data and String Mapping – Auto-Configure The Auto-Configure function looks at both of the 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.
Data Mapping – Adding Diagnostic Information Data Mapping offers 5 different types of information in addition to any scan lines specified for each protocol. IMPORTANT NOTE: Only add Diagnostic Information AFTER both sides of the gateway have been configured. If changes to either protocol are made after diagnostic information has been added to the mapping table, it is necessary to verify all mappings.
Page 43
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: ->...
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 54
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 Diagnostic page is where you can view the gateway’s translations and protocol specific status information. For protocol specific diagnostic information, refer to the next three pages. Diagnostics – Data and String Mapping The Diagnostics->Diagnostic Info->System section displays the number of translations that are enabled, for both Data and String data types, the number of mappings that have an error, and the first mapping that has an error.
Diagnostics – Modbus TCP/IP Client Select the Modbus TCP/IP Client in the dropdown menu on the Diagnostic 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 60
LED Status - This is the Status for All Servers or the specific Server selected. 1) Solid Green (Connected) – The gateway is connected to all of the Modbus TCP Servers that are configured and enabled. 2) Flashing Green (Not Connected) – No Modbus TCP Servers are configured/enabled. a.
Page 61
-Function Code 5: Number of write Coil Status requests sent -Point Type Used: 0x Coil Status -# of Points: 1 7) FC06 Preset Holding Register: -Function Code 6: Number of write Holding Register requests sent -Point Type Used: 4x Holding Reg -# of Points: 1 8) FC15 Force Multiple Coils: -Function Code 15: Number of write multiple Coil Status requests sent...
Page 62
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: This Error Code indicates Code 2, the Register was not valid. Other details are: ...
Diagnostics – ASCII Select ASCII in the top dropdown menu on the Diagnostic 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 64
LED Status - This is the Status for All ASCII or the specific ASCII device selected. 1) Solid Green (Connected) – The gateway is receiving/transmitting data within the Inactivity period for all of the ASCII devices that are configured and enabled. 2) Flashing Green (Not Connected/First Time Scan) –...
Page 65
Buffers Each buffer text area is divided into 3 separate parts. Refer to screenshot above for labels. 1) Starting byte for that line 2) HEX character representation 3) ASCII character representation Note: Unprintable ASCII characters (like <CR>) will be displayed as ‘.’ on the right hand side of the buffer area.
Page 66
-The Current data that the gateway is receiving -Need to hit one of the three end cases to call a message complete: 1. Max Message Length (max number of characters to receive) 2. Receive Character Timeout (max time to wait after a character to call the current message complete) 3.
LED Configuration To modify the behavior of the LEDs on the 460 gateway, navigate to Other->Setup LEDs. The LED Configuration page lets you configure the LEDs on the gateway. 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 particular Slave/Server device.
Configuration Files To access the configuration files in the 460 gateway, navigate to dropdown Other->Export/Import Config. Export Configuration The export tool allows you to save your gateway configuration for backup or to be exported into another gateway. This file is named rta_cfg.rtax by default. Network settings will not be saved in this configuration since they must be unique for each gateway.
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 webpage. If this unit should fail in the future, the last configuration the gateway used is 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 460MCA-N34 and is the answer not in the manual?
Questions and answers