background image

 

Real Time Automation, Inc. 

57 

1-800-249-1612 

 

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.  

 

1)

 

Stale Data Timer

: If the data has not changed within the time allocated in this Stale Data Timer, 

the data will be marked as stale within the gateway and will force a write request to occur. This 
timer is to be used to force cyclic updates in the gateway, since data will only be written if it has 
changed by default. There is a separate timer per data mapping. 

Gateway behavior

:  

 

If time = 0s => (DEFAULT) The gateway will write out new values on a Change of State 
basis.  

 

If time > 0s => The gateway will write out new values whenever the timer expires to 
force cyclic updates (write every 

x

 seconds). 

2)

 

Production Inhibit Timer:

 Amount of time after a Change of State write request has occurred 

before allowing a new Change of State to be written. This 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 goes out and the first COS event 
occurs. 

3)

 

Writes Before Reads

: If multiple writes are queued, execute # of Writes Before Reads before the 

next read occurs. Default is 10 and should fit most applications.  

Warning

:

 A value of 0 here may starve reads if a lot of writes are queued. This may be useful in 

applications where a burst of writes may occur and you want to guarantee they all go out before 
the next set of reads begin. 

4)

 

Reads Before Writes:

 If multiple writes are queued, the # of Writes Before Reads will occur 

before starting the # of Reads Before Writes. Once the # of Reads Before Writes has occurred, 
the counter for both reads and write will be reset. Default is 1 and should fit most applications. 

5)

 

Enable Data Integrity

: If enabled, do not execute any write requests to the destination until the 

source data point is connected and communicating. This prevents writes of 0 upon power up. 

 

Click the 

Save Parameters

 button to commit the changes to memory and reboot the gateway.  

Default values should fit most applications. Change these values with caution as they affect performance. 

Summary of Contents for 460MCA-N34

Page 1: ...Real Time Automation Inc 1 1 800 249 1612 Firmware Version 5 2 14 460MCA N34 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: ...nfiguring Read Scan Lines 20 Configuring Writes Scan Lines 21 Configuring Read and Write Scan Lines cont 22 ASCII Configuration 23 Receive Data 24 Transmit Data 25 Transmit Data Triggering Methods 26...

Page 4: ...ion Security Levels 50 Security Log In 51 Security Log Out 51 Email Configuration 52 Alarm Configuration 53 Diagnostics Alarm Status 55 Alarms Active 55 Alarms Clear 56 Change of State COS Configurati...

Page 5: ...to add in prefixes to the filename for BETA and DEMO 2 Updated Copyright Year to 2017 5 2 3 1 19 17 Bug Fixes 1 BACnet IP Server BS COV Change of Value Notifications with Binary Objects both Input an...

Page 6: ...devices is dependent on the Hardware and Product number of the 460 gateway For further customization and advanced use please reference the appendices located on the CD or online at http www rtaautoma...

Page 7: ...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 8: ...Real Time Automation Inc 8 1 800 249 1612 Hardware N34...

Page 9: ...WARNING EXPLOSION HAZARD Substitution of components may impair suitability for Class I Division 2 THIS EQUIPMENT IS AN OPEN TYPE DEVICE AND IS MEANT TO BE INSTALLED IN AN ENCLOSURE SUITABLE FOR THE E...

Page 10: ...ettings 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...

Page 11: ...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 4 Release downward pressure Removing Fo...

Page 12: ...dress 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 169 254 X Y ii If successful it will say DHCP d at ex 192 168 0 100 or howeve...

Page 13: ...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 14: ...s 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 The webpage will redirect to our reboo...

Page 15: ...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 16: ...o make these changes Once you are done configuring the Description and the Network Settings click the Save Parameters button If you are changing the IP Address of the gateway the change will not take...

Page 17: ...etween 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 3 Delay Between Connect Attempts...

Page 18: ...y configured from another server click the Select dropdown and select the Add from Modbus TCP IP X option where X represents the server you wish to copy parameters from Once created you can make any a...

Page 19: ...on 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 If the bytes appear in th...

Page 20: ...may select string as a point type in Modbus With this point type 2 characters will be packed into a single register and the first register will be set aside for the length EX 4x Hold Reg String with a...

Page 21: ...int type in Modbus With this point type 2 characters will be packed into a single register and the first register will be set aside for the length EX 4x Hold Reg String with a Starting Address of 1 fo...

Page 22: ...ameters 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...

Page 23: ...To remove a device navigate to the ASCII device to delete using the and buttons and click the Delete ASCII Device button To create a new ASCII device with the same parameters already configured from...

Page 24: ...ASCII device to the Gateway 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 was sent b...

Page 25: ...ay will hold before starting to discard Only used if Gateway Hold Msg Timeout is non zero Transmit Data This side is configured to transmit data from the gateway into the ASCII device Use the followin...

