background image

Kele • RUT-G Manual 2005 • www.kele.com • USA 888-397-5353 • International 901-382-6084

49

RS232/485 INTERFACE KEY

When the data packet has been successfully transmitted to the user device, the network interface key resets the RTS 
to a low state. In turn, when the user device has received the full data packet (‘\r’ hex 0x0d is last byte in packet), it 
must reset the CTS to a low state.

If the Packet Acknowledge (ACK) is enabled (see Definitions: PACKET ACKNOWLEDGE ENABLE/DISABLE), the 
user device must send the ACK character to the network interface key acknowledging that the packet was received.

Transmitting RS232 to the Frontier Network Interface Key from the User Device

RTS and CTS are not supported when the user device is transmitting data to the network interface key. The network 
interface key is designed to use communication input interrupts (interrupt driven) and buffers when receiving data 
from the user device.

When the user device transmits data, the network interface key processor is interrupted and immediately starts to 
read the incoming data packet. If the ACK is enabled, the network interface key will send the ACK character to the 
user device acknowledging the packet was received with the exception of polled data. In polled applications, the re-
quested packet is the ACK.

Transmission

 Timeout Periods

 or 

Character Counts

 must be used to prevent data buffer overruns. If the end char-

acter is not detected (or not sent), these measures provide a means to stop transmitting or receiving.

The following example can be used for determining transmission timeouts. Not all devices allow users to set timeouts 
for communication ports, but for those that do, the following is a good process to use.

This timeout period is based on individual data packets. It uses the baud rate and packet size: 
Timeout = 1.5 * ((1/Baud) * 10 bits * number of bytes in data packet). The constant 1.5 value adds extra time for basic 
processing and processor delays. If the timeout period is exceeded before the transmission is completed, the net-
work interface key or user device returning the CTS\RTS to a low state terminates the transmission.

For a 4800 baud rate and a 12 byte data packet (including start byte, end byte, and comma bytes), the Timeout Period 
is approximately 38 mS. For a 9600 baud rate and a 12 byte data packet, the Timeout Period is approximately 19 mS. 
For a 19,200 baud rate and a 12 byte data packet, the Timeout Period is approximately 10 mS. Because data packet 
transmissions vary by byte count, the timeout values must be calculated before each transmission.

Other means of control can also be used. Since data packet sizes are not known when receiving, this prohibits using 
a timeout based on packet size. Instead, test with character counting, based on the maximum byte count possible 
in the largest data packet (40 characters is a good number). As an alternative, or in addition to character counting, 
a fixed maximum timeout can be used. Use 100 milliseconds for 4800 baud, 50 milliseconds for 9600 baud, and 30 
milliseconds for 19,200 baud. These values allow buffering time for processing and may need to be adjusted depend-
ing on the application.

RS485 Communication

RS485 Master/Slave

The RS485 Frontier Gateway network interface key software is designed for Master/Slave operation with the user’s 
device as the master.

RS485 Addressing

The Interface Key must be set with a unique address on the Node Address Dip Switch located on the network inter-
face key. Refer to Table 6 for value settings. This address must be included in all transmissions to the Gateway and 
will be included in all transmissions to the user’s device.

COMMUNICATION WIRING

 IMPORTANT:

 

The network interface key will not transmit again until it sees the CTS line go to a low state from the previous 

 transmission.

Содержание RUT-G 2005

Страница 1: ...RUT G Manual 2005...

Страница 2: ...issioning a Field Preprogrammed LON Key Gateway 21 Con guration Variables 22 LNS Con guration Plug in Installing the Kele LNS Plug in Software and LON Support Files 23 Installing the LNS Plug in 23 Re...

Страница 3: ...58 Examples 60 TABLES Table 1 LON Supported SNVT Types list 65 Table 2 LON Unit Type Selection 66 Table 3 LON Loss of Signal Response Selection 66 Table 4 LON DIP Switch Settings 66 Table 5 RS232 485...

