Digital counter display wiring to the output terminal

salman101

Member
Join Date
Sep 2020
Location
Waterloo
Posts
2
Hi, I am using rather an old PLC (FPO-CT32) by Panasonic with FPWINPRO 7. It doesn't give out the option of activating a high-speed counter for the output channels. On the input side (X) I have attached a rotary optical encoder and using the high-speed counter channel as input from the encoder (which is a pulse train). After each complete revolution of the encoder shaft (500 pulses), I want the digital counter to display the count i.e. 1,2,3..and so on. I have developed the logic in the program but how do I use/interface the output channel (Y) with the digital display counter? I am using the basic digital display GDD797949AT (24-28v) with a six-pin connection on the back (2 pins for reset, 2 pins for supply, 1 pin for the up count, and 1 pin for the down count). Thanks
 
The only way I can think of on such an old PLC is to pulse train output, however, as I doubt that this model has high speed update of Peripheral outputs then you could only pulse the output at the rate of twice the scan time. So assume a scan time of 100ms then you could only pulse every 200ms, so 5 pulses per second, so 500 would take 100 seconds. even if the scan time was as low as 50ms it would still take 50 seconds. The only other way would be to use 7 segment displays and either use 16 outputs for a 4 digit display or if matrix type 8 outputs for BCD data & strobe. As the Panasonic is based loosely on the Mitsubishi FX it may have functions to convert integer to BCD and even BCD to 7 segment, however, the outputs required would depend on the digits required.
 
Thanks, Parky. It does have function blocks to convert INT to BCD to 7-Segment. Input to the PLC (at X0) is the pulse train, which I am counting with the HSC counter at the input side. After counting 500 pulses at the input, my counter in the software goes up by 1 integer. I want this count up to show at digital counter through one of the output channels (Y0,Y2...). (I think digital counter is different than 7-segmetn as, for example, it has one pin, which ups the counter by 1 when triggered, and the other pin vice versa) . I don't know how to send a trigger signal/display signal to the output channel when a certain number of pulses (500 pulses) have elapsed on the input side (as I had been using output channels just to turn on/off motors/processes, or send pulse trains, etc, and not to display anything)
 
Last edited:
I assume you want to increment the display every time the high speed counter reaches 500 (I assume it is then reset) providing the count to the display is less than the scan time of the plc x 2 i.e. every 200ms then it is quite simple.
The logic in the pic is a simple example in Mitsubishi (should translate into Panasonic).
The first rung is just my simulation of the High speed count using a normal counter and 100ms pulse M8012, You will have already set up the HSC counter (C235 I assume). The next rung is the compare for greater than or equal 500 this sets the output that drives the display. and resets the HSC back to 0.
The next rung uses the output to start a timer for the pulse time.
When this timer finishes, it resets the output i.e. you get a pulse of 200ms (k2) you may be able to reduce this depending on the scan time and pulse length needed.
Just for testing and as verification of the display the final rung increments a register so that you can see what the display should be reading.

Count.png
 

Similar Topics

Hi all I have a Micrologix 1400 1766-L32BXB and I want to use one input as a pulse counter from flow meter. I don't want to use HSC to save on...
Replies
4
Views
2,942
Hi everybody, I'm searching the data-sheet/catalogue of a digital counter. Description: DIGITAL COUNTER DIG210 Part number: HDV4100-05...
Replies
0
Views
2,444
I made a recent hardware change to a flow meter system and have come up with a strange problem. I hope someone can lead me in the right direction...
Replies
4
Views
5,227
Question to anyone with ideas about my thoughts on upgrading a very vintage timer, which is being used to switch between 2 5hp domestic water...
Replies
14
Views
366
I have a PLC type PM856 from ABB with some I/O modules and I get an error from the Digital Inputs model type DI801. The unit status shows error...
Replies
0
Views
246
Back
Top Bottom