P_LLS - Don't understand how it swaps beyond 2 pumps

jakeparsons03

Member
Join Date
Jun 2017
Location
Indiana
Posts
78
I have been reading everything I can find on the P_LLS the last 2 days but I am still having trouble understanding how the P_LLS swaps beyond 2 pumps. I understand that you create a array tag for the amount of motors you have and tie it to the "Ref Motors" tag in the LLS however the Ref Motors tag only has 2 array spots. How do I tie my third, fourth or fifth pump to the LLS?
 
What do you mean by "only has two spots"?? You can change the array size.

The P_LLS "Ref_Motors" tag array accepts only 2 motors, its of datatype P_LLS_Motor[2]. So even if I tie a 5 motor array tag, say of datatype P_LLS_Motor[5], to the "Ref_Motors" tag it will only take the first 2.
 
The P_LLS "Ref_Motors" tag array accepts only 2 motors, its of datatype P_LLS_Motor[2]. So even if I tie a 5 motor array tag, say of datatype P_LLS_Motor[5], to the "Ref_Motors" tag it will only take the first 2.

This isn't true btw. Arrays as InOut parameters behave somewhat like C arrays. For my AOIs I prefer to specify ArrayType[1] -- it doesn't allow [0] -- to make it more clear, but inside the AOI must use SIZE to determine the safe access boundary.
 
This isn't true btw. Arrays as InOut parameters behave somewhat like C arrays. For my AOIs I prefer to specify ArrayType[1] -- it doesn't allow [0] -- to make it more clear, but inside the AOI must use SIZE to determine the safe access boundary.

So the [1] array size essentially just makes it an array but it uses your size that you choose as the actual array size within the P_LLS itself?
 

Similar Topics

We have been using a "koyo" dl06 and communicating to it well over Modbus TCP, we read inputs and set outputs at a high rate, 4-10 times a second...
Replies
7
Views
650
I have a beam with a load cell on each side (under each end) If the maximum weight being pulled down on the beam is 1000lbs Do you buy two...
Replies
11
Views
2,753
Hello Everyone, What are the Necessary Skills and Softwares that an industrial automation engineer need to learn well and master ? Thanks in...
Replies
20
Views
4,978
Hello, I am working on a project currently that uses a windows application on a PC to communicate with an NX1P2 controller to read and write...
Replies
2
Views
1,000
Back
Top Bottom