MMX4x2 series – User's Manual 121
Databit Setting
Command and Response
ç <serial_port>.DataBits=<databit>
æ <serial_port>.DataBits=<databit>
Parameters
Parameter Parameter description
<serial_port> Serial port number
P1, P2
<databit> Databit value 8, 9
Example
ç
æ
RS-232 Operation Mode
Command and Response #commandinjection
ç <serial_port>.Rs232Mode=<rs232_mode>
æ <serial_port>.Rs232Mode=<rs232_mode>
Parameters
Parameter Parameter description
<serial_port> Serial port number
P1, P2
<rs232_mode> RS-232 operation mode
0
Pass-through
1
Control
2
Command Injection
Example
ç
æ
Command and Response
ç <serial_port>.CommandInjectionEnable=<ci_enable>
æ <serial_port>.CommandInjectionEnable=<ci_enable>
Parameters
Parameter Parameter description
<serial_port> Serial port number
P1, P2
<ci_enable> Command injection
setting
true
Command Injection is enabled
false
Command Injection is disabled
Example
ç
æ
INFO: The Command injection mode status is stored in the CommandInjectionStatus property.
RS-232 Message Sending
Sending a Message (ASCII-format) via RS-232
The command is for sending a command message in ASCII-format. This method allows escaping the control
characters. For more information, see the Escaping section.
Command and Response #message
ç <message>)
æ
Example
ç
æ
Sending a Text (ASCII-format) via RS-232
The command is for sending a command message in ASCII-format. This method does not require escaping
the control and non-printable characters.
Command and Response
ç <message>)
æ
Example
ç
æ
The 'open' text is sent out via the P1 serial port.