Machsupport Forum
Mach Discussion => Mach Screens => Topic started by: sharbold on October 12, 2009, 12:05:56 AM
-
Are there OEM LED codes for monitoring the pin status of a second parallel port? Where might I find the codes? I would like to add a parallel port 2 pin status to a diagnostics screen like the one that exists presently for port1
Thanks
Sam
-
I too would like to know this, but here is what I did to get around it.
When you assign a particular pin to an output or input in Ports and Pins, you can use the macropump to evaluate the IsOutputActive() or IsActive() and then SetUserLED() accordingly.
Here is a sample from my macropump...
'Spare output 7
If IsOutputActive(Output7) Then
SetUserLED(1000,1)
Else
SetUserLED(1000,0)
End If