PORTMODE modestring
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 "COM
.
This is the same format that is used by MODE, the Windows command shell program.
n
:SPEED
,PARITY
,DATA
,STOP
PORTOPEN "com1
PORTMODE "com1:9600,n,8,1