Hello All,
I have a 2 part question here. I'm trying to decide on which way to go
in implimenting an upgraded LV test station. Currently, I've replaced
the the bench top scopes with a LV program that aquires the data and
tests it to meet specification. However, the test station still uses a
control box that houses, among other things, a Koyo DL05 PLC. There is
very limited input and output required for the test station:
Input:
Cylinder A up / down
Cylinder B in / out
Test Button
Output:
Cylinder in
Cylinder Down
Motor Start
Motor Direction
The test routine is as follows:
Press Start, cylinder A goes down, cyclinder B goes in, motor starts,
data check, reverse motor, data check, motor stop, cylinder B out,
cylinder A up.
Pretty simple, huh? The reason I want LV in the loop machine is so that
the operator can just click once to get tests in both directions. Right
now, the operator has to press the Start button a second time to get
the other direction and has to also click the LV Test button to
initiate LV testing of that direction. Pressing the hardware button a 3
rd time ends the test.
Question 1) more of an opinion I guess. I'll be using a PXI-6514 DIO card. Should I keep the PLC or just let LV handle it?
Question 2) I haven't written any code where LV is utilizing a DIO for
machine control. What is the basic recommended technique. Event
structures? Qued messge handling?
Any pointers would be appreciated.
~~~~~~~~~~~~~~~~~~~~
Paul Johnson
Renco Encoders, Inc
Goleta, CA
~~~~~~~~~~~~~~~~~~~~