Structured text help for logix 5000

Hi all,

i have a logix 5000 program that has a lot of structured text.
i am online and looking at the program and i have the monitor glasses on so i can see the data.
the oem went out of business and i am new to structured text.
they were not from the USA, so that makes it more difficult.
this is the line i am having trouble with and what i see on the screen

PKS_EV(AOICilPison,CilPison);
.... ....

what is this command and how does it work?
any help would be much appreciated.
thanks in advance,
james
 
PKS_EV is probably an AOI. AOICilPison is tag for the AOI and CilPison is a tag required for the AOI.

Look for PSK_EV in the list of add on instructions, you'll have to investigate it to see how it works.
 
i will have to do it Monday.
this is the line of code
PKS_EV(AOICilPison,CilPison);
the dots do not show up correctly in the post
there are 4 dots under the center of AOICilPison and 4 dots under the center of CilPison
and is what is shown in the data viewer
james
 
Hi all,

i have a logix 5000 program that has a lot of structured text.
i am online and looking at the program and i have the monitor glasses on so i can see the data.
the oem went out of business and i am new to structured text.
they were not from the USA, so that makes it more difficult.
this is the line i am having trouble with and what i see on the screen

PKS_EV(AOICilPison,CilPison);
.... ....

what is this command and how does it work?
any help would be much appreciated.
thanks in advance,
james
What you’re seeing is the same principle at work that you’d use for a timer on a rung:
TON(MyTimer)

The call to TON() operates on an instance of TIMER named MyTimer.

PKS_EV(AOICilPison,CilPison);

The call to PKS_EV() operates on an instance of the PKS_EV type named AOICilPison. The second item in the call is a required parameter of some other type.
 

Similar Topics

I am working to get a stepper motor moving with this PLC. I have tried help from two 2 AI Agents, but just get run around in circles with no...
4
Replies
490
Views
Hey everyone, I’ve been experimenting with using AI to generate Structured Text for PLCs (mainly Codesys and Beckhoff), mostly because I got...
98
Replies
7,283
Views
Hello, doing switch from FBD to ST. First task is converting my old work. How do you sum variables? For example, Interlock1, interlocl2 and...
5
Replies
1,083
Views
Hey guys, was hoping someone could give me a bit of advice here in a couple spots. I'll start off with my dumb code and explain after...
10
Replies
3,943
Views
Hi All, I'm really new to structured text. My PLC experience is mainly PLC5 (ladder), Omron (ladder), and Micro850 (function block). I'm trying...
3
Replies
4,328
Views
Top