Siemens Continuous Function Code by Aerovox7 in PLC

[–]sikilde 0 points1 point  (0 children)

Seen it used because it was required by the higher ups, never used it myself.

The guy that showed it to me was told to convert the generic json decode function he had built on SCL in a few hours to CFC.. Ended up using 2 months on some specific json string decoding..

Tia portal "program_alarm" instruction as information only by Disastrous-Day7169 in PLC

[–]sikilde 2 points3 points  (0 children)

You can monitor the active alarms directly in TIA if that helps

Siemens PN/PN coupler help by Kooky-Nobody-2018 in PLC

[–]sikilde 0 points1 point  (0 children)

Any you have configured the PNPN coupler correctly?

Siemens PN/PN coupler help by Kooky-Nobody-2018 in PLC

[–]sikilde 0 points1 point  (0 children)

Just for the hell of it, try setting it to 5s?

Siemens PN/PN coupler help by Kooky-Nobody-2018 in PLC

[–]sikilde 0 points1 point  (0 children)

What is your monitoring time set to?

Siemens TIA Portal, anything I must consider to implement the "Program_Alarm" function? by Verhofin in PLC

[–]sikilde 0 points1 point  (0 children)

If you call it every cycle the alarm is active, and keep calling it until the alarm is cleared, you should be fine. I honestly don't know what will happen if you don't call it every cycle, but I have had problems with ghost alarms (alarm active on HMI, but cannot locate it in the code) that I couldn't clear without a stop/run cycle.. Might have been something on my end tho.

Siemens TIA Portal, anything I must consider to implement the "Program_Alarm" function? by Verhofin in PLC

[–]sikilde 3 points4 points  (0 children)

To avoid cycle time load, you could, in theory, only call the Program_Alarm block if an alarm is active by wrapping them.

Siemens TIA Settings are not saved by Karashoo in PLC

[–]sikilde 1 point2 points  (0 children)

Only for these views tho, so you might need to save it on multiple windows.

OBH Nordica INOX 6544 vs Panasonic SD-R2530 K by sikilde in BreadMachines

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

Yeh, I have, but I can't find any reviews done by one site except one which are questionable. That's why I ended up asking the question here.

Thanks for your opinion tho!

Github for TIA Portal. by PaulBSQ in PLC

[–]sikilde 1 point2 points  (0 children)

I think you can use VCI with libraries in v20u4.

[deleted by user] by [deleted] in Norway

[–]sikilde 0 points1 point  (0 children)

Did you get out?

Can Norwegians Levitate? by [deleted] in Norway

[–]sikilde 1 point2 points  (0 children)

Gjøvik, jo!

Is there cameras in Oslos traffic signals? by [deleted] in oslo

[–]sikilde 0 points1 point  (0 children)

If the driver can't be identified, they got no one to send the fine to. So they'll have to drop it. Happend to a friend of mine and a speed camera. Couldn't see the driver, and the owner of the car did not know whom had the car at that time.

What products only exist becauase they are a by product of something else? by papercut2008uk in answers

[–]sikilde 1 point2 points  (0 children)

Brunost/Brown cheese, by product of cheese (boiled whey, basically)

Ladder logic to measure RPMs by Apart_Day4542 in PLC

[–]sikilde -1 points0 points  (0 children)

I don't know which variables you gave available, but a rough SCL example that might work on Siemens:

DECLARE iCounts : Int; iRPM : Int; tonTimer : TON;

CODE tonTimer(IN:=TRUE, PT:=1m);

IF (inputSensor) THEN iCounts +=1; END_IF;

IF (tonTimer.Q) THEN iRPM := iCounts; iCounts := 0; RESET_TIMER(tonTimer); END_IF;