background image

 

Real Time Automation, Inc. 

18 

1-800-249-1612 

 

 

 

 

 

PROFINET IO Server Slot Configuration 

The bottom area of the PROFINET IO Server Configuration page lets you configure multiple input and 
output slots.   

1)

 

Profinet server supports 1248 Input bytes and 1248 Output bytes. 

2)

 

Data Size is configurable. 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 configure this protocol: 

1)

 

Auto-Configure Group by Device (Default) 

2)

 

Auto-Configure Group by Data Type 

3)

 

Manual Mode 

NOTE

: You may go back and forth between modes, but when reverting from Manual Mode to either of 

the two Auto-Configure Modes, all changes made in Manual Mode will be discarded. 

 

Summary of Contents for 460PSWI-NNA4

Page 1: ...Real Time Automation Inc 1 1 800 249 1612 Firmware Version 8 7 22 460PSWI 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: ...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 Classic Step 7 22 Setting up the P...

Page 4: ...Output 52 Writing Data to the Gateway 53 Which method to use 53 The multipart form data Method 53 The application x www form urlencoded Method 55 Minimum XML Input 56 Expanded XML Input 56 Special Not...

Page 5: ...figuration 82 Diagnostics Alarm Status 84 Alarms Active 84 Alarms Clear 85 Change of State COS Configuration 86 Diagnostics Info 87 Diagnostics Mapping 87 Diagnostics PROFINET IO Server 88 Diagnostics...

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: ...the 460PSWI 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 time...

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 460PSWI 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: ...es in which the Web Interface may operate in the gateway a Sever Mode b Client Mode Web Interface Gateway Server Configuration 1 Server Mode where the gateway acts as a web server and responds to HTTP...

Page 36: ...pload php b http 192 168 100 1 8080 if special port 8080 is to be used c http yourserver yourdomain 8080 upload asp if special port 8080 is to be used 2 Username Password If the Destination URL entere...

Page 37: ...t over to the web sever Next time the operator sends the same data HelloWorld The WI side gathers the data but the data didn t change so it will not be sent over to the WI portion of the RTA gateway T...

Page 38: ...h direction in the web interface may be configured for up to 1000 data points there is an overall limit between the read and write direction of 1000 data points total There are three ways to configure...

Page 39: ...Int data will be mapped as INT 32 bit 8 Any 64 Bit Int data will be mapped as INT 64 bit 9 Any 8 Bit Unsigned Int data will be mapped as UINT 8 bit 10 Any 16 Bit Unsigned Int data will be mapped as U...

Page 40: ...s two devices with the following setup Device_1 has 1 integer scan line 1 float scan line 1 integer scan line each for 1 point of data Device_2 has 1 integer scan line 1 float scan line each for 2 poi...

Page 41: ...ant to modify the data point s that already exist 4 To delete the data points that are already there and start over press Cancel Configuring Read and Write Data Points Follow these steps to manually c...

Page 42: ...teway 3 Enter a Name for the data point This name will be used in the XML JSON and must follow the following rules a Consist only of alphanumeric characters and the underscore character no spaces b Le...

Page 43: ...ify the name please see the Web Interface Group Configuration page i If the other protocol is a client master with multiple slaves servers typically this device field is used to represent each of thos...

Page 44: ...shows how you would configure the data points Since we want to monitor 4 points on each floor you ll need a total of 12 points Once the Groups and Devices have been defined come back to this page to a...

Page 45: ...must not start with a number 5 Name must not start with the string XML NOTE Although the names are case insensitive the original capitalization will be maintained and used in the XML JSON 6 After a n...

Page 46: ...Real Time Automation Inc 46 1 800 249 1612 8 When done making changes click the Save Parameters button...

Page 47: ...ing enter Basics To begin you will need to know the IP address of your 460WI Gateway If you do not know the IP address refer to Accessing the Main Page Section The examples in this document will use 1...

Page 48: ...questing an individual device For example to request data encoded as XML for a group of devices named Breakers_West the URL would be http 192 168 0 1 gateway xml group Breakers_West The format is http...

Page 49: ...n Inc 49 1 800 249 1612 Note that the string of data point names to filter by begins with a question mark after the group name and each name is separated by an ampersand The ordering of the points nam...

Page 50: ...encoded data Advanced Optional XML Data Direction Annotation An additional option when requesting all the data from the gateway in XML format is to include the annotateio true option in the request UR...

Page 51: ...as shown below Description of Format Both XML and JSON 1 The GroupName and DeviceName tags contain the name of name the gevice and the group associated with that element 2 The dataTimeStamp tag indica...

Page 52: ...04T21 06 50 dataTimeStamp Power 237 Power Current 344 Current Device Device GroupName Breaker_Set_A GroupName DeviceName Breaker_2A DeviceName dataTimeStamp 2016 07 04T21 06 50 dataTimeStamp Current_...

Page 53: ...ON is inconvenient Aside from the encoding method itself the primary functional difference between the two methods is that the multipart form data method may be used to write all the devices and data...

Page 54: ...on Inc 54 1 800 249 1612 your data the name attribute you should use is WI460XMLData and if you are using JSON the name attribute you should use is WI460JSONData Your application scripting language or...

Page 55: ...eway the encoding segment of the path JSON or XML is omitted in this case There is no hard limit to the number of points that can be written with a single urlencoded post but the urlencoded string sho...

Page 56: ...put At minimum the XML POST is the Devices root element and at least one Device child element containing the matching DeviceName tag of the device to be written to and finally at least one writable da...

Page 57: ...uivalent characters before writing the STRING data to the other protocol The reverse is also true when reading STRING data from the other protocol Minimum JSON Input At minimum a valid JSON post must...

Page 58: ...gle JSON write Special Note for JSON Strings There is an additional consideration when writing STRING data types The gateway recognizes and will convert the standard JSON escape sequences to their ASC...

Page 59: ...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 60: ...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 61: ...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 62: ...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 63: ...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 64: ...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 65: ...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 66: ...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 67: ...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 68: ...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 69: ...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 70: ...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 71: ...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 72: ...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 73: ...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 74: ...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 75: ...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 76: ...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 77: ...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 78: ...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 79: ...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 80: ...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 81: ...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 82: ...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 83: ...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 84: ...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 85: ...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 86: ...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 87: ...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 88: ...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 89: ...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 90: ...T operations and the inactivity timeout if configured has not expired 2 Connected Idle The gateway is servicing HTTP GET or HTTP POST operations and the inactivity timeout has expired 3 Not Connected...

Page 91: ...e for data point referenced 8 Failed GET 403 Forbidden a Number of times a GET request came from an unauthorized IP address or an IP address without enough READ privileges 9 Failed POST 403 Forbidden...

Page 92: ...File Post Procedure b Internal Errors Should rarely see and indicated a major problem in the gateway i XML JSON Output I O Failure ii XML JSON Output Buffer Overflow iii Internal POST Error 500 c HTT...

Page 93: ...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 94: ...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 95: ...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 96: ...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 97: ...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 98: ...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: