BokuNoNamae Posted August 22, 2016 Report Posted August 22, 2016 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 Quote
Gambit Posted August 22, 2016 Report Posted August 22, 2016 The GX IEC Developer compiler will create the FEND instruction. You do not have to do this yourself Quote
Recommended Posts
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.