Panasonic WJHD316A WJHD309A User Guide - Page 153
SERIAL (RS232C) CONNECTOR COMMAND REFERENCE, SERIAL (RS232C) Communication Protocol, Command Format
View all Panasonic WJHD316A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 153 highlights
SERIAL (RS232C) CONNECTOR COMMAND REFERENCE I SERIAL (RS232C) Communication Protocol With the SERIAL (RS232C) interface, you can control functions of this unit by transferring the specified commands from a personal computer (PC) to this unit. Notes: • This unit does not support the communication converted between the SERIAL (RS232C) and USB interface. • When controlling the unit with the SERIAL (RS232C) interface, the following parameters should be identical between the communication devices. The setting is available in "SETUP MENU" - "Comm" - "RS232C Setup". Baud Rate Data Bit Parity Stop Bit I Command Format The following pages detail how to write the commands. 1. The following details how to write the commands Code ASCII [STX] AD [Unit address of this unit] [Transmission Command] : [p] [ETX] (02H 03H) STX: This shows the data start. STX (ASCII code: 02h) is always prefixed to data. h shows hexadecimal digit. Unit address of the unit: Designate the unit address set for "RS232C" of "Comm" on the SETUP MENU. Transmission command: A command shown in the Command List is designated. ETX: This shows the data end. ETX (ASCII code: 03h) is always prefixed to data. The character code is ASCII. When a command needs a parameter, a colon (:) is used for dividing the command and parameter. The following shows how to write the commands when two or more commands are specified. Code [STX] AD [Unit address of this unit] [Transmission Command] : [p1] : [p2] [ETX] 2. Response Command (from the Unit to the PC) The unit sends back the response command for the transmission command from the PC. • When the reception was completed successfully The response command differs between when an ANSWER command (sending back the status or data) is required or when not required. • When no ANSWER command is required The unit sends back the same identifier as that in the transmission command, as shown in the figure. Transmission command (→ The unit) [STX] OPL [ETX] Same identifier Response command (← The unit) [STX] OPL [ETX] 153