Mark

MrPLC Member
  • Content count

    24
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mark

  • Rank
    Sparky

Profile Information

  • Country United States
  1. micrologix 1000

    What free software did you try? Please attach a file of the s/w. What are the model numbers of the MicroLogix 1000s? If you are interested in selling, how much are you asking? I am looking for one myself to have for testing.
  2. I'll try this above tip. Good thread here as I am also experiencing some similar "pains" with my first PV+ application to a ML1100. I am not to versed on batch files mentioned here, I'll give this a go, copy and paste the above to notepad, save as .bat and then run thru the .cmd (DOS) window, right? My laptop had to have the OS changed from XP Home Edition to XP Pro for RSView to install. It seems RSView is causing it to lock up occasionally. Anyone else have this issue? What tripped me up early on was coordinating RSLinx Enterprise and Classic. I followed the side-by-side off the Knowledge Base to clear it up. Next, was the Local and Targe tabs, a firm understanding here is necessary! Also, shortcuts; if you change the name then tags won't know where to link. I've become a pretty frequent user of the 'application manager', 'create runtime' and transfer utility' commands. What I looked for early on and would like to see is how report printing for an application.
  3. It's working pretty good so far. I am moving onto stepping through the mode sequence portion now and will get back to this later. thanx for your help
  4. The file: FLOW_PULSE_COUNTING_4.RSS when verified comes up with the ERROR: Operand sizes do not match! Apparently it doesn't like to go from a Long Integer to a Floating Point. Looking on the Knowledge base I found tech note 19396 but it takes two integer values...looking for more info EDIT: I see that adding the MOV instruction will work before the DIV instruction. Also reversed L16:0 and L16:1 to avoid negative numbers.
  5. I modified the post so the rungs match, it seems to be a matter of getting the hang of the forum conventions that I am learning and will help in future posts. Is there a forum primer somewhere? Also, uploaded the latest version with some more work done. Turns out three other projects got in the way of this one so I lost some time working through the code. Feels like putting together an unfinished puzzle that may not look good in the end. fun stuff and thanks for the help. Debounce is also what I had in mind. This is for a 300 gallon tank so I think the switch and timer logic should handle both. I am leaning toward your code as easier to read right off and would be interested in what others think. Is it recommended I start a new post for the next exercise or continue with this thread? The way I see the forum working is pretty neat that the most recent is at the top of the list. Just trying to keep the posts out there as a reference for others looking for answers without duplication.
  6. I modified the original post based on your reply. Thanks for the tips. What do you recommend for graphics file type and where to upload them?
  7. This is a series of ladder logic rungs from a RSLogix 500 program for a MicroLogix 1100 connected with a PanelView Plus 1000 to help understand the logic. The goal is to label the instructions. The original post is here. My interpretation is: Rung 86: A value of 1 is sent to N7:11 and T4:21 starts and continues timing for 5 seconds when LS_001 is on or T4:21 is done and T4:22 is not done. (The 5 second timer is here to show a 'true' low level?) Rung 87: T4:22 starts and continues timing for 5 seconds when LS_001 is not on and T4:21 has timed for 5 seconds. (Is this timer here for five seconds to see that the tank is at a high enough level to not be a nuisance trip?) ML1100.RSS ML1100_working.RSS
  8. Thanks for pointing that out Alaric, seems like you've had experience where this was helpful. Looks like the 'K' and 'A' factors are set. Here are my adjusted algorithms: (6" Pipe) # pulses x 7.979 = Total Gallons (8" Pipe) # pulses x 13.825 = Total Gallons Total Gallons / Total Scan Time (minutes) = GPM Calculating Flow per Second is the reference I mentioned earlier. It's understood being from an analog input. Ladder Logic attached: Any concerns in algorithm or using all Long Integers? For testing: would a (18mSec) timer instruction work? FLOW_PULSE_COUNTING.RSS
  9. Don't the calculations above show the max. pulses coming in at roughly 56-58 Hz? Wouldn't that be around every 18 mSec? GF_Signet_2536eng.pdf
  10. 1. Display Total Volume of water passed for maintenance. 2. Display water Flow in GPM. 3. If water flow greater than 450 GPM, turn valves on for a second tank. Working with GF Signet I discovered: 'A' Factor x Frequency = GPM or GPM/'A' Factor= Frequency (# of pulses) 'A' Factor = 60 / 'K' Factor 'K' Factor = 8.325 (this is the value for a 6" Schedule 80 pipe; I have no idea where to get this value for an 8" pipe) so...60 / 8.325 = 7.207 example: 100 GPM / 7.207 = 13.87 Hz What's next I think is to how much time has passed for the number of pulses received. I read somewhere that tracking the scan time would be most accurate. For algorithms: # pulses x 7.207 = Total Gallons Total Gallons / Total Scan Time (minutes) = GPM
  11. holy cow, I've got lots to learn...simple and clean code is the goal the title I am proposing is "Digital In: Paddlewheel Flow Sensor, Total & GPM
  12. Is there a way to change the title of this post? I think it may be better to read Digital In: vice Analog In: I am trying to break this task down into small parts and build by starting with counting the pulses from the flow meter and putting them in one long integer file. Please comment on the attached. Will it work? Flow_Pulse_Counting.RSS
  13. How do you make these conversions? My application are for two paddle flow meters. One is a 8" pipe to meet a specification of 800 GPM. Second is a 6" pipe to meet a specification of 450 GPM. I found conversions online that tell me the above GPM's come out to 5 Feet\Second. What I am missing is how many pulses is the input going to see at these rates? I'll call the vendor, GF Signet, as they gave me an example for a 1" pipe = 50 GPM = 20ft\sec. ...actually, just looking at the spec. sheet it says "Frequency: 15 Hz per ft/s nominal" So, with the conversions this is 5 ft\sec x 15 ft\sec = 75 pulses every second. The ML1100 (1763L16BWA) has four high-speed inputs with an operating frequency of 0 Hz...20kHz; this should work.
  14. Any sample code or guidance is appreciated. Micrologix 1100 (1763-L16BWA) GF Signet Model #3-2536-P1 Flow rate sensor The sensor is to have a square wave output allowing connection to a 24VDC discrete input. The sensor is wired as open collector with a 10K ohm pull up resistor to I:0\0. Interested in GPM and TOTAL FLOW. Thanks. -mark
  15. I downloaded the 1763 (ML1100) Instruction Set Reference Manual and the User Manual. The sample codes, in my opinion, are more of snippets for individual instructions. I did find an excellent download by "panic mode" called Tank Program on this site. Use the link at the top of the screen called Download Code and follow the path from there. I am also looking for the analog in sample code using a ML1100 with a 1762IF2OF2. Input and a PID output. There is a SCP, scaling instruction that looks like it should do the job. My days of programming were with using BTR and BTW, I guess those aren't used anymore. -mark