Ethernet/IP setup to Festo CPX FB32?

CapinWinky

Member
Join Date
Aug 2011
Location
Virginia
Posts
566
I'm trying to get Ethernet/IP communication working to a Festo CPX valve bank using an FB32 from a non-Rockwell PLC (Schneider/Elau PacDrive3). I have the status bits turned on, one 8DI and six MPA2S modules in the bank, which should result in 3 input bytes and 6 output bytes.

I imported the EDS file and created an I/O Connection with the correct number of inputs and outputs bytes to match my valve bank. When I go online with the PLC, it says everything is fine and working, BUT it only returns zeros on the inputs and if I force an output, no valves turn on. If I connect to the bank with the Festo Maintenance Tool, it correctly reads the inputs and sets the outputs.

The connection path is: 20 04 24 66 2C 64 2C 65 and the trigger type is Cyclic with RPI of 20ms. O->T is 6 bytes, mode is Point to Point, type is Fixed, and transfer format is 32Bit Run/Idle. T->O is 3 bytes, mode is Multicast, type is Fixed, and transfer format is Pure Data.

For comparison, a working connection to a VFD has a connection path of 20 04 24 05 2C 64 2C 65 (only difference is 4th pair is 05 instead of 66) and all the same settings except for the input/output sizes.

Any help would be appreciated.
 
I used the Maintenance Tool to export an L5k file of the module to see what things looked like in AB world. input is 101 size 3, output is 100 size 6, and configuration is 102 size 49 (I don't need any of the configuration stuff). Comm format is SINT and Use Unicast is unchecked.

Raw L5K (with comments removed since there were pages of them):
IE_VER := 2.8;
CONTROLLER WorkingProject (ProcessorType := 1769-L32E, Major := 13, _TimeSlice := 20)
MODULE Controller (Parent := Controller, CatalogNumber := 1769-L32E,
Vendor := 1, ProductType := 14, ProductCode := 77, Major := 13, Minor := 19,
PortLabel := RxBACKPLANE, ChassisSize := 4, Slot := 0, Mode := 2#0000_0000_0000_0001,
CompatibleModule := 0, KeyMask := 2#0000_0000_0001_1111)
END_MODULE
MODULE LocalENB (Parent := Controller,CatalogNumber := 1769-L32E Ethernet Port,
Vendor := 1,ProductType := 12,ProductCode := 158,Major := 13,Minor := 1,
PortLabel := RxBACKPLANE,Slot := 1,NodeAddress := 10.8.64.236,Mode := 2#0000_0000_0000_0000,
CompatibleModule := 0,KeyMask := 2#0000_0000_0000_0000)
END_MODULE
MODULE TestBank (Parent := LocalENB,CatalogNumber := ETHERNET-MODULE,
Vendor := 1,ProductType := 0,ProductCode := 18,Major := 1,Minor := 1,PortLabel := ENet,
NodeAddress := 192.168.0.20,CommMethod := 536870916,ConfigMethod := 8388612,Mode := 2#0000_0000_0000_0000,
CompatibleModule := 0,KeyMask := 2#0000_0000_0000_0000,PrimCxnInputSize := 3,PrimCxnOutputSize := 6,SecCxnInputSize := 0,SecCxnOutputSize := 0)
ConfigData
(
Comment Info removed
)
:= [53,102,[0,31,0,4,0,0,0,0,2,0,0,0,32,0,0,5,-44,64,1,-96,2,3,1,81,0,83,-127,4,85,83,
-127,4,85,83,-127,4,85,83,-127,4,85,83,-127,4,85,83,-127,4,85]];
CONNECTION Standard (Rate := 10000,InputCxnPoint := 101,OutputCxnPoint := 100,EventID := 0)
InputData
(
Comment Info removed
)
:= [[0,0,0]];
OutputData
(
Comment Info removed
)
:= [[0,0,0,0,0,0]];
END_CONNECTION
END_MODULE
END_CONTROLLER
 
I set one of these up with an AB 1769-L32E Controller and was unable to get them to communicate properly until I changed the diagnostic dipswitch settings DIL switch 2: first one off, second one on.

CPX-FB32.JPG
 
(only difference is 4th pair is 05 instead of 66)

This difference is the configuration instance. There is always an input, output and configuration instance. How it is handled is very device specific.

The 66 matches what you have from the config:

100d is 0x64
101d is 0x65
102d is 0x66

where the 2c means interpret the next byte as an 8bit assembly instance:

20 04 24 05 2C 64 2C 65

You can't compare the actual values for the assembly instances with the VFD, unless it's the same device with the same configuration, or you know a priori they are the same.

I would Wireshark the connection; we can check the forward open and see if it is accepted, then see if/how the UDP data flows, and for how long. Perhaps get some error codes if it fails.
 
Last edited:

Similar Topics

We are trying to set up a newer generation Omron PLC (NX/NS Series) with Citect / Aveva Plant SCADA using the Ethernet/IP CIP Protocol to read...
Replies
2
Views
268
I know, there's tons of resources out there on how to setup generic ethernet devices but I just cannot figure this out, I'm not sure what I'm...
Replies
7
Views
396
Hello all, I need to add a module in logix for an SMC pneumatic valve manifold specifically EX600-SEN3/4. The eds files I add crash the program...
Replies
7
Views
620
Hello Friends, 1. How can I connect to PLC5/30 via Ethernet (Rslinx)?. I have not worked on PLC5 before. is it same procedure as MicroLogix...
Replies
13
Views
2,148
The way our plant is layed out, I'm limited on how I can connect to different machines. Right now I am pulling data from RSLinx OEM to an Excel...
Replies
1
Views
2,103
Back
Top Bottom