Страница 4: ...rough selected interface protocols The BAS will be able to communicate wirelessly to all Fron tier points within the same facility code This product is ideal for central monitoring and control of mult...

Страница 5: ...settings From 1 sec to 30 min Modulation Direct sequence spread spectrum Data rate 19 2 Kbps Analog resolution 12 bits 0 4095 counts Antenna Internal Approvals FCC CFR part 15 247 SPECIFICATIONS LON I...

Страница 6: ...ble SNVTs An XIF le and LNS plug in is included with each LON key RS232 RS485 communication is direct to the RUT G buffer and follows the Kele open protocol for interpretation di rectly by the BAS com...

Страница 7: ...Position the control modules so that the back two row pins are correctly aligned with the two row socket on the Gateway Do not push into the socket at this time 2 Rotate the control module so that th...

Страница 8: ...er programming tool RST K Kele Frontier survey tool kit RUT LP CD with Frontier LNS plug in installation manual pdf Frontier LON support les Any Kele Frontier wireless module MODEL DESCRIPTION RUT G R...

Страница 9: ...Connecting Accessing ETHERNET...

Страница 10: ...networked PC If this IP address is not compatible with the user s local network a standalone PC with a crossover Ethernet cable will be required for initial setup After connecting the RUT G to the ne...

Страница 11: ...networked PC To change the RUT G user password do the following 1 Click the change link next to the Password sub window at the lower right 2 On the next screen enter the new user ID and password and c...

Страница 12: ...er named to relate to installed areas 3 Selecting any of the named inputs outputs or Group in the Field Location column produces a highly de tailed report for that point as shown on the following page...

Страница 13: ...ETHERNET Kele RUT G Manual 2005 www kele com USA 888 397 5353 International 901 382 6084 12 DEVICE DETAIL SCREEN EXAMPLE...

Страница 14: ...LON INTERFACE KEY Diagrams Installation Con gurations And More...

Страница 15: ...ree keys All oat type 4 byte SNVTs supported Fully con gurable using the supplied Kele Frontier plug in LNS Support for Ethernet web server Permits exible and easily recon gurable connectivity among d...

Страница 16: ...ocal Processor and the RF Radio Transceiver Serial links pass data between the modules Figure 1 The Serial Data between the LON KEY Control Module Local Processor and RF Radio Transceiver is transpare...

Страница 17: ...etwork variables using three nodes LON KEYS on one LonWorks channel Each node can have up to 40 network variables Figure 2 One Frontier Gateway with 120 network variables using three nodes LON KEYS on...

Страница 18: ...rom the Frontier eld devices Receive Transmit Status and Service LEDs indicate the Gateway s activity on the LonWorks network There is one set of LEDs per node FRONTIER GATEWAY PHYSICAL LAYOUT Figure...

Страница 19: ...one ser vice pushbutton per node DIP Switches Refer to Table 4 on page 66 for more information on DIP Switch settings Switches 1 through 4 are used to select Frontier transceiver channels A B C D Cha...

Страница 20: ...Refer to Echelon FTT 10A Free Topology Transceiver user s manual available at www echelon com for con gura tions not speci cally shown here Note that terminals REFx RTSx CTSx on the Gateway circuit ca...

Страница 21: ...ble SNVT types or SNVT format ting The Kele LNS plug in supplies the les XIF resource etc required for the LON KEY In addition the Kele web site at www kele com has the latest versions of all required...

Страница 22: ...ceived data from the Frontier eld transmitters Lost Signal Response is a value used to inform the local processor how to handle a lost signal from a eld transmit ter The lost signal response is valid...

Страница 23: ...C Program Files Frontier Plug in types user kele Frontier_gw typ Frontier Plug in Help les Do not relocate C Program Files Frontier Plug in Help STATHELP rtf C Program Files Frontier Plug in Help FCHe...

Страница 24: ...the plug in from the Windows registry before removing the le from the computer If this is not done a warning message may be displayed each time the network management tool is started When de register...

Страница 25: ...lug in directory under Types By default this is C Program Files Frontier Plug in Types The resource les have been created for use with LNS based sys tems and may not be compatible with all LON based s...

