PLCS.net - Interactive Q & A

PLCS.net - Interactive Q & A (http://www.plctalk.net/qanda/index.php)
-   LIVE PLC Questions And Answers (http://www.plctalk.net/qanda/forumdisplay.php?f=2)
-   -   PlantPAx Object for Controlling 2 state device (http://www.plctalk.net/qanda/showthread.php?t=127857)

MorphuisOGrady January 13th, 2021 09:06 AM

PlantPAx Object for Controlling 2 state device
 
Hi,

Anyone familiar with the PlantPAx library?

I have a few simple devices I need to control. 2 outputs for open/close and 2 inputs for status opened/closed.

I could use a P_Valve or P_Pump object and rename it but curious if sometime already exists for a simple 2 state device.

Thanks in advance

Ken Moore January 13th, 2021 11:27 AM

P_Valve sounds perfect, why change?

MorphuisOGrady January 13th, 2021 01:41 PM

Simply because it's an electrically actuated clamp and not a solenoid valve.

Sure it will fit the purpose but I was just curious if there was such an object in the library for a generic 2 state device.

JeremyM January 13th, 2021 02:21 PM

You could create a UDT containing a pair of DIn, DOut, and perhaps some custom commands/states that are associated among them. Think of it as an equipment module containing its control modules.

However, I lean to Ken’s idea because you could easily enough copy and rename, or rename outright, the P_Valve AOI to be “P_Solenoid”.

cardosocea January 14th, 2021 02:55 AM

Isn't there an AOI for this? I know there's one for n-State device, but it's likely overkill?


All times are GMT -5. The time now is 02:23 PM.

.