Hello, how can I save the last value written so that when I turn off the CPU, it comes back with the same value, in my application the value is reset to zero and I need it saved to continue the process
@TimWilborne9 ай бұрын
The reason they reset it is you have no way of knowing whether the encoder moved while the power is off. But it would make for a good video. Instead of using the ACC for your scaling, you would would use a MOV instruction with a source a of the ACC and source b of some DINT such as MyEncoderValue. Use this tag for your scaling. Then you can use the S:FS first scan bit to set the ACC value back to it on power up.
@renatobarbosa41579 ай бұрын
Yes, it would make a good video, I'm trying to do it this way but I haven't managed to do it yet, I may be making a mistake somewhere, but thanks for the idea and if a video comes out about it, please notify me.
@timcombs76463 жыл бұрын
great video. thanks Tim.
@TimWilborne3 жыл бұрын
Glad you enjoyed it Tim!
@MegaVinnys7 ай бұрын
My counter did not work because of this Enable bit 😂 Tks Tim!
@TimWilborne7 ай бұрын
You are welcome
@shaileshbangale13953 ай бұрын
Do you have any video for 1734-VHSC5 or 1734-VHSC24 configuration and its prpgramming for RPM calculation?
@TimWilborne3 ай бұрын
No but it would be similar
@jiewenmai Жыл бұрын
Hi Tim, I am struggling in the 1769-HSC right now. So what does the "Local:3:I.Ctr0CurrentCount" actually stand for? It only counts one time if the sensor senses an object, If it senses this object again, it counts to 2. So the CurrentCount only counts how many times the sensor sensor the object? Is this logic correct? I connected a Banner sensor (M18SP6FF50Q) to A0+ and A0- of the HSC module. Local:3:O.Ctr0En is set to 1. The operation mode is "Pule Internal Direction". Is there any way to get the feedback value like a time? For example, how long does an object pass by the sensor take? Count the time for any object passing by the sensor.
@TimWilborne Жыл бұрын
Counting is pretty much what the 1769-HSC...but at a very fast frequency. I don't think you can get a time stamp
@garybelveal49309 ай бұрын
Great Video! Do you have any videos regarding the Embedded HSC Output channels? I have an application where I need to provide a pulse speed reference input to a shihlin servo drive.
@TimWilborne9 ай бұрын
No, not on the Compactlogix. I didn't even realize it has them though it makes sense. I do for the Micro850 kzbin.info/www/bejne/qH65eqiPndulb8k
@andretoledo3329 Жыл бұрын
Hi Tim! I would like to know if it's possible to use a simple digital sensor to count pulses. But the pulses are 1.8 Khz. I tried to use the input A, B e Z but doesn't work none of them.
@TimWilborne Жыл бұрын
Only on a very slow rates. You must consider the switching time of the sensor, input RPI, and PLC scan time. Sounds like you're looking for a high speed counter.
@apauto-hh4gh7 ай бұрын
Hi Tim, how do i can buy the "PLC Tools SIM-S24" while i am in Perth Australia. please can address to me the contact to buy?
@TimWilborne7 ай бұрын
These are not available outside of the USA.
@apauto-hh4gh7 ай бұрын
@@TimWilborne thank you!
@emilio.ferreira6 ай бұрын
Help! Where to find Range12To15[0] ranges in Compactlogix l33emr to use LDW? Help me please!
@MarcAnolfo7 ай бұрын
Using the same high speed coder how could use a proximity sensor to detect if a shaft is rotating or not?
@TimWilborne7 ай бұрын
Possibly, depending on the frequency, you may not need a high speed input.
@ceilingwalker16 ай бұрын
I have the same PLC but it won't allow me to select anything but "Pulse Internal Direction" under operation mode. All my encoder does is count up.
@TimWilborne6 ай бұрын
Check the assignment of the other IO. If you have already assigned some of it for other tasks such as counters, it wouldn't be available for encoders.
@justinpuzak25582 жыл бұрын
hey tim, off topic question,, but i cant use trends on studio 5000, every time i hit run it lags for a few seconds and then i get a error saying "path specified invalid or one of the modules not responding
@TimWilborne2 жыл бұрын
A few things to try from technote QA9600. Shut down RSLogix 5000. Press the Ctrl and Shift keys while restarting Logix Designer to reset user preferences and screen settings. Delete harmony files as shown in this video kzbin.info/www/bejne/m5nGlp5tr7d6nZI
@et.sachin3 жыл бұрын
Hey Tim, I'm having a small doubt regarding the input and output data files. Does the number of bits in input data file mean that the controller will be having that many number of physical input terminals? When l look into the input data file of Micrologix 1400 Series A controller i could see 7 words inside, it does that mean the controller could accommodate a maximum of 113 inputs?
@TimWilborne3 жыл бұрын
Not in reality. There is memory allocated for that many, but different models have different numbers of inputs. The 1400s have 20 inputs and 12 outputs on their base and can handle 7 expansion modules.
@et.sachin3 жыл бұрын
@@TimWilborne so if we aren't using any expansion modules then only 20 bits from the data file is required right? Does that mean the 21st bit isn't mapped to any physical input terminal of the controller?
@TimWilborne3 жыл бұрын
Not mapped is probably not the correct term. I'm not in front of a PC right now but many of them have function of configuring the input points.
@ayhanseku37293 жыл бұрын
Hi bro, Thank you for your valuable video. I want to calculate line linear velocity (m/min) using 1024 htl encoder. cylinder diameter 600mm cpu 1769-l24er-qbfc1b another question: I want to read the plc scan time for each cycle.
@TimWilborne3 жыл бұрын
This should help. twcontrols.com/lessons/math-for-rotary-motion-to-linear-motion-conversions-on-servos
@ayhanseku37293 жыл бұрын
@@TimWilborne thanks a lot.
@TheShooter4662 жыл бұрын
I don't get any counting, just flickering from 1 to zero. With no dead band. Weird.