Страница 26: ...ge SNVT Type Format click on Change button Clears the log window Displays the NV monitor screen Name of the network node the plug in is targeting Logs the actions and faults that have taken place All...

Страница 27: ...reen Always click the Apply button if enabled before changing screens or NVs 6 When all value changes to the screen have been made click the Apply button Or if the changes are to be discarded click Ca...

Страница 28: ...ver The NVI screen Figure 10 is used to transmit the network variables to a Frontier eld receiver point All NVI screens set up the Frontier Gateway as a transmitter for Frontier eld receivers RO 4 RDO...

Страница 29: ...t Number A value of 4 has been entered The NV value will be transmitted to the eld receiver that matches the above Tx ID and the value will be applied to output point number 4 of that receiver The re...

Страница 30: ...reen it is more ef cient to make all re quired changes to the screen and then click the Apply button NVI SCREEN CONTINUED Figure 12 Unlike the Apply button that must be clicked for each screen the Dow...

Страница 31: ...d to the programmed targeted eld transmitter Note that the Transmitter Lost Signal Response is not on the NVI screen as it only applies to NVO screens See Transmitter Lost Signal Response on page 32 T...

Страница 32: ...will set the Loss of Sig nal fault SNVT_switch to an active on state Refer to Transmitter Lost Signal Response below for additional actions that will take place on a loss of signal 4 Transmitted Point...

Страница 33: ...e is global to all Frontier transmitters receivers repeaters and the Gateway All Frontier transmitters receivers repeaters and the Gateway must have the same facility code or communication between dev...

Страница 34: ...the user s network manager documentation for information on this item 3 nvoFileDirectory Refer to the user s network manager documentation for information on this item 4 Reset Button This button will...

Страница 35: ...T TYPE A bad or unsupported NVO SNVT type has been found This is an uncommon fault It will occur only if another LON tool is used to set up the Frontier and an SNVT type is selected that the Frontier...

Страница 36: ...ct 21 is the rst NVO TxOutput NVO 0 object 22 is TxOutput NVO 1 and so on The nvoStatus displays the object s condition as ones and zeros with a 1 being active No identifying text is included The Kele...

Страница 37: ...selections On SNVTs with multiple format listings if no format selection is made a default format will au tomatically be used typically the second format in list However it is advisable to select the...

Страница 38: ...o the next NV or previous NV click on the arrow buttons Data will change in each eld as it relates to this NV Note All data displayed on this screen pertains only to the selected NV Apply button When...

Страница 39: ...ion the log window is up dated to display the changes Figure 21 CHANGING SNVT TYPES AND FORMATS CONTINUED Figure 21 Help screens are available for each type of screen NVI NVO Facility Code Status and...

Страница 40: ...onitoring only Editing of values is not allowed NV MONITOR SCREEN Indicates when the LNS Plug in is reading the node for updates Log screens Displays all NV updates with last value In addition time st...

Страница 41: ...LON INTERFACE KEY Kele RUT G Manual 2005 www kele com USA 888 397 5353 International 901 382 6084 41 NOTES...

Страница 42: ...ASCII RS232 485 Communications Diagrams Installation Con gurations And More...

Страница 43: ...covers the RS232 RS485 serial process between the user device and Frontier Gateway network interface key Each RS232 485 Key supports 150 I O refer to Table 7 for key types The maximum I O that the RUT...

Страница 44: ...he CTS on the Gateway terminal strip The network interface key is a DTE Refer to Figure 5 for jumper settings COMMUNICATION WIRING USER DEVICE RS232 DTE TXD RXD GND RTS CTS RS232 Ports Shields to Chas...

Страница 45: ...face key is a standard two wire twisted pair differential driver receiver device There are no ow control pins supported Refer to Figure 5 for jumper settings COMMUNICATION WIRING USER DEVICE RS485 TXD...

Страница 46: ...SB rst 1 stop bit The network interface key is capable of baud rates of 4800 9600 and 19 200 The baud rates for the network interface key are jumper selectable on the network interface key circuit boa...

