MachMotion Apollo I User Manual page 31

Mach3
Table of Contents

Advertisement

Figure 62 Output Configuration
1. Enable the output by clicking on the red X. If the output has a green check mark, it is already enabled.
2. Set the Port Number and the Pin Number to the desired output. Use the table below as a reference.
Output Number
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Table 9 Output Port and Pin Numbers
1. If you want your output to always be on unless you turn it off, click on the red X under the Active Low column
and it will change into a green check box. Then your output will only turn off when you activate your output.
2. Press Apply and then OK to save your settings.
Now your output should be set up.
8.3 Using Your Outputs
There are a few ways to control an output inside Mach3. First, you can turn them on and off in a visual basic (VB) script
such as a macro. Use the following visual basic statements:
ActivateSignal(OutputX)
DeActivateSignal(OutputX)
Also, outputs 5-12 can be controlled with M-Codes. One M-Code turns an output on and the other M-Code turns the
output off. Use the table below for a reference.
Custom M-Codes
M200
M201
M202
M203
M204
M205
M206
Port Number
2
2
2
2
2
2
2
2
Functions
Output 5 on
Output 5 off
Output 6 on
Output 6 off
Output 7 on
Output 7 off
Output 8 on
Pin Number
2
3
4
5
6
7
8
9

Advertisement

Table of Contents
loading

Table of Contents