Jump to content

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...