Manual

Copyright © Dr Robot Inc. 2008
34
ServoNonTimeCtrAll sends the position control command to all 6 servo motor control
channels on the Sensing and Motion Controller (PMS5005) at the same time. The command
includes the target position commands without specific execution time period. The motion
controller send the desired pulse width to the servo motor right away.
Syntax: ServoNonTimeCtrAll(cmd1, cmd2, cmd3, cmd4, cmd5, cmd6);
Parameter: short cmd1; // Target position for channel #1
short cmd2; // Target position for channel #2
short cmd3; // Target position for channel #3
short cmd4; // Target position for channel #4
short cmd5; // Target position for channel #5
short cmd6; // Target position for channel #6
Return value: void
Remarks:
1. Please refer to the remarks under ServoTimeCtr
2. When some motors are not under controlled, their command values should be set
as -32768 (0x8000). That means NO_CONTROL.
See Also: ServoTimeCtr
III.3. Multimedia Control
III.3.1. LCD Display
111 void LcdDisplayPMS(LPCTSTR bmpFileName);
Description:
LcdDisplayPMS displays the image data in the file
bmpFileName
(BMP format) on the
graphic LCD connected to the Sensing and Motion Controller (PMS5005).
Syntax: LcdDisplayPMS (bmpFileName);
Parameter: LPCTSTR bmpFileName; // Full path of the BMP file for displaying
Return value: void
Remarks:
The graphic LCD display is mono with dimension of 128 pixels by 64 pixels. The bmp image
must be 128x64 pixels in mono.
III.4. Events