Author Topic: cant get to use the same output twice  (Read 11924 times)

mossimock

  • Newbie
  • Posts: 1
  • I love YaBB 1G - SP1!
    • View Profile
cant get to use the same output twice
« on: May 28, 2002, 06:42:36 PM »
HI,
I have 2 inputs, 4 outputs and 2stepper motors
In the first input(start) i manage to activate the stppermotors with the STEPMOVE command. Using the internal relay in that command i activated output 2 and 3 with its respective timer.
The problem comes in the second input(start2)
after start2 i pressed output4 is activated for a desire time, then stepper motor 1 is turned on using the same comand (STEPMOVE) but at the same time output1  and output2 need to be onn. and after the steppermotor finishes both outputs also need to clear...  But an error pops up (output2 is already energized)  i try using
"SETIO output2" but it will activate with the timer used in the first start..
Is there a solution to this?
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: cant get to use the same output twice
« Reply #1 on: May 28, 2002, 07:16:00 PM »
Ladder Logic syntax only allow one coil to be energized at a place. However, you can use more than 1 internal relays to be energized at different rung, then the relays are connected in parallel to drive a single output. That way it avoids trying to energize the output at more than one place.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS