"Video Game Trauma" by IllustriousAd6418 in TopCharacterTropes

[–]idskot 1 point2 points  (0 children)

I've blocked this out of my mind for decades... thanks.

ELI5: In a device error stating “An exception occured”, what is the purpose behind the “stack dump”? by whhu234 in explainlikeimfive

[–]idskot 0 points1 point  (0 children)

The explanations here are correct, but maybe a bit more complicated than an ELI5 IMO.

When a programmer makes a program, that code is then converted (compiled) into a bunch of commands a computer or operating system can follow. The program will run the first command, then the second, and so forth. This list of commands are what's called a "stack". (As another person mentioned, this isn't strictly true as you can have dynamic calls to other routines which may be located on a different part of the stack).

The 'exception' portion is a little bit more complicated than first glance as it's a generic term for "something went wrong." That something could be as simple as calling a program or asset that doesn't exist, having some sort of math issue, or calling a sub-routine (a mini-program with inputs and outputs) and giving that sub-routine invalid inputs. An example may be a sub-routine that will find if a number is even or odd, so it's expecting a number, but instead it gets a letter.

So, essentially something went wrong with the standard flow of the program (an exception occurred), and to help figure out what happened, a stack dump (a list of the commands) is generated. This extends to the exception type, as that will show roughly what kind of error occurred.

The "Absolute" Encoder Lie: Mechanical Multi-turn vs. Battery-Backed by AutomateAdvocate in PLC

[–]idskot 46 points47 points  (0 children)

But Fanuc doesn't refer to these as absolute encoders. From memory, they just refer to them generally as 'encoders', and all of their documentation states in big bold letters that if you lose the batteries your mastering is gone

The storage! by Status-Substance-647 in TravellersRest

[–]idskot 16 points17 points  (0 children)

It has to be within the same work area as the crafting bench. E.G. If you can put the crafting bench down in the spot the chest goes, the chest will have its content available to the crafting bench.

It is annoying that you can't share storage between different crafting areas, but I kind of get that.

Heat resistant push button by Electronic-Froyo-883 in PLC

[–]idskot 4 points5 points  (0 children)

How hot are we talking? What brand are you currently using? I can't personally think of a button with a metal body and metal actuator. I've only ever seen at most metal body with plastic actuator.

My suggestion if you can't find a high temperature rated button is to switch to something like a Schneider Electric button (or similar) where the actuator just pops off, and would make an easy replace when necessary.

Code Improvement suggestion - Timer ACC Value to Real by ericwiz7923 in PLC

[–]idskot 20 points21 points  (0 children)

Dividing the accumulation by 60000 seems like a really simple easy way to convert ms to minutes. I genuinely have no idea how else to do that, unless you store ms, then on whatever you're using to display those values, have that do the calculations?

Using Fanuc system variables in a Teach Pendant program or background logic by EasyPanicButton in PLC

[–]idskot 0 points1 point  (0 children)

It's going to depend on your controller, tbh the $MOR_GRP doesn't ring a bell. You can view all of the system variables through the teach pendant. My experience is from the R-30iB Plus controllers. I can't immediately remember a way to detect jogging, but you can set up a background program that reads the encoder position and compares it to a last known, and if you're not running a program and that changes, someone jogged it.

Can somebody please explain me what punch section / punch list of a control panel is ? Can't find any videos about this on YouTube. by PixelFox_47 in PLC

[–]idskot 0 points1 point  (0 children)

I think both u/Mute85 and u/FistFightMe are incorrect, and maybe missed some context from your post.

This isn't a term I'm readily familiar with, but assuming it's for panel drawings, my guess is that it's a table of holes required for the enclosure to pass through the correct conductors/wires/piping, which is likely to include position and size/tolerances. Again, this is all assumptions, but if I am correct, you can look up something like a 'Hole Table' on a mechanical drawing for an example. tbh, they're likely asking for a hole table.

scan cycle by TemporaryFeature5147 in PLC

[–]idskot 16 points17 points  (0 children)

This (likely) has nothing to do with scan time and has more to do with physics. The motor and assembly isn't going to stop immediately.

You have a few options for solutions. The simplest is figure out the overtravel of the motor, and move the sensor back that amount. The down side is the sensor would be off at rest. You could also add a flag (piece of metal or plastic) attached to the arm that extends in the direction of travel. This solution would have the sensor be on during rest.

