Example Code
Simple PMAC Terminal
The program PMACTermina.ch below illustrates how Ch PMAC is used. This
program will create a simple terminal prompt allowing users to
communicate directly to the PMAC board. This program can be found
in the directory CHHOME/package/chpmac/demos after installation of
the Ch PMAC package, where CHHOME is the home directory in which Ch
is installed.
View Source Online
Download Source
Jog Motor 1
The program JogMotor1.ch below illustrates how Ch PMAC is used. This
program will prompt the user the amount of encoder counts to jog
the motor attached to axis 1. This program can be found
in the directory CHHOME/package/chpmac/demos after installation of
the Ch PMAC package, where CHHOME is the home directory in which Ch
is installed.
View Source Online
Download Source
|