Freelance - Hi,Is it possible to write variable in a faceplate and in the UFB ?
I have DPS Variable called "OCD" (Operator Command) used in a faceplate (a button allow to write TRUE or FALSE in this variable).
In some condition, when i have automatic mode, i want to have tracking of this DPS Variable and my "Automatic Command" (for example if Automatic Command = TRUE THEN OCD := TRUE).
Is it possible to write DPS variable from UFB and from Faceplate ?
I hope I uderstood corectly, will be better to get some screenshot about logic you want to develope. Anyways...
Please check your previous question, the screenshot describes various type of variables used to program UFB, for the requirement you have mentioned you need to use PARA_DPS type variable to read and written from faceplate, And this variable can be used for mode selection. inside UFB logic conned this mode selection variable to 'OCD' . So when automation mode is 1 'OCD' gets one. of you connect auto mode variable with some logic and give that output to 'OCD' variable.
Hope that helps, else pls reply back with more information.
I understand that i have to use PARA DPS.
I tried, seems working but i have a problem, when i switch from the automtatic mode (MMPI = TRUE), the command shut down 1s before switch on.
What can i do to avoid this ?
Find in the screenshots the UFB Program and Faceplate.
MMPI: Automatic Mode
MLI: Manual Mode (Command from Faceplate)
CDO: Operator Command (from Faceplate, "Demarrer" button, 1: for run order and 0: for Stop order)
CPI: Automatic command (1: for run order and 0: for Stop order)
XAD: Electrical fault on motor (information read from NC contact in the MCC drawer)
HSS: Output Inhibit
HSE: Input Inhibit (for motor state calculating purpose)
TRACK function is a function which can assign a command to track in the output command:
TRACK OUT := IN if Condition = FALSE or TRACK OUT:= CDT if Condition = TRUE