6.LW2Programmer'sReference
HDMI-TPS-TX200series–User'sManual
76
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
6.7. Serial Port Configuration
6.7.1.
Setting the Control Protocol
SeemoreinformationabouttheRS-232modesinthe
Command and Response
{RS232=
<mode>
}
(RS232=
<mode>
)CrLf
Parameters
Parameter
Parameterdescription
Value
Valuedescription
<mode>
Theserialportworkingmode
PASS
Pass-throughmode
CONTROL
Control mode
CI
CommandInjectionmode
Thecurrentsettingcanbequeriedbythe
{RS232=?}
command.
Example
{RS232=CONTROL}
(RS232=CONTROL)
6.7.2.
Serial Port Format Setting (Local port)
ThiscommandsetstheformatofthelocalRS-232port(Phoenix).
Command and Response
{RS232_LOCAL_FORMAT=
<baud_rate>;<data_bit>;<parity>;<stop_bit>
}
(RS232_LOCAL_FORMAT=
<baud_rate>;<data_bit>;<parity>;<stop_bit>
)CrLf
Parameters
Parameter
Parameterdescription
Value
Valuedescription
<baud_rate>
Baudratesetting(optional)
4800; 7200; 9600; 14400;
19200; 38400; 57600; 115200
<data_bit>
Databitsetting(optional)
8; 9
<parity>
Paritysetting(optional)
N; E; O
<stop_bit>
Stopbitsetting(optional)
1; 1.5; 2
The current setting can be queried by the
{RS232_LOCAL_FORMAT=?}
command. Any parameter can be
skippedbyusing'
X
'asavalue,seetheexample.
Example
{RS232_LOCAL_FORMAT=57600;X;X;1}
(RS232_LOCAL_FORMAT=57600;8;N;1)
Thedatabitandparitysettingshavenotbeenchanged.
6.7.3.
Serial Port Format Setting (Link port)
ThiscommandsetstheformatofthelinkRS-232port(TPSport).
Command and Response
{RS232_LINK_FORMAT=
<baud_rate>;<data_bit>;<parity>;<stop_bit>
}
(RS232_LINK_FORMAT=
<baud_rate>;<data_bit>;<parity>;<stop_bit>
)CrLf
Parameters
Seetheprevioussection.
Example
{RS232_LINK_FORMAT=38400;X;X;1}
(RS232_LINK_FORMAT=38400;8;N;1)
Thedatabitandparitysettingshavenotbeenchanged.
6.7.4.
Serial Port Protocol Setting (Local port)
Command and Response
{RS232_LOCAL_PROT=
<protocol>
}
(RS232_LOCAL_PROT=
<protocol>
)CrLf
Parameters
Parameter
Parameterdescription
Value
Valuedescription
<protocol>
The applied protocol in the
communication
LW2
Lightware2Protocolisactive
LW3
Lightware3Protocolisactive
Thecurrentsettingcanbequeriedbythe
{RS232_LOCAL_PROT=?}
command.
Example
{RS232_LOCAL_PROT=LW2}
(RS232_LOCAL_PROT=LW2)
6.7.5.
Serial Port Protocol Setting (Link port)
ThiscommandsetsthecommunicationprotocolofthelinkRS-232port(TPSport).
Command and Response
{RS232_LINK_PROT=
<protocol>
}
(RS232_LINK_PROT=
<protocol>
)CrLf
Parameters
Seetheprevioussection.
Example
{RS232_LINK_PROT=LW2}
(RS232_LINK_PROT=LW2)