MMX4x2 series – User's Manual 78
Command and Response
<switch>}
<switch>
Parameters
If the <switch> parameter is 0, the port is disabled. If its value is 1, the port is enabled.
Example
Setting the Control Protocol
See more information about the RS-232 modes in the RS-232 Serial Interface section.
Command and Response
{RS232=<mode>}
(RS232=<mode>
Parameters
Parameter Parameter description
<mode> The serial port working mode
PASS
Pass-through mode
CONTROL
Control mode
CI
Command Injection mode
The current setting can be queried by the {RS232=?} command.
Example
Serial Port Format Setting (Local port)
This command sets the format of the local RS-232 port (Phoenix).
Command and Response
<baud_rate>;<data_bit>;<parity>;<stop_bit>}
<baud_rate>;<data_bit>;<parity>;<stop_bit>
Parameters
Parameter Parameter description
<baud_rate> Baud rate setting (optional)
4800; 7200; 9600; 14400;
19200; 38400; 57600; 115200
<data_bit> Databit setting (optional)
8; 9
<parity> Parity setting (optional)
N; E; O
<stop_bit> Stop bit setting (optional)
1; 1.5; 2
The current setting can be queried by the {RS232_LOCAL_FORMAT=?} command. Any parameter can be
skipped by using 'X' as a value, see the example.
Example
The databit and parity settings have not been changed.
Serial Port Format Setting (Link port)
DIFFERENCE: This command is available for the MMX4x2-HT200 model only.
This command sets the format of the link RS-232 port (TPS port).
Command and Response
<baud_rate>;<data_bit>;<parity>;<stop_bit>}
<baud_rate>;<data_bit>;<parity>;<stop_bit>
Parameters
See the previous section.
Example
The databit and parity settings have not been changed.