Control Microsystems 5901 Manual de usuario Pagina 279

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 620
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 278
IEC61131 User and Reference Manual
April 22, 2008
271
getcom
Get serial port settings
Description
The getcom function block returns the configuration settings for a serial port.
comX
getcom
baud
type
fullDuplex
dataBits
parity
stopBits
txFlowControl
rxFlowControl
timeOut
Arguments
Inputs
Type
Description
comX
Integer
Communication port to get serial port settings, 1 to 4.
Outputs
Type
Description
type
Integer
Port type
0 = automatic
1 = RS232
3 = RS485
6 = RS232 MODEM
7 = RS232 Collision Avoidance
baud
Integer
Baud rate
0 = 75 baud 1 = 110 baud
2 = 150 baud 3 = 300 baud
4 = 600 baud 5 = 1200 baud
6 = 2400 baud 7 = 4800 baud
8 = 9600 baud 9 = 19200 baud
10 =38400 baud
11 = 115200 baud
12 = 57600 baud
fullDuplex
Boolean
Full-duplex operation when TRUE.
Half-duplex operation when FALSE.
parity
Integer
Parity type
0 = none
1 = even
2 = odd
Vista de pagina 278
1 2 ... 274 275 276 277 278 279 280 281 282 283 284 ... 619 620

Comentarios a estos manuales

Sin comentarios