Страница 47: ...t size Timeout 1 5 1 Baud 10 bits number of bytes in data packet The constant 1 5 value adds extra time for basic processing and processor delays If the timeout period is exceeded before the transmiss...

Страница 48: ...p switch setting and if a match is found the data is processed If no match is found the data is discarded When the user device is sending data to a Frontier eld de vice RO 4 RDO 2 etc and if the ACK i...

Страница 49: ...Ds Service Reset Pushbuttons Serial Key Connections Pluggable Receive Transmit Status and Service Reset LEDs Power Connection pluggable Frontier Gateway shown with one control module and two open sock...

Страница 50: ...he activity of the transceiver receiving and transmitting data to from the main processor DIP Switches Refer to Table 4 for more information on Dip Switch settings Switches 1 through 4 are used to sel...

Страница 51: ...r all Program Memory 19 200 Baud 9600 Baud RST CTS Baud Rate 1 2 3 4 TOP VIEW END VIEW RTS CTS Jumper Instal Jumper when RTS and CTS are not used No Jumper for 4800 Baud Rate Recycle power after Jumpe...

Страница 52: ...ferred to as constants Data Packet Type identi es what type of data is in the packet referred to as data packets It will always be the sec ond data item in each packet following the key address value...

Страница 53: ...mas are used to separate data values The rst data item is the network interface key address For RS232 ap plications this value will always be zero 0 The second data value of each packet is the packet...

Страница 54: ...485 received data by the user s device and Frontier Gateway network interface key Signal Strength is sent to the user device in the output data packet This value in db is the power of the Frontier tr...

Страница 55: ...t is programmed using Tx IDs to respond to a related transmitter and point number TXD is RS232 485 transmitted data from the user s device and the Frontier Gateway network interface key Unit Type is t...

Страница 56: ...condition set Input Con guration Packet Data Type 2 This con guration is for the Frontier radio receivers Gateway transmit ted outputs to receivers Receivers respond only to their program transmitter...

Страница 57: ...pe 6 Network Interface Request Polled Update Data Packet Data Type 7 When the network interface key receives this packet it responds by sending a data packet 5 to the user s device Data items 2 and 3...

Страница 58: ...nt Number 4 Unit Type 10 High Limit 4090 Low Limit 5 Time Interval 120 Total of eight data items Byte Count 28 address User Device Transmit Code AAA 2 2050 4 10 4090 5 120 r Network Interface Key ACK...

Страница 59: ...f signal unless the battery is replaced within two or three days Total of eight data items Byte Count 28 address Network Interface Key Transmit Code AAA 5 502 1 2 68 00 12 22 3 r User Device ACK Netwo...

Страница 60: ...Kele RUT G Manual 2005 www kele com USA 888 397 5353 International 901 382 6084 62 RS232 485 INTERFACE KEY NOTES...

Страница 61: ...TABLES...

Страница 62: ...LON INTERFACE KEY Kele RUT G Manual 2005 www kele com USA 888 397 5353 International 901 382 6084 65 TABLE 1...

Страница 63: ...LON INTERFACE KEY Kele RUT G Manual 2005 www kele com USA 888 397 5353 International 901 382 6084 66 TABLE 2 TABLE 3 TABLE 4...

Страница 64: ...200 bps Maximum Driver Output Voltage 25V 1 5V Driver Output Signal Level Loaded Min Loaded 15V 1 5V Driver Output Signal Level Unloaded Max Unloaded 25V 6V Driver Load Impedance 3k to 7k 54 Max Drive...

Страница 65: ...1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000...

Страница 66: ...ey 2 232 key 3 232 key 4 232 key 5 485 key 1 485 key 2 485 key 3 485 key 4 485 key 5 150 Outputs 150 Inputs 75 Inputs 75 Outputs 100 Outputs 50 Inputs 100 Inputs 50 Outputs 150 Outputs 150 Inputs 75 I...

Отзывы: