PORTMODE

Synopsis
PORTMODE modestring
Description

Sets the mode (speed, parity, data bits, and stop bits) of the open COM port. The flow control characteristic cannot be set through FMSLogo.

The modestring must be of the form "COMn:SPEED,PARITY,DATA,STOP. This is the same format that is used by MODE, the Windows command shell program.

Example
PORTOPEN "com1
PORTMODE "com1:9600,n,8,1

SourceForge.net Logo