How to trigger an output twice?

fishin_fl

Member
Join Date
Sep 2014
Location
Middleburg, Florida
Posts
17
I am trying to trigger an output twice after a duration of time. The operator has to trigger a laser from the HMI. This fires the coil. Which works. I need to wait 1 second then fire again without the operator having to touch the HMI.

The reason for the second fire is to shift the array inside the laser to push the next measurement to the input of the PLC.

right now the operator has to tap the pushbutton on HMI then wait and push again.

How would I do this? I know you can not put 2 rungs with the coil because it will cancel each other out.

These are my two lines on Compact Logix.

XIO Line_Start_Latch XIC Screen_Trigger_1 OTE Trigger_1 MOV PadDia_inches_1 Hd2_PadDia_Begnining MOV Hd2_PadDia_Begnining PadDia_screen

BST XIC Trigger_1 NXB XIC Trigger_2 BND OTE Laser_Trigger_1
 
You could try starting a timer when the button is pushed the first time and then have a timer.DN bit on a branch around the XIC screen trigger bit.
 
I am trying to trigger an output twice after a duration of time. The operator has to trigger a laser from the HMI. This fires the coil. Which works. I need to wait 1 second then fire again without the operator having to touch the HMI.

The reason for the second fire is to shift the array inside the laser to push the next measurement to the input of the PLC.

right now the operator has to tap the pushbutton on HMI then wait and push again.

How would I do this? I know you can not put 2 rungs with the coil because it will cancel each other out.

These are my two lines on Compact Logix.

XIO Line_Start_Latch XIC Screen_Trigger_1 OTE Trigger_1 MOV PadDia_inches_1 Hd2_PadDia_Begnining MOV Hd2_PadDia_Begnining PadDia_screen

BST XIC Trigger_1 NXB XIC Trigger_2 BND OTE Laser_Trigger_1

Agree with @alanze

New timer Laser_Trigger_Timer ... Something like

BST XIC Screen_Trigger_1 NXB XIC Laser_Trigger_Timer.TT BND TON Laser_Trigger_Timer 1000 0

Add a branch on your rung to drive the laser with XIC Laser_Trigger_Timer.DN
 

Similar Topics

Hi i would like to ask! Im using Omron CP1E PLC May i know how to use one input to trigger two outputs alternatively? Meaning press X0 on, Y0...
Replies
11
Views
398
Hi, I'm using CX Programmer and just seeing what the best way to trigger an output from the plc clock time would be. I need this to come on at 9am...
Replies
4
Views
1,742
Hello, I'm trying to trigger an output when an integer number on my program goes up or down. How should I do that? Thanks in advance.
Replies
15
Views
5,346
Most I have come across is two loads switched on simultaneously using a single output point. Typically, an indicator lamp and a relay coil...
Replies
8
Views
2,907
Hi everybody, I'm using SIEMENS S7 212, one imput (I0.0) which was use in the program will indicate ON on the input LED display when pressed...
Replies
7
Views
1,961
Back
Top Bottom