Page 26: ...te This means that when any of the data changes the 460 will transmit a new ASCII message with the new data 2 Cyclic This means that every x ms a new ASCII message will be transmitted regardless of wh...

Page 27: ...ew message to be triggered Depending on the TransTigger value one of 4 things will occur 1 If TransTrigger 65535 then the triggering method is disabled 2 If TransTrigger 0 then the triggering method i...

Page 28: ...ill be flagged if the actual number of fields is less than this value 3 Parsing Delimiter This defines the delimiter that will be used to parse an ASCII message If delimiters are not present select UN...

Page 29: ...n this example we are separating the fields in the string 12 25 SP100 temp setpoint using the start and length parameters The first value is being parsed from the 1st character for a length of 5 and s...

Page 30: ...value is being parsed from the 1st character for a length of 2 and stored into an integer data type The second value is being parsed from the 3rd character of the second comma parsed field for the rem...

Page 31: ...ASCII string If a delimiter should not appear between each of the fields select UNUSED 3 Data Type Select the data type of the parsed value a Signed and Unsigned 8 16 32 64 Bit Integers b 32 64 Bit F...

Page 32: ...less than the Max Characters padding Zeroes Spaces or Nothing to the remaining character placeholders The padding will occur to the left of the value 8 Add Delim Used when a Concatenating Delimiter i...

Page 33: ...d03 It will output as an integer with a max of 10 characters padded with spaces and a comma will be added to the end of the value o EX ____123456 shown with _ s to see spaces Field 4 32 bit float repr...

Page 34: ...Real Time Automation Inc 34 1 800 249 1612 Sample Result...

Page 35: ...ng the Data Mapping webpage It is mapped just like the Status_XY variable described in the Data Mapping Adding Diagnostic Information section of this userguide Example For this example the other proto...

Page 36: ...e details Option 2 String Auto Configure The gateway 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...

Page 37: ...tocol 1 to Protocol 2 or Protocol 2 to Protocol 1 button correlating to the direction you wish to see the data This page is very useful when verifying that all data is mapped somehow from one protocol...

Page 38: ...m Modbus registers 400001 400005 and therefore can pass the data on to the PLC tag called MC2PLC_INT The 460 gateway has NOT received valid responses from Modbus register 400011 400012 As a result the...

Page 39: ...ex and ASCII 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 In the example below this page refl...

Page 40: ...r data 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...

Page 41: ...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 42: ...except manipulations will be conducted against the 64bit floating point to allow for large data 3 Ticks Per Second a The gateway operates at 200 ticks per second This equates to one tick every 5ms Th...

Page 43: ...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 44: ...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 45: ...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 46: ...ed to Manual 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 configu...

Page 47: ...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 an...

Page 48: ...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 49: ...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 50: ...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 51: ...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 52: ...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 53: ...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 54: ...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 55: ...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 increment Alarms Active While one or more alarms a...

Page 56: ...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 d...

Page 57: ...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 58: ...t are enabled Error The number of mappings that are enabled that have an error First Error This is a detailed description of the first mapping that has an error Common Errors 1 Destination or Source P...

Page 59: ...will return all values displayed to 0 and clear the Status Strings Example If viewing Modbus TCP IP Client MC02 10 1 100 17 this will only clear the values for that specific device This will reduce t...

Page 60: ...s 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 protoc...

Page 61: ...onse messages not received by the gateway Status Strings These are the values for All Servers or the specific Server selected 1 Last Error Code a Last Read Request Error that the gateway received Erro...

Page 62: ...rying to Read a Single Coil for any number of points IP 10 1 50 27 is the address that sent the error N 1 from device 1 This was setup as Unit ID in Modbus TCP IP Client page A 1 Starting address of 1...

Page 63: ...ample If Viewing ASCII Port 10 this will only clear the values for Port 10 This will reduce the All ASCII values indirectly Clear Buffers This will clear the Next Message to Send from Queue buffer and...

Page 64: ...or End Delimiters being seen Received due to Timeout Number of Messages Completed due to the Receive Character Timeout being reached Received but Discarded Number of Messages that are Complete but di...

Page 65: ...intable ASCII characters like CR will be displayed as on the right hand side of the buffer area Last Message Sent Last Complete Message the gateway received from the ASCII device processed and sent to...

Page 66: ...acter to call the current message complete 3 Delimiters gateway has not received the delimiters that are specified Last Message Sent to ASCII Last Message that the gateway sent to the ASCII device Not...

Page 67: ...otocol 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 To select a particular Slave Ser...

Page 68: ...onfiguration file or a configuration file from another 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 f...

Page 69: ...m gateway 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 dro...

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

Reviews: