background image

 

Real Time Automation, Inc. 

28 

1-800-249-1612 

 

 

 

 

 

Setting up the PLC- Example Using TIA Portal 

This is how you would set up the following example in your controller. 

 

1)

 

In your project, click the Device View tab and select your PLC. 

 

2)

 

IF YOU HAVE ALREADY INSTALLED THE GSD FILE, SKIP TO STEP 9.   

OTHERWISE - Under Options, select 

Manage general station description file (GSD).

  

 

 

 
 

3)

 

On the RTA PROFINET IO Server configuration page, download the zip file 

Summary of Contents for 460PSUS-NNA4

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

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

Page 3: ...Device vs Auto Configure Group by Data Type 20 Group by Device Default Method 20 Group by Data Type 20 PROFINET IO Server Slot Configuration Manual Mode 21 Setting up the PLC Example Using Simatic Cl...

Page 4: ...to Configure Mode 60 View as Text 61 Data Mapping 61 String Mapping 61 Base Triggering Data Validiation Triggering 62 Security Configuration 64 Security Configuration Security Levels 65 Security Log I...

Page 5: ...Real Time Automation Inc 5 1 800 249 1612 Saving Configuration Using SD Card 81 Replacing Configuration Using SD Card 81 Intelligent Reset Button 82 Utilities 83...

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

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

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

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

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

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

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

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

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

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

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

Page 17: ...d by TIA Portal or Classic STEP 7 Note To properly set communication to the PROFINET controller you will need to install the GSD file that is downloadable on the configuration web page or on the CD th...

Page 18: ...urable Options include 8 16 32 64 and 128 Bytes 3 Data Format sets the formatting of the data Automap will use this packing size to map data to from the other protocol There are three ways to configur...

Page 19: ...r possible 5 Any 32 Bit Float will be mapped as 32 Bit Float 6 Any 64 Bit Float will be mapped as 64 Bit Float 7 Any Strings will be mapped as Short String 8 Any Coils or 1 8 16 32 Bit Binary Packs wi...

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

Page 21: ...clicked there are two options for how to proceed 4 To keep the data slots that are already configured press OK i You would want this option if you are adding additional data slots or you want to modi...

Page 22: ...e hardware option in the right pane Double click on the Hardware icon 2 IF YOU HAVE ALREADY INSTALLED THE GSD FILE SKIP TO STEP 9 OTHERWISE Under Options select Install GSD Files 3 On the PROFINET IO...

Page 23: ...l see the RTA profile under PROFINET IO Additional Field Devices Gateway 460PSxx 9 IF YOU HAVE ALREADY CONFIGURED THE PROFINET I O CONTROLLER SKIP TO STEP 11 OTHERWISE Right click on the PN IO block a...

Page 24: ...omation Inc 24 1 800 249 1612 11 Find the RTA device in the I O tree It will be under PROFINET IO Additional Field Devices Gateway 460PSxx 460PSxx 1 port 12 Once found drag the Standard icon into the...

Page 25: ...tomation Inc 25 1 800 249 1612 13 Double click the gateway icon to open the properties window If not already done uncheck the Assign IP Address via IO controller option some versions already do this a...

Page 26: ...evice click on the PLC tab select Ethernet then Assign Device Name 15 Click the Assign name button to give the RTA gateway a name This name will appear on the RTA PROFINET configuration page If you wo...

Page 27: ...e Save and Compile button and then the Download to PLC button Terminology Note and Example I addresses refer to input Q addresses refer to output B refers to bytes and W refers to words So in this cas...

Page 28: ...p the following example in your controller 1 In your project click the Device View tab and select your PLC 2 IF YOU HAVE ALREADY INSTALLED THE GSD FILE SKIP TO STEP 9 OTHERWISE Under Options select Ma...

Page 29: ...eal Time Automation Inc 29 1 800 249 1612 4 Browse to folder containing the GSD file 5 Check the box to the left of the imported path and click Install 6 Click Close when it was installed successfully...

Page 30: ...rdware platform if it has one Ethernet port or 2 Ethernet ports determines the icon to use 9 Drag the 460PSxx 1 port next to the PLC click on the Not Assigned and select the PLC to connect to 10 Once...

Page 31: ...1 800 249 1612 a The PROFINET Device Name field is the name to assign to the RTA gateway b Make sure the PROFINET device and the gateway are on the same network 14 Right click on the RTA device and se...

Page 32: ...n to give the RTA a valid name on the network Once the RTA gateway is in run mode this name will appear on the PROFINET web page 16 To match the above configuration in the 460 gateway add one 8 byte i...

Page 33: ...etwork view tab click the port of PLC click the Compile button and Download to Device button in red 19 Once everything is downloaded to the PLC there will be a green check box on both devices then cli...

Page 34: ...Real Time Automation Inc 34 1 800 249 1612 NOTE When using a Short String Data Type the 1st byte of each slot is reserved for the Length field The remaining bytes will be used for the actual data...

Page 35: ...which Network Interface to use for this OPC UA server connection If using a single port hardware the Network Interface will display Switch Mode only 2 Inactivity Timeout Enter the amount of time the...

Page 36: ...are 3 ways to configure this protocol Auto Configure Group by Device Default Auto Configure Group by Data Type Manual Mode NOTE You may go back and forth between modes but when reverting from Manual M...

Page 37: ...other protocol on the gateway and auto configures the data groups on the OPC UA server for all the data points within the other protocol Another way to view this option is to say that the data points...

Page 38: ...e mapped as 64 Bit Int 4 Any 8 Bit 16 Bit 32 Bit 64 Bit Unsigned Data will be mapped as 64 Bit Uint 5 Any 32 64 Bit Float will be mapped as 64 Bit Float 6 The Input or Output Data Group direction depe...

Page 39: ...ct Manual Configure a When prompted click OK to confirm mode change or Cancel to remain in Auto configure Mode b Once OK is clicked there are two options for how to proceed i Option 1 To keep the data...

Page 40: ...the Select dropdown and select the Add from OPC UA Server X option where X represents the server you wish to copy parameters from Once created you can make any additional changes needed to that new s...

Page 41: ...epresent each meter data reading with a name like Server Room Power Warehouse Power etc The Regular Node Types such as Boolean 64 Bit Int 64 Bit Uint and 64 Bit Float can be configured up to 200 nodes...

Page 42: ...Real Time Automation Inc 42 1 800 249 1612...

Page 43: ...r groups to define a unique name for the nodes When in Auto Configure Mode these fields are not configurable you must be in Manual Configure Mode to change the names Regular Node Types will have up to...

Page 44: ...Real Time Automation Inc 44 1 800 249 1612...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 74: ...atus 1 Connected A PROFINET IO controller has a connection for the gateway 2 Not Connected a The PROFINET IO controller has not initiated communication to the gateway b The PROFINET IO server has an i...

Page 75: ...or the number of parameters written by the IO controller 4 PN Ethernet Pkts Received a Number of Layer 2 Ethernet Messages received 5 PN Ethernet Pkts Sent a Number of Layer 2 Ethernet Messages transm...

Page 76: ...wing only the OPC UA Server section this will only clear the values for the OPC UA Server section of the gateway Device Status 1 Connected An OPC UA client is connected and communicating to the gatewa...

Page 77: ...otal number of service level browse errors sent by the gateway 6 Timeouts a Total number of times the gateway has not received a request from an OPC UA client within the configured inactivity timeout...

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

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

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

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

Page 82: ...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...

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

Reviews: