Page 2 of 6 |
2.Configuring the Telnet driver
To use the Telnet driver, the configuration (*.csv) file in use must resemble the following example:
| // | Set up common information |
|
|
|
|
|
| |||
| FieldServer |
|
|
|
|
|
|
|
| ||
| Title |
|
|
|
|
|
|
|
|
|
|
| Telnet Server |
|
|
|
|
|
|
|
| ||
| Adapters |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| ||
| Adapter, | Protocol, | Username, | Password, | autoconnect_port, | autoconnect_mode, | session_timeout | ||||
| N1, |
| TLN, | Joe, | Secret, | R1, |
| Text, | 60s | ||
|
|
|
|
|
|
|
|
|
| ||
| Adapters |
|
|
|
|
|
|
|
| ||
| Adapter,protocol |
|
|
|
|
|
|
|
| ||
| N1,SMT |
|
|
|
|
|
|
|
| ||
| // | Set up the TLN Server side |
|
|
|
|
| ||||
| Ports |
|
|
|
|
|
|
|
|
|
|
| Port |
|
|
| Baud |
|
| Parity |
|
| |
| R1 |
|
|
| 9600 |
|
| None |
|
| |
| R2 |
|
|
| 9600 |
|
| None |
|
| |
| P1 |
|
|
| 9600 |
|
| None |
|
| |
| P2 |
|
|
| 9600 |
|
| None |
|
| |
| // examples of virtual | comports |
|
|
|
|
|
| |||
| VS1 |
|
|
| - |
|
| - |
|
|
|
| VC1 |
|
|
| - |
|
| - |
|
|
|
Note that the Telnet Driver will only be able to connect to ports that have been declared in the configuration file.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408)