Page 1
435USB-NNCU USB to PLC Gateway Product User Guide Revision: 9.19 Platform: NNCU Real Time Automation® 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).
Overview ............................... 5 Hardware ..............................6 Powering the Gateway ..........................6 Mounting with a DIN Rail ..........................7 Accessing the Gateway’s Configuration Pages ..................... 8 Error: Main Page Does Not Launch ......................9 Committing Changes to the Settings ......................10 Main Page ..............................
Overview The 435USB gateway seamlessly connects up to 2 USB ASCII devices to a ControlLogix, CompactLogix, FlexLogix, MicroLogix, PLC5E, SLC, or other legacy PLC featuring a NetENI module. Tools and documents available online: http://www.rtautomation.com/product/435-nbx-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: 800-249-1612 Email: support@rtautomation.com...
Hardware Powering the Gateway • The gateway requires an 8-24 VDC power source Red Wire = (+) Black Wire = (-). o The unit draws 175mA @ 12V. Real Time Automation® 1-800-249-1612...
Mounting with a DIN Rail Installing Follow these steps to install your unit. 1) Mount your DIN Rail. 2) Hook the bottom mounting flange under the DIN Rail. 3) While pressing the 435USB against the rail, press up to engage the spring loaded lower clip and rotate the unit parallel to the DIN Rail.
Connect an 8-24 VDC power source to the gateway, Red Wire = (+) Black Wire = (-). • Using the supplied crossover cable, connect the gateway to the PC. • Download the Accessing browser guide to setup your PC for DHCP or scan the QR code on your RTA hardware. https://www.rtautomation.com/wp- content/uploads/2021/03/Accessing_Browser_Configuration.pdf • Run the IPSetup.exe https://www.rtautomation.com/435-nbx-support/...
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 • Any changes made to the IP address or DHCP settings will take effect immediately. • All other changes made to the settings of the gateway will not take effect until the gateway is restarted. 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. Navigation (green box below): You can easily navigate between pages (Main, Configuration, Diagnostics, and Other pages) using the buttons on the left hand side. Device Status (orange box below): This quickly shows the high-level status of any ASCII Ports that are enabled in the Serial...
Device Configuration 1) From the main page, click the Edit button which is located next to Device Configuration. 2) This allows you to edit the Device Description, IP Settings, IP Address, Subnet, Default Gateway and Ethernet Link settings. 3) To save all values, click the Save Parameters button. NOTE: Once Save Parameters is pressed, new IP Settings take effect immediately.
If you don’t want the RTA gateway to constantly keep the connection open to the PLC but only maintain a connection when there is data needed to be transferred, then Unconnected (UCMM) will work best if you are only writing to the PLC.
Page 14
ASCII_Event_Timeout: number of messages called complete due to the timer being reached (combined for both ports). ASCII_Event_Discard: number of messages called complete, but RTA had to discard them due to the queue being full (combined for both ports). For step-by-step instruction on how to set up the UDT, please see Appendix Real Time Automation®...
Setting up ASCII to PLC Communication Click the ASCII Configuration button under the CONFIGURATION section. Define PLC Tag / File 1) Data Type: Select the Data Type for the Tag / File Name that you defined in the PLC. a. If PLC Type configured is I/O Scanner, then this field is not used. 2) Enter the Tag / File name you want the gateway to move the ASCII message to.
Define ASCII Message Termination 1) To define an ASCII message, you must select one or more of the following end cases: Character Count, Timer, or Delimiters. a. Character Count: Enter the max number of characters that the device could output. Example: If your device sends a four digit temperature, set the length to 4.
Remove NULL: Removes all NULL characters from the ASCII Message before sending it to the PLC. Ex: ASCII device is sending data “$00This $00is $00a $Test$00$00”, The RTA will remove the NULLS ($00) and only send “This is a Test” to the PLC.
Setting up PLC to ASCII Communication Click the ASCII Configuration button under the CONFIGURATION section. Define PLC Tag / File 1) Data Type: Select the Data Type for the Tag / File Name that you defined in the PLC. a. If PLC Type configured is I/O Scanner, then this field is not used. 2) Enter the Tag / File name that you want the gateway to monitor for messages.
Add Delimiters to ASCII Message 1) Delimiters: Configure the characters to add to the message. a. Start: Use this feature to add a common starting delimiter(s) to messages being sent to the ASCII device. i. The value of this first dropdown will either gray out or allow a delimiter to be selected from the next dropdown.
Diagnostics and Troubleshooting From any page, click the Diagnostics button under the DIAGNOSTICS section. PLC Status PLC Status: Shows same information that is on the main page diagnostics. See section Diagnostics-Main Page for further explanations. Connection Attempts: This value increments every time the 435USB loses connection to the PLC and attempts to reconnect.
Diagnostics and Troubleshooting – ASCII to PLC This page will automatically refresh to show the latest data. Last message sent to PLC (chars): This buffer shows the last message that was successfully sent to the PLC. Next message stored in ASCII queue (chars – messages queued): This buffer shows the next ASCII message waiting to be sent.
Diagnostic Counters ASCII Event: Delimiter: Increments if a successful ASCII message was received with delimiters being read. Length: Increments if a successful ASCII message was received containing the max character count. Timeout: Increments if a successful ASCII message was received with the timer value being reached.
Diagnostics and Troubleshooting – PLC to ASCII This page will automatically refresh to show the latest data. Last message sent to ASCII (chars): This buffer shows the last message that was sent to the ASCII device. Data portion should be filled in first and then the Length field.
Diagnostic Counters Read ASCII Message from PLC: Increments with every read request for the length field from the gateway. Increments Error: when there is an error with the Tag/File Name in the PLC. Last Error: This will report the most recent error found. Note: Errors that show up here are reported from either the 435USB or the PLC.
Diagnostics and Troubleshooting – LEDs There are 4 LEDs on the 435USB hardware. Each LED has a specific meaning and can be used to help troubleshoot. This LED shows when the unit is powered. • Solid Green: Power is being supplied to the unit. •...
USB 1 & USB 2 USB 1 indicates the status of the USB device plugged into Port 1 (top port in above picture) while USB 2 indicates the status of the device plugged into Port 2 (bottom port in above picture). •...
Diagnostics – Main Page For a snapshot diagnostic view of the gateway, go to the Main Page. This page will automatically refresh. PLC Status This shows the Status of the PLC Connection. Possible values are: 1) No PLC Configured – Displays when either a PLC Type is not selected and/or the IP address is set to 0.0.0.0.
Device Status There are 3 columns that make up this status. The status reflected here shows the current status for configured parameters. This means that any pending changes made to that parameter since it was last powered up will not display. Example: If since the last power up, the ASCII to PLC direction for a port has since been disabled, you will need to restart the gateway in order to see that direction’s status change from the main page.
Save/Load the Configuration Click the Export/Import Config button under the OTHER section. Export Configuration 1) Click the Save Configuration to PC button. 2) A prompt will then ask the type of file to save as. Any type will suffice. 3) This will save all of the configuration except for the Gateway’s IP Network Settings, since it must be unique.
Displays the full catalog number of the gateway. Have this number ready when contacting a RTA Technical Support Specialist. Diagnostics Logging Most users will not need to do anything with this feature. If there are problems with the gateway, a RTA Technical Support Specialist will direct you in how to use this feature. Security Configuration Click the Security button to configure security for a single username and password.
6) Click the Save Parameters button to save. Security - Log In 1) Username: Name of the user to login. 2) Password: Password of the user to login. 3) Log In: If login is successful, the user will be redirected to the Main Page. 4) Display Hint: Displays the hint specified for the user if one was set up.
Upgrade Firmware Click the Upgrade Firmware button if you need to upgrade firmware for the gateway. From here, click Choose File and select the XXXXX_APP.s19 file. Once the file name appears next to Application File, click the Upgrade Firmware button. The firmware will load and will automatically reboot the gateway after 30 seconds and redirect the webpage to the Main Page when finished.
Save and Replace Configuration using SD Card This function saves the gateway’s configuration to an SD card. If the SD card is placed in another unit, the configuration on the SD card will automatically populate the gateway on power up. This SD card replaces every configurable field in the gateway, INCLUDING IP Address, Subnet Mask, and Default Gateway.
Appendix A: Error Definitions Error Status Name Description 0x00 Success Service was successful 0x01 Controller Slot Doesn’t Exist Connection related service failed along the connection path 0x02 Resource unavailable Resources needed for the object requested service were unavailable 0x03 Invalid parameter value See Error 0x20 0x04 Incorrect Tag Data Type...
Page 35
0x0F Privilege violation A permission/privilege check failed 0x10 Device state conflict The device’s current mode/state prohibits the execution of the requested service 0x11 Reply data too large The data to be transmitted in the response buffer is larger than the allocated response buffer 0x12 Fragmentation of a primitive value The service specified an operation that is going to...
Page 36
0x1E Embedded server error An embedded service resulted in an error: This can mean the Controller Slot, IP Address or Tag Name does not match. The Tag is not defined in the Controller Scope within the PLC, or the Tag does not have Read/Write privileges.
Page 37
the specified Class/Instance/Attribute 0x29 Member not settable A request to modify a non-modifiable member was received 0x2C Attribute not gettable A request to read a non-readable attribute was received Real Time Automation® 1-800-249-1612...
Appendix B: I/O Messaging - Configuration (Rev 7.03 or Later) In order to enable I/O Messaging, under the PLC Type dropdown select I/O Scanner on the PLC Configuration page. Once you enable I/O Messaging, the Tag Name and Data Type in the ASCII to PLC and PLC to ASCII direction will not be used.
Input / Output Assembly Handshaking Breakdown ASCII to PLC The PLC monitors the Input Sequence Number for a non-zero value that doesn’t match the Input Handshake. This indicates new data is ready for processing. Upon receiving new data, the PLC reads the length of the data and processes it (up to 200 bytes). The PLC then echoes the Input Sequence Number into the Input Handshake.
Appendix C: Create User Defined Tag in RSLogix 5000 1) Within RSLogix 5000, click on Data Types and select Strings. 2) Right click on Strings and select New String Type. Give the new data type a name. 3) Select the max number of characters to be transferred. 4) When creating the tag name in the PLC, select the name of the new user defined data type you just created.
Controller Scope tags, these tag names can be entered into the gateway without any additional syntax. If you are using a tag that is defined within Program Scope, then the tag name inside of the RTA gateway needs additional syntax for it to successfully communicate.
Appendix E: Importing UDT_435USB_Diagnostics.L5X To import the UDT from the 435USB’s webpage please follow these steps: 1. To download right click on the UDT_435USB_Diagnostics.L5X hyperlink on the PLC Configuration page and select “save as” to download into your computer. 2. To import into your RSLogix go into the Assets folder and expand the Data Types folder in the project tree.
Need help?
Do you have a question about the 435USB-NNCU and is the answer not in the manual?
Questions and answers