Teledyne SyriXus 65x Installation And Operation Manual page 157

Syringe pumps
Table of Contents

Advertisement

Example of Visual C++ Program Showing Conversion of Pump Commands to
char buf[2];
buf[0]=0;
/* get char if there
if(!ReadFile(hCom, buf, 1, &dwBytesRead, NULL))
{
//error occurred. Report to user.
}
return buf[0];
}
void comm_putc(char outchar)
{
DWORD dwBytesRead = 0;
char out[2];
out[0]=outchar;
if(!WriteFile(hCom, out, 1, &dwBytesRead, NULL))
{
//error occurred. Report to user.
}
}
There are three types of operations within the network: network con-
troller, master, and slave. A computer typically serves as the network
controller. It supervises all data flow on the network. It also polls each
unit which initiates data transfer and commands.
The slave unit simply responds to commands accordingly. The SyriXus
series pump controller functions as a slave unit. These functions may
be combined in one unit (i.e., a computer can function as both a
network controller and a master).
All data transfers are in a frame format. When the network controller
polls an instrument, it will start to respond within 200 ms. If it does
not reply, it will be polled again. If after three attempts at polling it
does not reply, it will be dropped from the polling rotation. When the
instrument does respond, the polling rotation does not advance until
an error-free transfer has occurred.
The frame format for data transfers from the network controller is as
follows:
destination\acknowledgement\message source\length\message\checksum\[CR]
EAR99 Technology Subject to Restrictions Contained on the Cover Page
SyriXus Series Pumps Installation and Operation Guide
DASNET Frames (Continued)
*/
The network controller (typically a personal computer or laptop)
should not be confused with the pump controller. The network con-
troller is used in addition to the pump controller.
Section 8 Serial Interface
NOTE
8-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Syrixus 260xSyrixus 500xSyrixus 500xvSyrixus 1000x

Table of Contents