![Arcus PMX-4EX-SA User Manual Download Page 24](http://html1.mh-extra.com/html/arcus/pmx-4ex-sa/pmx-4ex-sa_user-manual_2965574024.webp)
PMX-4EX-SA Manual
page 24
Rev 3.11
BOOL
fnPerformaxComGetNumDevices
(OUT LPDWORD lpNumDevices);
- This function is used to get total number of all types of Performax and
Performax USB modules connected to the PC.
BOOL
fnPerformaxComGetProductString
(IN DWORD dwNumDevices,
OUT LPVOID lpDeviceString,
IN DWORD dwOptions);
- This function is used to get the Performax or Performax product string.
This function is used to find out Performax USB module product string
and its associated index number. Index number starts from 0.
BOOL
fnPerformaxComOpen
(IN DWORD dwDeviceNum,
OUT HANDLE* pHandle);
- This function is used to open communication with the Performax USB
module and to get communication handle. dwDeviceNum starts from
0.
BOOL
fnPerformaxComClose
(IN HANDLE pHandle);
- This function is used to close communication with the Performax USB
module.
BOOL
fnPerformaxComSetTimeouts
(IN DWORD dwReadTimeout,
DWORD dwWriteTimeout);
- This function is used to set the communication read and write timeout.
Values are in milliseconds. This must be set for the communication to
work. Typical value of 1000 msec is recommended.
BOOL
fnPerformaxComSendRecv
(IN HANDLE pHandle,
IN LPVOID wBuffer,
IN DWORD dwNumBytesToWrite,
IN DWORD dwNumBytesToRead,
OUT LPVOID rBuffer);
- This function is used to send commands and receive replies. The
number of bytes to read and write must be 64 characters.
BOOL
fnPerformaxComFlush
(IN HANDLE pHandle)
- Flushes the communication buffer on the PC as well as the USB
controller. It is recommended to perform this operation right after the
communication handle is opened.
5.1.3. USB Communication Issues
A common problem that users may have with USB communication is that after
sending a command from the PC to the device, the response is not received by
the PC until another command is sent. In this case, the data buffers between the
Summary of Contents for PMX-4EX-SA
Page 1: ...PMX 4EX SA Manual page 1 Rev 3 11 PMX 4EX SA Advanced 4 Axis Stepper Motion Controller ...
Page 9: ...PMX 4EX SA Manual page 9 Rev 3 11 3 Dimensions 3 1 PMX 4EX SA TBS Dimensions Figure 3 0 ...
Page 10: ...PMX 4EX SA Manual page 10 Rev 3 11 3 2 PMX 4EX SA TB9 Dimensions Figure 3 1 ...
Page 19: ...PMX 4EX SA Manual page 19 Rev 3 11 4 11 PMX 4EX SA Interface Circuit Figure 4 10 ...