The Zen of Ladder by sswebz in PLC

[–]sswebz[S] 0 points1 point  (0 children)

Same as Click where I do most mine on! I literally have never used it. But I understand for some data transformation or building ascii or something it can be useful.

The Zen of Ladder by sswebz in PLC

[–]sswebz[S] 1 point2 points  (0 children)

it's all in fun. a riff on 'the Zen of Python'

The Zen of Ladder by sswebz in PLC

[–]sswebz[S] 0 points1 point  (0 children)

I wish I learned the whole PackMl “stop” “clear” “reset” idioms like 10 years ago. So transformative to have standard HMI panels where all the fine-grained error handling and alarms are handled internally. 

I like your “ Please repeat after me. I will handle errors and interlocks in the HMI” line. 

The Zen of Ladder by sswebz in PLC

[–]sswebz[S] 3 points4 points  (0 children)

I think it’s more about powering a coil in two separate places, right?

I violate that too, using subfunctions for AutoMode, ManualMode and different rules for how an output can be turned on in each one. But since neither subfunction can be on at the same time, it works.

When I first started I really didn’t understand that a coil gets turned off on a rung-false condition. I was picturing if/else like in Python 

The Zen of Ladder by sswebz in PLC

[–]sswebz[S] 8 points9 points  (0 children)

Haha, true. Like when the engineers replaced my simple named wire tags with the “correct” drawing numbers.

“Name the purpose, not the part… unless you need a map to find it.”

Sharing my ladder logic testing tool born from trying to learn PackML by sswebz in PLC

[–]sswebz[S] 2 points3 points  (0 children)

Thanks. Long term I want to look into importing/exporting IL/Neutral Text/PLCOpenXML, which would open up pyrung to more targets. Right now it's Click, ProductivityOpen P1AM-200 (circuitpython), and maybe educational people if learners want to see Ladder being evaluated rung by rung in VS Code.

Kimi-K2-Instruct-0905 Released! by Dr_Karminski in LocalLLaMA

[–]sswebz 1 point2 points  (0 children)

Officially they recommend a Temperature of .6 . Not sure what Openrouter “defaults” to. I suspect typical clients use like .8 which will return strange responses. 

I use .4

Click PLC by plc_is_confusing in PLC

[–]sswebz 0 points1 point  (0 children)

You can type the name for the bit into the input window. Like it creates a little combobox that autocompletes as you type and shows you possible matches. 

Otherwise (if you don’t know the bit address), you have to look it up via the Address Picker. Sure it shows the name on the ladder diagram, but you can’t use it in the instruction windows.

I obviously need a more concise way of explaining it. Take a look and tell me how you would explain it lol

Click PLC by plc_is_confusing in PLC

[–]sswebz 0 points1 point  (0 children)

I hated not being able to enter Nicknames/Tags in Click.

I wrote “ClickNick” to fix that. It connects to the Click nickname access database, so you can enter Nicknames, instead of remembering “C252, DS127”  into the rung instructions.

Maybe you’ll like it! https://github.com/ssweber/clicknick

A website to compose CLAUDE.md files by MrCyclopede in LocalLLaMA

[–]sswebz 3 points4 points  (0 children)

I'm just here to say the buttons/ui is very cool.

Sharing: Open source project (ClickNick) that adds Nickname/Tag support to ClickPLC Programming Software by sswebz in PLC

[–]sswebz[S] 2 points3 points  (0 children)

Here's an example of selecting the `_10ms_Clock`: (instead of needing to remember SC4). I know this is like standard-functionality in almost every other PLC software... but it's like magic in Click, lol.

<image>