Output from 2 pulses on input

atomic10

Member
Join Date
Jun 2013
Location
Australia
Posts
11
Got a tricky one that I can get my head around - I am interfacing a micrologix 1400 with a system that only has a single output for two different alarms - One alarm is a latching output and the other is pulsed.

At this point, I only need to capture the second (pulsed) alarm.

The timing of the outputs on the system I'm interfacing can be adjusted, so I am thinking I set the first alarm to its minimum of 1 second, but can't get my head around how to write the logic for ignoring the first pulse and only have the line come true if it receives a second pulse.

UPQd6dtN39Hjrp-ws8xTIyehG1kmyrGTfUmHbfKO2sfcXwMM0SPbwRTpGHMFgRgZvr4Cc9Dcc_fWDJDR00R8o2S-V6pj-WXRb-RkSR_1E3l52nQ9sMOujm8eKA7ndE1sSxf6ovtTJEVdoCk0UPnzEh-273zZIx1YqX02mbOaIpk4335PPBywuG2Ha4wcqL3VeTQzSXnMrDzZ_TBm6_pzZS_AS0lu2UMLNTxCx97FcOPUvEtkEM5lasV6TZxImkl8BT2UeokimfD4Dr8_HdD9C35RUC0RePqc07YEgvdCvJQpGALEAKt2ATS1-X4zFV3qkGTrQsXtmZsG2mZTMic3R-aXqwnvUvDie1CoQ3MuupOuOn1p46tpwN1Nuqxd4Pi4xRpisglCmlcHFDuzDXO4kvUl_CmhAX47rtrzKctOgEBzKognLT1MLKNsHnoqK52mr9G1v2iccx3VfhPROO-HoyNq78moFGWvkOBMF9KaLOcmlx13kOcTON7m-7PtjvWWXGyGTY1UCIjZVTGP5_7UaomkhJfL98-wWvDUvGPdnG3h8oBZ-Wrx2KEijpobU7lMtgAY03k_qdtoVtby6XxTOrGbWQtu70XBDYTUsPMvmhPmVkBi-KJDn5kfgYRSe2DGmMQ2DvRU7QoN5ga_JgVFwiXNlAKniw4uE6xdjkfuJeIhUQO_ehD_7DljzAKNlQ=w800-h420-no


Hope that makes sense.
Any suggestions?
 
You will however need some way to also detect when the pulsing stops. Maybe a XIO on the input driving a 5 second timer, to reset your counter?

What happens if both alarms are active? Hopefully the one you're interested in over rides the first, always on output!
 
Did something similar many years ago, needed somewhere in the region of 10 different codes from one PLC to another, there was only one spare output so a signal was sent either 1 to 10 on a mark/space ratio, the sending plc would then wait x seconds before sending another signal, so count the pulses within a given time assume 12 seconds at a pulse every second at the 12 seconds after the first pulse store the count & reset it in actual fact we stored the counts into a shift register it was actually a fault code from one PLC to another and store the last 10. We actually reduced the mark/space ratio & the send time until it went unstable then increased it until stable, cannot remember the exact timing but it turned out to be pretty quick.
 
Did something similar many years ago, ... We actually reduced the mark/space ratio & the send time until it went unstable then increased it until stable, cannot remember the exact timing but it turned out to be pretty quick.


IO-232? What about parity? ;)
 
This was in the early 70's, on a PLC with no real way to communicate between them, the operation was quite slow compared to 232 and very simple no problems. you have to remember that in those days PLC's did not have the communication facilities of modern ones. Also did a system where we output an 8 bit parallel data from a Symax 300 to a Tralfa robot via an 8080 processor board, the 8 bit data used 7 bits for the data & 1 bit as a strobe, we had ordered a communications processor but the lead time from America was some 12 weeks. We called the unit PSICON pretty crude "parallel to serial converter"
All I remember is having to slow the 232 communications to 150 baud the robot would not reliably communicate any higher, just goes to show the tech at the time the robot memory was half a megabyte of bubble memory in a cabinet the size of a wardrobe.
 

Similar Topics

I have encoder connected to FX3G and stepper. What I want when I rotate encoder it moves stepper. Encoder sets position for stepper. Or each pulse...
Replies
14
Views
2,193
Hi, The hardware is: Click Plc model # CO-O1DD1-O HMI model # S3ML-R magnetic-inductive flow meter model # FMM100-1001. I will set the flow meter...
Replies
4
Views
127
Hi everyone, I am trying to accomplish the project, I have a Weidmuller RTD transmitter that I have it connected to PT100 this should scale from...
Replies
14
Views
5,207
Hi, I am using GE Fanuc PLC to calculate the Flow rate in cubic meter per hour from pulses output. i.e. Pulses per second. But the method i used...
Replies
10
Views
12,734
Hey all, I am starting a new project for a customer and I am adding in solenoid valves. Once added, I noticed there was a lack of an Output...
Replies
0
Views
63
Back
Top Bottom