How to create/Call in a Subroutine in GXWorks3

Thanks Bro.
Could you please illustrate this for me;



''After the FEND instruction, your pointer code is written with the pointer number on the outside of the ladder on the left''.


This is the only one I did not get clearly from the statement below of that Thread.



But in regular ladder to perform a subroutine you have to first call it with a pointer.

X0--------[CALL P1]....for example.
Then, at the end of the ladder, before the END instruction you would have a FEND instruction.
After the FEND instruction, your pointer code is written with the pointer number on the outside of the ladder on the left.
When the subroutine is finished you will need a SRET command to return to the other code.
 

Similar Topics

Hi all, recently, I deployed Intouch SCADA to the 7 clients PC, but one PC got pending to update the objects and unable to successful. There is...
Replies
0
Views
34
Hello, I've been trying to learn this a while now and still have not found out how this works. I have an Omron CJ2M PLC and an ABB ACS 355 VFD...
Replies
1
Views
293
Hello, I have to deal with iFix again and am looking at the most efficient way to create alarms to display in iFix, i.e. not creating an...
Replies
0
Views
175
Good morning to all, I have the following issue, I installed everything of intouch including the patch, it is the 2023 version. The...
Replies
0
Views
359
So, I finally got versioin 27 installed on my Windows 10 VM. However, now I can't upload a project from my lab controller. I have the above error...
Replies
0
Views
1,151
Back
Top Bottom