![Nanomotion XCDX Скачать руководство пользователя страница 42](http://html.mh-extra.com/html/nanomotion/xcdx/xcdx_user-manual_705065042.webp)
XCDX458000-00 rev A
42
XCDX Commands
• Subnet Mask - four bytes that specify desired network mask in the
processor byte order. E.g., mask 255.255.255.0 (0xFF.0xFF.0xFF.0x00)
should be specified as 0x00FFFFFF.
4.5.2
A
DD
V
ECTORS
Adds vectors to the raster area. The command adds the specified vectors
to the raster area; maximum 6 vectors can be specified in one command.
The command should be used in case of non-rectangular raster area; in
this case, the raster data (see command 108) should specify bit 12 in the
Option parameter and non-zero Count parameter.
Each vector is specified with two values:
• Count
n
- the number of trigger points on the vector
•
X
n
- start X coordinate of the vector
4.5.3
G
ET
V
ERSION
Request MCU Firmware version. The XCDX reply contains 10-byte
Extension structured as follows:
• Bytes 0-3: four bytes of Firmware version
• Bytes 4-7: four bytes of Serial number
• Bytes 8-9: two bytes of Application code (not used)
4.5.4
A
XIS
ENABLE
Data Byte = High (1) power supply enabled
• bit 0 = X
• bit 1 = Y
Code
Parameters
Format
Command
ID
IP Address
IP Mask
Int32 (4)
Int32 (4)
Command ID
Parameters
Format
14
Count1 X1
Count2 X2….
Int32(4)
Real(4)
Int32(4)
Real (4)
Command ID
Parameters
Format
19
-
-