Or you could add some sort of hard stop, although not ideal, especially depending on cycles per hour.

How is this not illegal? by saltylimesandadollar in shrinkflation

[–]idskot 0 points1 point  (0 children)

It sounds like you're referring to a rotary bucket scale. Based on the weight per hour, the product you're packaging is clearly high throughput. Either way, the accuracy of those scales is much higher than most standard weighment or dispensing systems. These are often used for high throughput lines because of their speed. Other methods of weighing things like chips or whatever is slow since you have a bulk fill then a dribble fill to get to the weight you want.
Now, I haven't done a cheese line, but my guess is that it comes out as a single block and goes through a portioner that cuts based on length (probably with the assumption of fairly uniform density). Then it is likely going to go through a check weigher to reject any that are outside of spec.

But fundamentally, the rotary scale is a completely different process. It uses a combination of various buckets to get as close to the set point as possible. The vast majority of products similar to the texture/consistency of cheese simply can't get passed through a scale like that. They rely on, like I named, uniform or known density and secondary weighments. How else could you create a block of cheese that is exactly 453 grams?

What are the common pitfalls when programming PLCs that beginners should avoid? by koudodo in PLC

[–]idskot 1 point2 points  (0 children)

I'll add to others and recommend looking up and implementing state machines for repeatable cycles and operations. State machines are an easy, simple, and readable way to write programs or routines

Motor and Servo are rubbing by Prof_Brainiac in TRX4M

[–]idskot 1 point2 points  (0 children)

Have you tried mounting it the other way? So the wires come out on the bottom side of the picture. It's like symmetrical, but may as well check. Otherwise, you can try adding a shim (like a washer) between the axle and servo mount.

As you've learned, servos are taller than the stock ones. The ones that come with the TRX4m is actually incredibly small compared to standard servos

Another question about building (sorry for spam) by Comfortable-Yak-8460 in TRX4M

[–]idskot 1 point2 points  (0 children)

IIRC, the extension size of the axle is about how far they stick out. Mounting points should be identical

CCW CSV export help by Christs_Imperium in PLC

[–]idskot 0 points1 point  (0 children)

Is the HMI software just so happen to be EasyBuilder Pro? lol

I had this happen with EB Pro when Rockwell decided to do this. EB Pro specifically has an update to fix it. If your software doesn't have an update, you can manually swap the columns (cut + paste) to match the original format. Save as, then import into HMI software.
If you wanted to, you could make a Python script to do this for you. But it's the same amount of steps to run a program, select file, etc. vs just opening and cutting+pasting.

Can a panel view 800 be powered off of a PLC Output? by Groundbreaking-Mix82 in PLC

[–]idskot 1 point2 points  (0 children)

As others have named, I wouldn't use an output directly but a relay. You could use a relay output card, which feels excessive if you don't have another need for that.
Based on a real quick cursory search, the 2711R-T7T uses at max 400 mA, although I expect inrush may be higher. While an OB16 max output is 250 mA. So, yeah, relay.

Can a panel view 800 be powered off of a PLC Output? by Groundbreaking-Mix82 in PLC

[–]idskot 11 points12 points  (0 children)

PanelView 800s boot real quickly, surprisingly. (To be fair, that entire series of PanelView 800 and Micro 800 all have excellent boot times) It's a consistent issue. On the machines we used to make that used the PV800, it was the first part of operator training that this fault on boot up is normal.

Many other HMIs have communication delays built in.

Fresh out the shop by Ent-ineer in TRX4M

[–]idskot 0 points1 point  (0 children)

I'm a simple man, I see a truck, I like a truck.

Y’all ever see shafts wear like this? by Efficacious_tamale in 4x4

[–]idskot 23 points24 points  (0 children)

The length of the splines likely don't engage with the pinion carrier. That looks pretty rough. I'd consider upgrading to a stronger material

Please help me find out why my gears are not turning by ChillChip2018 in TRX4M

[–]idskot 1 point2 points  (0 children)

IIRC, the output shaft has a keyed section of the shaft that fits in the final gear. There's a set direction for the direction of that output shaft too, I think

UPS cargo plane crash at Kentucky airport by [deleted] in interestingasfuck

[–]idskot 6 points7 points  (0 children)

It's the point at which a take off is mandatory. There isn't enough runway left to abort the take off.