Dear all,
I am trying to program a simple subroutine, to just turn on a led on the plc, in order
to grasp the workings of the call function. I did not find any examples or
anything similar online. I was wondering if someone could help me out with
instructions.
First off: I have created a new project in GX dev and have only one POU.
this is registered in the Task pool. In the POU i have drawn one call function,
one fend instruction, driving one output, and one sret command.
When i try to build i get 2 errors, saying that there can only be one FEND instruction.
when i click on the show button, it shows me one red fend function block and the other one
shows a red Task Pool.
I have scratched my head bald over this, any help?
Greatly appreciated,
Jean-Phillipe