Error 3441 in Proface Plc while compiling

gsk8693

Member
Join Date
Feb 2016
Location
Bangalore
Posts
2
i am Unable to set Output Variable to Input Operand inside the function block in proface. but i could do the same in Omron Plc. Y is it so??
 
Last edited:
I believe I have run into this exact problem in SCADAPack workbench function blocks.

You have a function block output variable and you want to use it within the function block as an internal input. SCADAPack Workbench is exactly the same - it will not me use an output variable as an internal input. The solution is to have two variables. One for internal use, and one for the output. You use the one internally for you internal inputs (where required), and the output variable is used once to set the output of the function block.

The way I do it, for example, with an analog input function block - I have a scaling function that outputs my EU (scaled value). I want this EU to be an output variable in the function block, but I also want it to be used internally for alarm determination. So I have two variables:

EUInt---REAL---Internal Variable
EU---REAL---Function Block Output

I set it up so that the scaled value coming out of my scaling function writes to EUInt, then the rung below that I move the value of EUInt into EU. For example:

-[SCL]---EUInt-----
-EUInt=EU------

Sorry, that's a terrible diagram. I hope that helps a bit. Unfortunately I cannot answer the question as to why it doesn't allow it, I know Studio 5000 and RSLogix 5000 allows it. Hoping someone else can answer that question too.
 
Thanks a lot bro. I too find the solution.. Instead of mapping the output variable as input operand, we can map that output one as local variable so that it can be used many times inside the Function Block.
 
Yea, that works too. I wonder if your Proface PLC is also unable to have timers within function blocks? If so, have you found a solution for that? In SCADAPack Workbench, a TON is a built in function block, but since I cannot use function blocks within function blocks, I cannot use the TON within my function blocks. It is rather unfortunate - maybe you have run into this same issue?

If you have, and you might have a solution, would you mind replying to my post here: http://www.plctalk.net/qanda/showthread.php?t=100758

Thank you!
 

Similar Topics

Hi guys, Im trying to set the real time clock in my Mitsubishi FX1N, but it shows this error ES: 01800001 I have good communication with...
Replies
3
Views
124
Hi, I am facing an error inside Omron Network Configurator. I have 2 PLC communicate each other using ethernet cable, send signal using Network...
Replies
2
Views
90
hi... i have an issue in s7 300 plc, while we run the machine(in idle there is no fault) , plc cpu goes in SF mode, after restart the power cycle...
Replies
2
Views
100
I have a Sinumerik 828D control panel and its for a CNC machine, the problem is that it gives an error state 700027 tool turret state :S4...
Replies
0
Views
93
I am having a problem communicating my PLC with Drive via Modbus connection. I start by opening the port and there is no problem, but then when I...
Replies
6
Views
183
Back
Top Bottom