NAME

pputs - sends commands to PMAC motor controller

SYNOPSIS

pputs [ether=] [debug]

DESCRIPTION

pputs - reads stdin and sends it to the Delta Tau PMAC controller. All characters after the ; are skipped. The ether variable overrides the PMAC environment variable. If no port is supplied, it assumed that the PMAC has and Ethernet port and that communication is done PMAC style to port=1025.
echo ver | pputs ether=10.0.0.40,3000
echo I110 | pputs ether=10.0.0.4
echo ver | pputs #if the PMAC environment variable is specified 
pputs   # to just read from stdin until EOF
If there is no output other than ACK, nothing is written to stdout. If there are multiple lines output then these are printed with newlines. If there is no ACK the ERR message is printed out. If there is and ERR code, it is printed, but will exit with non-zero exit code.

pputs reads until EOF.

OPTIONS

ether= specified ethernet IP with optional ,port.

debug - prints a lot of junk. It can be repeated for even more


Program index