Subversion Repositories factorylink.valmet

Rev

Blame | Last modification | View Log | Download

*---------------------------------------------------------------------------
*
* Format translation file for Serial Communication Settings
*
*---------------------------------------------------------------------------

*---------------------------------------------------------------------------
*
* Serial Communication Settings
*
*---------------------------------------------------------------------------
*
* Every serial port is described with one line. Every line has two parts.
* First the port identification, this must always be 'PORT' followed (no 
* spaces) by the port number (1 .. 4).
* Second part are the communication settings, all on the remainder of the 
* line and separated by at least one space.
* They are interpreted in a fixed order by a protocol driver. The order is:
*
* 1    Baud rate  (decimal number)               9600 is default value
* 2    Data bits  (decimal number, one digit)    8 data bits is default
* 3    Parity     (NONE, EVEN, ODD, MARK, SPACE) NONE is default
* 4    Stop bits  (1, 1.5, 2)                    One stop bit is default
* 5    RTS/CTS    (Y, N)                         Use the RTS and CTS signals 
*                                                or not, N is default
* 6    DTR/DSR    (Y, N)                         Use the DTR and DSR signals 
*                                                or not, N is default
* 7    XON/XOFF   (Y, N)                         Use XON/XOFF flow control
*                                                or not, N is default
* 8    XON char   (hexadecimal, two digits)      Decimal representation of
*                                                XON character.
* 9    XOFF char  (hexadecimal, two digits)      Decimal representation of
*                                                XOFF character.
*
*---------------------------------------------------------------------------
*
*---------------------------------------------------------------------------
* Port ID  Baud rate Data bits Parity Stop bits RTS/CTS DTR/DSR FLOW XON XOFF          
*---------------------------------------------------------------------------
EN PORT1      9600      8         EVEN   1         N       N       N    0   0
FR PORT1      
DE PORT1      
EN PORT2      9600      8         EVEN   1         N       N       N    0   0
FR PORT2      
DE PORT2      
EN PORT3      9600      8         EVEN   1         N       N       N    0   0
FR PORT3      
DE PORT3      
EN PORT4      9600      8         EVEN   1         N       N       N    0   0
FR PORT4      
DE PORT4      
*---------------------------------------------------------------------------


*---------------------------------------------------------------------------
*
* Serial Port Definition
*
*---------------------------------------------------------------------------
*
* Port naming conventions for the different platforms.
*
*---------------------------------------------------------------------------
*
EN PORT_OS2             COM%1d
FR PORT_OS2             
DE PORT_OS2             
EN PORT_WIN             COM%1d
FR PORT_WIN             
DE PORT_WIN             
EN PORT_NT              COM%1d
FR PORT_NT              
DE PORT_NT              
EN PORT_UNIX            /dev/tty%2d
FR PORT_UNIX            
DE PORT_UNIX