Sanyo PLC-XD2200 RS232C Expand - Page 9

Notes for communication, Name Definition

Page 9 highlights

PLC-XD2200/2600 Expand Serial Command Functional Specifications 3. Notes for communication 1. Expand Serial Command is defined as one command / one line that starts with "C" and ends with carriage return (0x0D) 2. There are two types of commands: Functional Execution Command and Status Read Command. - Example of Functional Execution Command:"CF_BRIGHT_032"[CR] - Example of Status Read Command: "CR_RIGHT"[CR] Note) "_" means a space 3. When it takes more than one second to receive one command, it is not executed. When it takes more than one second to receive carriage return (0X0D) after the projector receives the first data "C", it clears the information of buffer. 4. On command pipelining, wait for the interval of 100ms till sending next command after receiving a response. (More than 100ms) PC → Projector Command "CF_BRIGHT_032" CR Next Command Projector → PC "000" CR Response (A few ms - 5s) When a computer sends next command before receiving a response, the projector may not operate properly, except when there is no response for more than 5 seconds. 5. It takes about 5 seconds for internal initialization after plugging in AC power. During this time commands cannot be processed. Do not issue any command. 4. Name Definition 1. Data from a controller to a projector is represented as COMMAND, and data from a projector to a controller for the incoming command is represented as RESPONSE. 2. [CR] : Carriage Return Code Command ends with cartridge return code. Response also ends with carriage return code. 3. _ : Space Code A space Code is indicated by (_). 4. %1 : Parameter in Command When there are several parameters, they are defined as %2, %3... 5. %%% : Error code returned from a projector Acceptable: "000". Unacceptable: See [7. Error Code Table]. 6. %a : Parameter in Response Command When there are several parameters, they are defined as %b, %c... 9 / 71

  • 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

PLC-XD2200/2600
Expand Serial Command Functional Specifications
9 / 71
3.
Notes for communication
1.
Expand Serial Command is defined as one command / one line that starts with “C” and ends
with carriage return (0x0D)
2.
There are two types of commands: Functional Execution Command and Status Read
Command.
- Example of Functional Execution Command:”CF_BRIGHT_032”[CR]
- Example of Status Read Command: “CR_RIGHT”[CR]
Note) ”_” means a space
3.
When it takes more than one second to receive one command, it is not executed.
When it takes more than one second to receive carriage return (0X0D) after the projector
receives the first data “C”, it clears the information of buffer.
4.
On command pipelining, wait for the interval of 100ms till sending next command after receiving
a response.
(More than 100ms)
Command
PC
Projector
“CF_BRIGHT_032” CR
Next Command
Projector
PC
“000”
CR
Response
(A few ms - 5s)
When a computer sends next command before receiving a response, the projector may not
operate properly, except when there is no response for more than 5 seconds.
5.
It takes about 5 seconds for internal initialization after plugging in AC power. During this time
commands cannot be processed. Do not issue any command.
4. Name Definition
1.
Data from a controller to a projector is represented as COMMAND, and data from a projector to
a controller for the incoming command is represented as RESPONSE.
2.
[CR] : Carriage Return Code
Command ends with cartridge return code.
Response also ends with carriage return code.
3.
_ : Space Code
A space Code is indicated by (_).
4.
%1 : Parameter in Command
When there are several parameters, they are defined as %2, %3…
5.
%%% : Error code returned from a projector
Acceptable: “000”.
Unacceptable: See [7. Error Code Table].
6.
%a : Parameter in Response Command
When there are several parameters, they are defined as %b, %c…