Unity Pro - DFB parameters

euler13

Member
Join Date
Nov 2015
Location
Cairo
Posts
9
Hi Friends,
I`m new to schneider PLCs and unity pro software,and with a very good background in siemens PLCs. I want to know when I`m creating a user defined function block DFB, when to use the Inputs\outputs parameters and Public parameters? especially if I have variables resuted from the logic and they are written and read inside the block and I want them to be connected to Vijeo Citect.
 
I use input/output for variables that need to persist between execution of the DFB, i.e. motor run hours. I put a motor run hours variable into the DFB, logic inside increases it while the motor is running, then the new motor run hours is output.

That's probably a terrible explanation but it's really the only time i use it for dfbs.

I have never had a need to use public variables so I'm not sure about those
 
Maybe this will help.




ETA: cant see the pic. In the Unity Help index, search for "public variable" and this will pop up. It explains the difference between public and private variables.

DFB_public.jpg
 
Last edited:

Similar Topics

I've used Schneider Electric and Unity Pro for a long time and have always assigned a variable external to the DFB and then assigned that external...
Replies
2
Views
3,498
I'm trying to find "IEC_BMDI_M" to use in my converted Unity Pro program to replace the old Concept "IEC_BMDI" but I can't find it in the...
Replies
3
Views
2,396
I have a problem for importing DFB Blocks in a project of Unity Pro V3.0. I have a compressed file containing the Database of DFB Blocks with a...
Replies
7
Views
5,917
Hello again, I was just wondering, I have 2 separate DFBs 1 to find the level of product and another to scale it according to Specific Gravity of...
Replies
3
Views
2,096
Hi everyone, i wanted to ask if its possible to read public variables on a DFB's instance on Unity Pro S, from vijeo citect 7.2 using OPC OFS. I...
Replies
5
Views
4,286
Back
Top Bottom