Panasonic WJHD316A WJHD309A User Guide - Page 153

SERIAL (RS232C) CONNECTOR COMMAND REFERENCE, SERIAL (RS232C) Communication Protocol, Command Format

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182

153
SERIAL (RS232C) Communication Protocol
With the SERIAL (RS232C) interface, you can control functions of this unit by transferring the specified commands from a per-
sonal 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
Command Format
The following pages detail how to write the commands.
1. The following details how to write the commands
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.
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.
Code
ASCII
(02H)
(03H)
[STX] AD [Unit address of this unit] [Transmission Command] : [p1] : [p2] [ETX]
SERIAL (RS232C) CONNECTOR COMMAND REFERENCE
Code
[STX] AD [Unit address of this unit] [Transmission Command] : [p] [ETX]
[STX]
[ETX]
OPL
Same identifier
Transmission command (
The unit)
Response command (
The unit)
[STX]
[ETX]
OPL