farmboy_jon
Member
im having some trouble in one of my labs, what im stuck on is this...
i need to turn on 3 outputs when the plc goes into run mode, using only two STL lines of Code.
I know i need to program this into OB100, im just not clear on how i can turn on 3 outputs regardless of anything else
after turning these outputs on i also need to turn them off when an input is sensed and turn on 3 more outputs using a function once again.
What im stuck on here i think is how to go about writing and calling functions
thanks in advance, jon
i need to turn on 3 outputs when the plc goes into run mode, using only two STL lines of Code.
I know i need to program this into OB100, im just not clear on how i can turn on 3 outputs regardless of anything else
after turning these outputs on i also need to turn them off when an input is sensed and turn on 3 more outputs using a function once again.
What im stuck on here i think is how to go about writing and calling functions
thanks in advance, jon