Omron CX-Programmer Call Functions from Structured Text

Hann

Member
Join Date
Nov 2022
Location
New Zealand
Posts
16
Is there a way in CX-Programmer to call functions from a structured text program?

I have found this manual that seems to describe the process however I am not yet able to replicate it.

http://www.etitudela.com/entrenadorcomunicaciones/downloads/introduccionbloquesdefuncionfb.pdf
Yk2yC8J.png


My Attempt:
Function:
9xgZHQH.png


Function
S6z1BaM.png

IphB2Xd.png

aCuu3iW.png


Structured Text Program:
YjdTbpn.png


Calling function:
F9GhgKp.png


Error:
J4ieUr5.png
 
Last edited:

Similar Topics

Is there a way in CX-Programmer to call Ladder Instructions from a structured text program? I can see several functions in the autocomplete...
Replies
3
Views
1,900
Hello ! I am trying to use an omron cj2m-cpu33 with a CP1W-CIF01 plug in serial connector to talk to a zebra ZT610 printer. I am getting the data...
Replies
8
Views
362
I am using a function block that has a in/out parameter that is a structure. The structure has an array as one of the elements. I can index the...
Replies
1
Views
726
Is there a way in CX-Programmer to initialise an array? Set all values to zero or false depending on the data type Solutions in Ladder and...
Replies
2
Views
1,249
Is there a way in CX-Programmer to ad UINTs together with an instruction without a compiler warning. Ladder Rung: Warning: Instructions...
Replies
2
Views
1,239
Back
Top Bottom