EasyManua.ls Logo

Lightware MMX6x2-HT200 - RS232 Operation Mode; Send Message Via an RS-232 Port

Lightware MMX6x2-HT200
119 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Page 98 / 119 Section 8. LW3 Programmers’ reference
8.7.6. RS232 operation mode
Command format
SET/MEDIA/UART/<Pn>.Rs232Mode=0|1|2
Response format
pw/MEDIA/UART/<Pn>.Rs232Mode=0|1|2
Parameters
.Rs232Mode
0
1
2
RS-232 operation mode
Disconnect
Control
Command injection
Example
> SET/MEDIA/UART/P2.Rs232Mode=1
< pw/MEDIA/UART/P2.Rs232Mode=1
Command injection mode
Command format
SET/MEDIA/UART/<Pn>.CommandInjectionEnable=true|false
Response format
pw/MEDIA/UART/<Pn>.CommandInjectionEnable=true|false
Example
> SET/MEDIA/UART/P2.CommandInjectionEnable=true
< pw/MEDIA/UART/P2.CommandInjectionEnable=true
ATTENTION!
The Command injection status is stored in another read-only property which is True if both
above mentioned properties are set to the proper state; if so, Command injection mode is
active: /MEDIA/UART/<Pn>.CommandInjectionStatus.
ATTENTION!
Do not forget to set the TCP/IP port setting which is individual for each RS-232 port and
stored in /MEDIA/UART/<Pn>.CommandInjectionPort parameter.
8.7.7. Send message via an RS-232 port
The RS-232 ports can be used for sending a message to the other end of the serial channel.
The feature allows controlling a connected (third-party) device, below command is for
sending an ASCII-format text message:
Command format
CALL/MEDIA/UART/<Pn>.sendText(<message>)
Response format
mO/MEDIA/UART/<Pn>:sendText
Example
> CALL/MEDIA/UART/P1.sendText(pwr_on)
< mO/MEDIA/UART/P1:sendText
Send message in HEX or BIN format
Message can be sent in other formats by the following methods:
sendMessage: sending in HEX format.
sendBinaryMessage: sending in BIN format.

Table of Contents

Other manuals for Lightware MMX6x2-HT200

Related product manuals