Find Docs

Galil Motion Control - ctool

Wodocs >> Electronics : Motion Control >> Galil Motion Control ctool Page 1
Galil Motion Control - ctool
Windows API Tool Kit
Galil's Windows API-DMCWIN32 (also available in Linux, DOS, QNX)
provides C libraries, sample programs, utilities, a complete terminal
program, and full documentation.With this kit, all Galil motion con-
trollers can be programmed using standard C/C++ compilers.The
kit is also compatible with the Galil ActiveX Tool Kit.
DLL API list:
COMMUNICATION
DMCOpen Open communications
DMCClose Close communications
DMCSendCW2OnClose Clears most significant bit of unsolicited messages
DMCCommand Send a command
DMCFastCommand Send command without waiting for response
DMCArrayDownload Download an array
DMCArrayUpload Upload an array
DMCDownloadFile Download a file from hard disk
DMCUploadFile Upload file to hard disk
DMCCompressFile Compress a Galil language program file
DMCDownloadFromBuffer Download file from buffer
DMCUploadToBuffer Upload file to buffer
DMCSendFile Send a file
DMCDownloadFirmwareFile Download firmware
DMCGetAdditionalResponse Read long response
DMCGetAdditionalResponseLen Read long response length
DMCGetUnsolicitedResponse Read card messages
DMCReadData Low level read function
DMCWriteData Low level write function
DMCClear Clear FIFO
DMCWaitForMotionComplete Wait for motion complete
DMCMasterReset Master reset controller
DMCReset Reset controller
DMCVersion Get firmware version
REGISTRY
DMCAddGalilRegistry Add a controller to the registry
DMCDeleteGalilRegistry Delete a controller from registry
DMCEditRegistry Registry Dialog (Requires DMCReg.ocx)
DMCEnumGalilRegistry Read entire registry
DMCGetGalilRegistryInfo Read registry for one controller
DMCModifyGalilRegistry Modify a registry entry
DMCGetControllerDesc Get a description of the controller
from the registry
BINARY COMMANDS
DMCBinaryCommand Send binary command
DMCCommand_AsciiToBinary Convert ASCII command to binary
DMCCommand_BinaryToAscii Convert a binary command to ASCII
DMCFile_AsciiToBinary Convert file of ASCII commands to binary
DMCFile_BinaryToAscii Convert file of binary commands to ASCII
DMCReadSpecialConversionFile Special conversion file
DMCSendBinaryFile Send a binary file
DATA RECORD
DMCRefreshDataRecord Request a new data record
DMCGetDataRecordByItemId Return part of the data record (preferred method)
DMCGetDataRecordItemOffsetById Get data record item offset
DMCGetDataRecordConstPointer Get pointer to data record
DMCGetDataRecordRevision Get version of record
DMCGetDataRecordArray Return all cached data record (1700, 1800 only)
DMCGetDataRecordConstPointerArray Return a const pointer to all cached
data records (1700, 1800 only)
DMCCopyDataRecord Copy data record into a structure
DMCGetDataRecordSize Returns number of bytes in data record
OTHER
DMCChangeInterruptNotification Notify for interrupt by handle or thread
DMCDiagnosticsOff Stop diagnostics
DMCDiagnosticsOn Start diagnostic file
DMCError Read error message
DMCGetHandle Return the controller handle
DMCSelectController Selection Dialog
DMCAssignIPAddress Assign the IP Address to an Ethernet controller
Example C Program tells the controller
to move the X-axis motor 1000 counts.
#include <windows.h>
#include <Dmccom.h>
long rc;
HANDLEDMC hDmc;
char szBuffer [64];
int main(void)
{
rc = DMCOpen(1,0,&hDmc);
rc = DMCCommand(hDmc,"PR1000;BGX;",szBuffer,
sizeof(szBuffer));
rc = DMCClose(hDmc);
return 0;
}
DMCWIN32 API
Programming Tools
SOFTW
ARE
92
www.galilmc.com / Galil Motion Control, Inc.





Other Documents:
ioc 7007, pcicompar, programming, softorder, system, utilities, wsdk, activelife, camalot, mojavaton, smmov, Filter Equiv, note 1410, note 1411, note 1412, eseries brochure, ethernet dmc 21x 2, ethernet emerge, ethernet flight, ethernet horizons, pr 03 30 00, pr 10 1 98, pr 10 20 99, pr 11 30 00, pr 1 13 00, pr 2 18 98, pr 3 11 98, pr 3 2 98, pr 6 15 99, pr 7 1 99, pr 8 29 00, pr 9 13 99, pr 9 9 98, db 28040 qsi, bestvalue, jacob video, icmworksheet, note 1220, note 1222, note 2311, note 2312, note 2319, note 2321, note 2326, note 3311a, note 3312, note 1419, note 1427a, note 2429, note 2438,

Wodocs share you 300000 free online manuals, brashures and other documents, some pages can be downloaded.

if you have any questions about ctool online manual, please feel free to contact us
if you can't find Galil Motion Control user, owners manual, operating instructions, service manual, quick start guide, mounting,
and installation instructions, RTFM, schematics and user guide, please use search box or contact us.

All copyrights, pictures, pdfs, trademarks and brands are the property of their owners.


WODocs | |
All rights reserved. wodocs.comę 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)