LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create motor starter ladder logic code in Labview

How would you create the attached ladder logic code in labview???

0 Kudos
Message 1 of 6
(3,141 Views)

Ladder logic is basically boolean operations.

 

THIS or THAT.   THIS AND THAT.   THIS and NOT THAT.

 

Convert the ladder logic structure to their boolean equivalents.

0 Kudos
Message 2 of 6
(3,114 Views)

Any suggestions as to how?

0 Kudos
Message 3 of 6
(3,107 Views)

Pencil and paper.  Map it out.

0 Kudos
Message 4 of 6
(3,104 Views)

Alright well this is what I had (see attached pic).

It works fine as long as I have only 1 set of motor controls. But consider the case where I need to control multiple motors....

When there are multiple motor controls, any motor control value change affects all motor statuses. The desired functionality would be each motor status boolean to be affected only by their respective motor controls.

 

What do you have for me now RavensFan!

0 Kudos
Message 5 of 6
(3,088 Views)

You don't want an event structure.  If this was a PLC, they run continuously, they don't operate off events.

 

All you need are some boolean logic, and use a shift register to keep track of the motor contactor relay being down.

 

Duplicate that as many times as necessary.  (Ideally, the boolean section would be in a subVI if all motors are using the same latching relay logic.)

 

Example_VI_BD

 

 

0 Kudos
Message 6 of 6
(3,058 Views)