I have been a cnc tech for years and
all inputs and outputs work and have been tested
my biggest problem is that i am familiar with latter logic and programing of other plcs which is probably a hindrance (aerotech Mitsubishi Automation-direct)
what i want to do is to create something so when i
activate a M-code or
?
i can run a program to look at a input( input#2 )
then activate a air cylinder( output#5 ) then
once the air cyl is forward see the next input
( input#1 ) and shut off the output
M22.m1s
Do
If Not (getoemled(821))Then
End If
If (getoemled(821)) Then activatesignal(output5)
Loop
Do
If Not (getoemled(822))Then
End If
If (getoemled(822)) Then deactivatesignal(output5)
Loop
Do
If Not (getoemled(821))Then
End If
If (getoemled(821)) Then Exit Do
Loop
Thanks Robin