Sanyo PLC-WTC500AL RS232C Expand - Page 9

Notes for communication, Notation Convention

Page 9 highlights

PLC-WTC500L Expand Serial Command Functional Specifications 3 Notes for communication Expand Serial Command is defined as a single command per line that starts with "C" and ends with carriage return (0x0D). There are two types of commands; Functional Execution Commands and Status Read Command. - Example of Functional Execution Command: "CF_BRIGHT_032" [CR] - Example of Status Read Command: "CR_BRIGHT" [CR] Note) "_" means a space When it takes more than a second to receive a single command, it is not executed. When it takes more than a second to receive carriage return (0x0D) since the reception of the first data "C", it clears the information of the receive buffer. When the command pipelining, allow the interval time of no less than100ms after receiving return value. (No less than 100 ms) Command PC Projector "CF_BRIGHT_032" CR Next command Projector PC "000" CR Return Value (A few ms - 5s) Do not send another command before the reception of the return value; the operation by the command is not ensured. However this is not the case when no response is returned after more than 5 seconds. It takes about 5 seconds for internal initialization after plugging in AC power. During this time, it cannot process commands. Do not issue any command. 4 Notation Convention Data from a controller to a projector is represented as COMMAND, and data from a projector to a controller in response to the incoming command is represented as RESPONSE. [CR]: Carriage Return Code Carriage Return code is added to the end of the command. Response is also followed by carriage return code. _: Space Code Space Code is represented as (_). %1: Parameter included in Command When there are more than one parameter, they are defined as %2, %3... %%%: Error Code returned from a projector Acceptable: "000". Unacceptable: See [7. Error Code Table]. 9/75

  • 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

PLC-WTC500L Expand Serial Command Functional Specifications
9/75
3
Notes for communication
Expand Serial Command is defined as a single command per line that starts with “C” and ends with
carriage return (0x0D).
There are two types of commands; Functional Execution Commands and Status Read Command.
- Example of Functional Execution Command: “CF_BRIGHT_032” [CR]
- Example of Status Read Command: “CR_BRIGHT” [CR]
Note) “_” means a space
When it takes more than a second to receive a single command, it is not executed.
When it takes more than a second to receive carriage return (0x0D) since the reception of the first
data “C”, it clears the information of the receive buffer.
When the command pipelining, allow the interval time of no less than100ms after receiving return
value.
(No less than 100 ms)
Command
PC
Projector
“CF_BRIGHT_032” CR
Next command
Projector
PC
“000”
CR
Return Value
(
A few ms - 5s)
Do not send another command before the reception of the return value; the operation by the
command is not ensured.
However this is not the case when no response is returned after more than 5 seconds.
It takes about 5 seconds
for internal initialization after plugging in AC power. During this time, it
cannot process commands. Do not issue any command.
4
Notation Convention
Data from a controller to a projector is represented as COMMAND, and data from a projector to a
controller in response to the incoming command is represented as RESPONSE.
[CR]: Carriage Return Code
Carriage Return code is added to the end of the command.
Response is also followed by carriage return code.
_: Space Code
Space Code is represented as (_).
%1: Parameter included in Command
When there are more than one parameter, they are defined as %2, %3…
%%%: Error Code returned from a projector
Acceptable: “000”.
Unacceptable: See [7. Error Code Table].