05.12.2015 Views

Network Force/Torque Sensor System

Net F/T Manual - ATI Industrial Automation

Net F/T Manual - ATI Industrial Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Net F/T Installation and Operation Manual<br />

Document: 9620-05-net ft-11<br />

11. TCP Interface<br />

11.1 General<br />

The TCP interface listens on TCP port 49151. All commands are 20 bytes in length. All<br />

responses begin with the two byte header 0x12, 0x34.<br />

11.2 Command Codes<br />

READFT = 0, /* Read F/T values. */<br />

READCALINFO = 1, /* Read calibration info. */<br />

WRITETRANSFORM = 2, /* Write tool transformation. */<br />

WRITETHRESHOLD = 3, /* Write monitor condition. */<br />

11.3 Read F/T Command<br />

{<br />

uint8 command; /* Must be READFT (0) . */<br />

uint8 reserved[15]; /* Should be all 0s. */<br />

uint16 MCEnable; /* Bitmap of MCs to enable. */<br />

uint16 sysCommands; /* Bitmap of system commands. */<br />

}<br />

Each bit position 0-15 in MCEnable corresponds to the monitor condition at that index. If the<br />

bit is a ‘1’, that monitor condition is enabled. If the bit is a ‘0’, that monitor condition is<br />

disabled.<br />

Bit 0 of sysCommands controls the Bias. If bit 0 is a ‘1’, the system is biased. If bit 0 is a ‘0’,<br />

no action is taken.<br />

Bit 1 of sysCommands controls the monitor condition latch. If bit 1 is a ‘1’, the monitor<br />

condition latch is cleared, and monitor condition evaluation begins again. If bit 1 is a ‘0’, no<br />

action is taken.<br />

11.4 Read F/T Response<br />

{<br />

uint16 header; /* always 0x1234. */<br />

uint16 status; /* Upper 16 bits of status code. */<br />

uint16 <strong>Force</strong>X; /* 16-bit <strong>Force</strong> X counts. */<br />

uint16 <strong>Force</strong>Y; /* 16-bit <strong>Force</strong> Y counts. */<br />

uint16 <strong>Force</strong>Z; /* 16-bit <strong>Force</strong> Z counts. */<br />

uint16 <strong>Torque</strong>X; /* 16-bit <strong>Torque</strong> X counts. */<br />

uint16 <strong>Torque</strong>Y; /* 16-bit <strong>Torque</strong> Y counts. */<br />

uint16 <strong>Torque</strong>Z; /* 16-bit <strong>Torque</strong> Z counts. */<br />

}<br />

The status code is the upper 16 bits of the 32-bit status code described in the Net F/T user<br />

manual.<br />

The force and torque values in the response are equal to (actual ft value * calibration counts per<br />

unit / 16-bit scaling factor). The counts per unit and scaling factor are read using the read<br />

calibration information command.<br />

11.5 Read Calibration Info Command<br />

{<br />

uint8 command; /* Must be READCALINFO (1). */<br />

uint8 reserved[19]; /* Should be all 0s. */<br />

}<br />

Pinnacle Park • 1031 Goodworth Drive • Apex, NC 27539 USA • Tel: +1.919.772.0115 • Fax: +1.919.772.8259 • www.ati-ia.com • Email: info@ati-ia.com<br />

B - 76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!