Command reference
You can control the main functions from external equipment such as personal computer using the PC/EXT CTL terminals. The following sections explain the interface.
Interface Condition |
|
• |
|
• Baud rate | 9600 bps |
• Data length | 8 bits |
• Parity | Odd parity |
• Stop bit | 1 bit |
• Communications mode | Full duplex |
Command Communication Sequence
When external equipment such as a personal computer gives the command to the XP37 Xtra/XM37 Xtra, the XP37 Xtra/XM37 Xtra returns an ACK. So make sure that the external equipment receives this ACK.
Command sending/receiving sequence
Command
External equipment
|
|
| 43 |
Control Data Format |
| ||
8bit 8bit | 8bit | 8bit 8bit 8bit 8bit | 8bit |
|
| Data | Check Sum |
|
| Data length |
|
|
| Command 2 |
|
| UNIT ID |
| |
Command 1 |
| ||
Command 1 ........ | Code based on the command system |
| |
UNIT ID ............... | Code allocated to each equipment (Allocate 80H to the | ||
| XP37 Xtra/XM37 Xtra) |
| |
Command 2 ......... | Code allocated to the main functions of the XP37 Xtra/XM37 | ||
| Xtra |
|
|
Data Length ........ | Number of bytes of the data that is transmitted | ||
Data .................... | Data | transmitted |
|
Check Sum ......... | Lower eight digits of sum total of the first byte to the byte | ||
| immediately before the last. |
|
PC CONTROL COMMAND LIST FOR USE WITH THE XP37 Xtra/XM37 Xtra PC → XP37 Xtra/XM37 Xtra
COM1 | COM2 |
| Contents | Length |
9F | 4E |
| Power On | 00 |
| 4F |
| Power Off | 00 |
| A1 |
| Degauss Control | 00 |
XP37 Xtra/XM37 Xtra → PC |
|
|
COM1 | COM2 | Contents | Length |
(PC)
XP37 Xtra/XM37 Xtra
3F | 4E | Power On (ACK) | 00 |
ACK
The XP37 Xtra/XM37 Xtra returns an ACK if it has received the command correctly.
If it has not received the command correctly due to data error, it will return nothing. Therefore, when the external equipment send a command, make sure that it received the ACK.
| 4F | Power Off (ACK) | 00 |
| B0 | Input Switching (ACK) | 00 |
7F | A1 | Degauss Control(ACK) | 01 |
Example: Input switching (VIDEO 1) from the PC to the XP37 Xtra/XM37
Xtra(when the address selector equals 0)
PC → XP37 Xtra/XM37 Xtra
COM1 | UA |
| COM2 |
| Length |
| Data 1 |
| Data 2 | Sum |
|
| ||||
DF | 80 |
| B0 |
| 02 |
| 00 | VIDEO1 : 01 | 12 |
|
| |||||
|
|
|
|
|
|
|
|
| VIDEO2 : 02 | 13 |
|
| ||||
|
|
|
|
|
|
|
|
| RGB1 | : 03 | 14 |
|
| |||
XP37 Xtra/XM37 Xtra → PC |
|
|
|
| RGB2 | : 04 | 15 |
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COM1 | UA |
| COM2 | Length |
| Data 1 |
|
|
|
|
|
|
| |||
3F | 80 |
| B0 | 00 |
|
| 6F |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27