Wuhan Raycus Fiber Laser Technologies Co., Ltd.
User Guide of RFL-C3000XZ~RFL-C12000XZ
43
7
RS232 and INTERNET Communication Commands
7.1
Port Configuration
a)
RS-232 configurations:
b)
baud rate:9600, data bit:8, stop bit:1, no parity bit and no control flow.
c)
Ethernet port configurations.
d)
Default laser IP address:192.168.0.10
e)
Laser port number:10001
7.2
Laser Communication Protocol (Ethernet Port & Serial Port)
All commands and return values in this protocol are composed of ASCII characters. Note the following
points when generating commands:
a)
Commands generally consist of three or four letters, sometimes with additional values.
b)
All commands and return values end with the enter character (CR,0x0D, \r). If the laser receives a
string with an “enter” character but the command is invalid, the “Command Err! \r” is returned.
c)
For easy identification, all commands are in capital letters. But actually, the commands are not
case-sensitive. To facilitate identification, a space is inserted between the command and the
parameter.
d)
Laser sends a return value for each command received. The return value generally contains the
command content itself. If the returned content contains a numeric value or an error type, then the
returned command content is separated from the numeric value or the error type with a colon (“:”).
The specific protocol and command examples are shown in Table 11:
Table 11 Laser protocol contents and command examples
Command
Description
Command Example
ABF
Aiming Beam OFF –Turn off red
Send: “ABF\r”
Return: “ABF\r”
ABN
Aiming Beam ON – Turn on red
Send: “ABN\r”
Return: “ABN\r”
DEABC
Disable External Aiming Beam Control
Send: “DEABC\r”
Return: “DEABC\r”
EEABC
Enable External Aiming Beam Control
Send: “EEABC\r”
Return: “EEABC\r”
DEC
Disable External Control
Send: “DEC\r”
Return: “DEC\r”