PLC goes to RED LED

I attempted to compile and run your SCL code but it failed to compile as variables vhod1,2,3,4 are not declared anywhere (as previously reported by Ken M).
 
Last edited:
In the simbol table i wrote simbol name : Exercise FB1 FB1 and the ExerciseBD DB1 FB1.
var_input:
Dis_input01:bool:=false; // inputs set through the OP
........................
........................
Dis_input04:bool:=false;
End_var

var_output
vhod1:bool:=false; // inputs on the PLC
.
.
vhod2:bool:=false;
end_var

with the goto statement i was only trying to compare somehow the inputs of the plc and of op.
 
What variables did you enter as the passed parameters when you called the block ? (or did you not enter any but set the OP to write to the instance data block addresses that contain the function block's parameters ?)
 
Last edited:

Similar Topics

I am using Mitsubishi PLC :FX3g and downloaded the program in it. When I connect Mitsubihi FX2N-4DA expansion module, it lost its communication...
Replies
3
Views
274
my problem is when i lost signal with the PLC all the icons or images in the HMI go invincible, how can i change that ?
Replies
9
Views
1,959
Hello everyone! Having a hot standby with H5724M system , I am randomly getting the following errors on the standby PLC: Message : HSBY: Switch...
Replies
10
Views
3,294
Looks like I'm experiencing a lot of "firsts" this week. Here's another: Loaded a program into a PVPlus 1000 (F/W 8) and PLC program into a...
Replies
4
Views
1,638
Hi, I have a setup where a fan is being controlled by a VFD (1336 Plus II) which interfaces via a scanport module (1203-FM-1) to the PLC...
Replies
3
Views
4,806
Back
Top Bottom