Can't pass values from PLC to Fieldbus devices

Tim James

Member
Join Date
Mar 2012
Location
Texas
Posts
92
I am working on a small Fieldbus network setup with a CompactLogix L45 controller, two 1788-EN2FFR linking devices and an array of Fieldbus transmitters and three Fieldvue valve positioners. The linking devices are each controlling separate Fieldbus networks.

The problem I am having is that while I can get data from the Fieldbus networks into the PLC, anytime I try to pass data from the controller to a function block in a device, I get a "BAD: NOCOMM NO USABLE VALUE" status. So all the transmitters are passing PVs into my controller via wired connectors with PLC tags, but my controller cannot pass values into the device function blocks (ie a command signal or PV to the Fisher valve positioners). The positioners are Fisher DVC6200f Device Revision 2 DD1.

I am following the directions exactly as published in the 1788-EN2FFR manual (Document 1788-UM057A-EN pg 68) http://www.hiprom.com/Pages/Products/1788_Range/1788-EN2FFR/files/Document%20Publish/1788-UM057A-EN-P.pdf. I am constructing my function block arrangements as instructed, and then I try to model the Fieldbus function block handshaking / initialization as shown in the document, but since the values linked from the PLC to the function block are never passed to the function block and the status of these function block inputs are always BAD:NO COMM, I cannot move forward with the handshaking procedure. This situation holds true for all types of function blocks (AO,DO,PID,ISEL, etc) and all types of values (REAL,INT,BOOL) and all function block modes (AUTO, MAN, IMAN). I can circumvent the handshaking trickery and get an AO function block to go into CAS mode by linking it to a PID FB but I am still in the same boat with my input to the PID FB never making it into the block. I am trying to simply get a 0-100% travel command to the positioners (I run the PID logic in the controller), but no matter what I can't get any sort of input whatsoever into the positioner device. I have no problem linking or wiring the positioner's function block outputs to a controller tag and seeing the value in the controller, but it seems impossible to get a value from the controller to pass into the device function blocks. I can see the value update on the connector I add into the function block schematic, but the value does not pass to the function block parameter it is wired to, regardless of FB mode.

I have tried different firmware revisions on the linking devices and different DD files for the Fisher Fieldvue valve positioner and neither had any effect. I am going to try an older revision AOP for the linking device, but I am currently using the most recent one. It seems like a stretch, but I may even try an older firmware revision on the controller itself. It seems to be a communication problem, but since it is only occurring in one direction (values from controller to fieldbus device) and everything seems to work fine in the opposite direction (values from fieldbus device to controller), I am stumped. My setup is one H1 bus per linking device with 8-12 fieldbus devices on each linking device, using two 1788-PARJB junctions on each separate H1 bus network. Each separate fieldbus network is wired as single bus, single master, terminated (with the linking device being one terminator and the second junction box being the second terminator). Signal diagnostics seem ok. I have looked at the LAS schedule and the RPI rates and I can't find any obvious problems there, but I did read that communication errors could come from a timing error between the function block schedule and the comm schedule. Why that would effect communications only in one direction, I am not sure. Oh, and I am using an unmanaged switch, but even bypassing the switch and going linking device directly to the controller's ethernet module had no effect on the problem. Thanks in advance for any help.
 
Last edited:
EN2FFR config. Unable to pass values to devices

Hello Tim James,

I have the almost same issue with the Fieldbus. I'm configuring Fieldbus devices using 1788-EN2FFR. I couldn't able to pass the values from the controller into the function blocks of the device. I just need the AO blocks to be worked with 0-100% without PID. Could you help me the solution that you got Tim?

Any help from other guys is highly appreciable,

Thanks,
Vijay.
 

Similar Topics

Hello I'm programming a project in TwinCat3. I'm not new to programming but I have never really programmed anything too complex. I want to...
Replies
3
Views
1,726
Hello all. My first post here ever. What am I missing here?! I have made a simple FC that I would like to test out. I call it in OB1 and passes...
Replies
1
Views
1,320
Hello, I am still new to PLC programming and I just got this job two year out of school so I don’t remember much. I was given a task were I have...
Replies
1
Views
168
So I'm having issues with a certain rung and one of my coworkers mentioned it may not allow the signal past the latch coil. For example in the...
Replies
27
Views
3,746
I’m a bit stuck on HMI (KTP-1200) programming… See the picture attached. The PASS or FAIL box should only appear when the toggle switch is...
Replies
7
Views
1,070
Back
Top Bottom