man8/TMGutil

Table of Contents

Name

TMGutil - Setup utility for TMG motor indexers

Synopsis

TMGutil <argument list>

Description

Setup and test utility for a The Motion Group stepper motor indexer.

This program can be used to exercise various functions in a TMG motor indexer. It may be used to home, move, read the limit switches, etc. This can be very useful when trying to debug problems with a drive.

The other function of this program is to load a program into the indexer memory. This program is used by TMGtask(8) and should probably be reloaded into the indexer memory if the revision level of TMGtask(8) is changed. Use the load command to do this.

The list of commands can be found by starting the program and typing h.

Arguments

--local <fn>

fn - Is the local device node to connect to.
--remote <host,port>

The remote host and port to connect to.
--help

Prints a help message and exits.

Argument Usage

Arguments are handled using long options. Local or remote must be specified. If mode is is remote then host is the hostname of the terminal server and port is the port number to connect to. The port number is extracted from /etc/services.

Examples


TMGutil --local /dev/ttyC0
TMGutil --remote csdev11,ETSraw1

Notes

At this time (2/16/2002) the Linux com driver works improperly with the indexer and can NOT be used. The RTS line doesn’t cause the computer to immediately stop transmitting chars. Instead as many as 16 chars may be sent after the RTS line has changed state. This is unacceptable to the indexer since it only has a 3 char input buffer. This is broken behavior in the Linux kernel and should be repaired.

Operation via a terminal server works properly.

Operation via a Cyclades serial card seems to work but hasn’t been tested recently. It does seem to send one character after the line has changed state however...

Watch the AccelNET release notes for changes to TMGtask which may cause the indexer’s internal program to need to be reloaded.

Manual page revision

$Id: TMGutil.8,v 1.2 2007/07/17 20:37:32 kitchen Exp $


Table of Contents