Programming Help

heckpalm76

Member
Join Date
Nov 2007
Location
Michigan
Posts
13
I'm looking for some help with ladder logic programming for a High speed counter in a AB 1747-L20c PLC. :cool:I'm going hook up an encoder to the high speed counter input,this aplication is very slow and I believe that this PLC should be able to do this, and I have no idea on how to program this unit for this application.o_O
 
I must have not put enough information into my first question. Like I said before Im using and old 1747-l20c plc. my encoder will be hooked up to the internal high speed counter. The problem that I'm having is in the rslogix program the high speed counter is an actual counter. This throws me a curve ball because I need to subtract from the amount of counters that the counter is counting. I need to do this because im using a VFD with ramp to stop . So lets say that when the counts get to 2000 is shuts off an output turning the VFD off and lets the VFD ramp to stop
 
You can acced the value in the HSC just like any other counter. You can (for example) MOV HSC:0.ACC to N7:0 and then do any sort of math on N7:0 you want. So you can take your starting point and move that into an N7:0 and then evey scan, move the value into N7:1. when N7:1 - N7:0 > 2000, toggle your output.

Hope that helps.

Greg
 
No problem.

also keep in mind that you are going to want to reset the HSC every once in a while. In you example, after you turn off your VFD, reset the HSC. It gets difficult to manage if your values start getting extremely large over time.
 

Similar Topics

Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
20
Views
975
Hi can you help, have a book stitching machine with collates pages in 8 stages. I have installed a camera system that will give an input to...
Replies
24
Views
1,994
I don't have much experience in programming. I can do simple configuration. it is like this. i want to add something to the existing ladder...
Replies
39
Views
6,313
Hello there, I'm practically new to the PLC world, I'm quite familiar with Siemens TIA Portal but I'm currently tasked to program Schneider PLCs...
Replies
5
Views
1,879
Hello All, As you can guess by the title I am a total noob to programming PLC's. So my problem is that I have an old Pallet wrapper that uses an...
Replies
21
Views
4,967
Back
Top Bottom