Let me first say that I have no experience connecting to PLCs using a PK controller over ethernet/ip.
So I have a Micro Logix 1400 and I am trying to monitor parameters from the Micro Logix in DeltaV v15 using a PK controller.
I need to know how to set up the LDT and the signals so that I can read the parameters that I have tried to attach here.
Any help would be greatly appreciated.
...
COMMON
PLC ADDRESS RO A
PLC ADDRESS RO B
DESCRIPTION
LOGIC OR UNITS
N40:0
N40:1
PERMEATE CONDUCTIVITY
microsiemens
N40:22
N40:24
PERMEATE FLOW
GPM
N40:23
N40:25
CONCENTRATE FLOW
N31:17
N32:17
FLUSH LEFT
MINUTES
F8:172
ORP
MILLIVOLTS
N40:6
PERMEATE TANK LEVEL
USER DEFINED
F8:49
F8:53
RECOVERY
PERCENT
N40:4
N40:5
MODE
0=PRIMARY,1=SECONDARY
N40:11
N40:21
PUMP SUCTION PRESSURE
PSI
N40:12
N40:13
MEMBRANE PRESSURE
N40:14
N40:16
PERMEATE PRESSURE
B41:9/2
B42:92
RO PUMP STATUS
0=OFF,1=ON
N40:3
PERMEATE TANK LEVEL DISPLAY
SCALED BY USER
N40:7
RO STATUS
*
B41:9/0
201A SOFTENER STATUS
0=SERVICE,1=REGEN
B41:9/6
202A SOFTENER STATUS
B42:9/6
201 B SOFTENER STATUS
B42:9/7
202B """"""""""""""""""""""""""
N31:18
N32:18
RO INLET VALVE STATUS
0=CLOSED,1=OPEN
N31:19
N32:19
RO FLUSH VALVE STATUS
*0=SERVICE,1=POST FLUSH,2=FAULT SHUT DOWN,3=CLEAN,4=SHUT DOWN,5=LOW PSI RETRY,6=TRANSITION,7=HIGH LEVEL SHUT DOWN,8=RO LOCKOUT,9=FLUSH HOLD,10=PREFLUSH
In reply to Adam Villhauer:
Hi Adam,
You need to configure the PK Controller P01 port for Ethernet/IP and assign a Primary IP address consistent with the PLC address range. Then create a physical device which will represent your Micrologix 1400 and enter its IP Address in the Primary IP Address field. The next step is to create Logical Devices. These are used to group the data you are bringing in from the PLCs and in the case of Micrologix, I would suggest using Class 3 with PCCC, which allows you to map directly to the register ranges used in your PLC. The supported types are N and F.
When using Class 3 with PCCC, each LDT will contain groups of signals, and you need to specify the direction. Since you are interested in reading only, your LDTs will be Input type (Data direction field).
I would also suggest grouping all your values in consecutive register ranges so you can use a single LDT for your reads. You will also need to map your bits to an integer word in the N Data File. Sorting your data by register addresses shows that there is opportunity to optimize it and make sure there are no duplicate addresses.
Since many of these are not contiguous, you may end up moving data that you don't need or creating more LDTs for reading all these parameters.
Assuming that all your integer data is in the N40 data file, your configuration would look like this:
PK Controller P01:
Primary IP Address is required.
Physical Device:
PLC Primary IP Address is required.
Integer Inputs LDT (including a 16-bit signed integer for your 6 bits):
Floating Inputs LDT (assuming they are contiguous and start at F8:49):
If optimizing the data mapping in the PLC is not possible, you will need to create LDTS that allow grouping your data. If you only want those parameters in the list, you may need more LDTs. If you don't mind bringing extra data, create LDTs per data file:
I hope this helps,
Camilo
Camilo Fadul | DeltaV Solution Marketing Director
https://www.linkedin.com/in/cfadul
In reply to Camilo Fadul:
Thank you, this is a good start. Below I have what I think all the LDTs Properties would look like for each set of addresses. Do these look right?
Also how are the B41:9/0, B41:9/2, B41:9/6, B42:9/6, B42:9/7 and B42:92 Handled.
What would the LDT look like for the B41 and B42?
LDT for N31:17, N31:18, N31:19
Number of Values- 3
Data direction- Input
Data type- 16 bit signed integer
File type- N
File number- 31
Starting Address- 17
LDT for N32:17, N32:18, N32:19
File number- 32
LDT for N40:0, N40:1, N40:3, N40:4, N40:5, N40:6, N40:6, N40:7, N40:11, N40:12, N40:13, N40:14, N40:16, N40:2, N40:22, N40:23, N40:24, N40:25
Number of Values- 25
File number- 40
Starting Address- 0
LDT for F8:49, F8:53
Number of vales- 5 (assuming that this will bring in 49,50,51,52,53?)
Data type- Floating point
File type- F
File number- 8
Starting Address- 49
LDT for F8:172
Number of vales- 1
Starting Address- 172