
adccommunitymod (AutomationDirect) asked a question.
Created Date: April 20,2012
Created By: Cap
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I have a Festo E-Net Valve Body that is presently running on a AB Controller and talking on the Machine's E-Net. I 've been told by AD and Festo, that the Protocol for the Festo valve Controller is not Supported by the Ecom 100.. and I needed to change the Valve Controller to a Modbus Controller.. DONE.. The ModBus Controller for the Festo Valves uses Modbus Address for the Actual Controller as 40001 and 40002.. ( Page 6-28 ) this would place them at V0 and V1 by the Modbus Conversion Excel Spread sheet from AD for a Network Write Instruction.. I 've resolved all of my Machine Output Requests, and Manual Forced Outputs to GY1000 to GY1060. My First valve 'Bank ' will be accessed at Modbus 40003.. that Equates to V2... and it only uses 8 of the 16 Bits avalable on that Address.. so I have to Shifted Bits 8 to 16 over to the Next word ( 40004 or V3 ) All of that works.. The E-Com 100 is already comunicating to the Lap Top and the Touchscreen.. Modbus Write will not.. Then I tried triming the Instriction down to only ONE word.. ( This will be only one Valve Bank, and that will be 8 Valves ) and that is 40003 ( v2 ) and writting the Number 1 ( Bit Position 0000000000000001 ) to that location with a Network Wx Instruction.. yealds Nothing on the Valves.. The Actual Instruction is.. StrN SP130 E Com Busy Flag LD K 414 ( Slot 4 for the E-Com 100, Device 14 that is assigned to the IP Adress of the Valve Body 192.5.1.56 ) LD K2 two bytes of data.. been up to 6, and down to 1.. does not like 1 as the Valve Driver will throw an error lite.. LDA O40240 the location of the GY100 Memory.. Yes I 've looked at the Bit Positions at 40240, and they are corect.. WX V2 this has been down to V0 and up to V7.. The Festo Maint Software Package will find and talk to the Valves.. and move them using the IP Address, and If I pull the E-Net 100 E-net cable, the Festo valve Controller will throw a yellow -No Modbus Com lite.. I have Isolated the Local E-net System, to prevent any other traffic from interupting .. and the Traffic is passing through a SE-SW 5U Switch.. Here is a link to the Controller Documents.. http://www.festo.com/net/en_corp/SupportPortal/default.aspx?q=cpx-fec &tab=3 &s=t You want this document.. P.BE-CPX-FEC-EN Manual (Control Unit - Controller) It actually is a PLC that controlls the valve Stack, but if you look in Chap 6, it talks about using it as a Modbus unit.. you kill the PLC controller.. Way Stuck here!!.. anyone got a Clue.. I'm fresh out.. Thanks.. Cap
Created Date: April 20,2012
Created by: Do-more PE
Try this FAQ over at HOST Engineering .
Created Date: April 21,2012
Created by: Cap
Thank you..
Hmmm Z Operand..
That makes this statement from the Festo Book, more understandable..
" MODBUS Address examples.
Some examples to write to address 40003, which often can be the first valve solenoid:
Automation Direct PLC : 9C44 (hex)
Indusoft SCADA : 4x:40004 (the 4x: is already present)
Red Lion HMI : 440004 (the first 4 is already present)
Think&Do Soft PLC : 49C44 (hex, the first 4 is always present)
Some hints:
• If you can’t get to our address range in decimal, most controllers can do it in hex. Automation Direct PLC is an example.
• Sometimes you have to add a 4 in addition to our address. This code is needed for accessing a holding register.
• Sometimes you need to add an offset of 1.
• We don’t support the “simple” address range within Modbus. Only extended "
And all the Excel Spread sheet did was to help me stay on the wrong track all day.. as it kept putting me a V2...
I'm still convinced that Software Documents are written to refresh peoples memory, for stuff that they already know.. Which leaves us people that don't know nothin out in the cold..
I'll give it another Round Monday.. I was able to get away from it for the weekend..
Thanks for the help...
Cap
Created Date: April 23,2012
Created by: Cap
UPDATE:.. It works..
The last Instruction was changed from WX V2 .. to WX Z 9C44.. and it came to life.. !!!
My First valve 'Bank ' will be accessed at Modbus 40003.. that Equates to V2... and it only uses 8 of the 16 Bits avalable on that Address.. so I have to Shifted Bits 8 to 16 over to the Next word ( 40004 or V3 )
and this also worked for the 'Next Valve Up '.. I was able to get to the First 49 Valves.. but Somewhere in the Machine design, they have moved my Last 2 valves SOMEWHERE in the range of 50 92 valve adresses.. not a big deal.. I'll find them..
Thanks for the Help A/D Tech..
Cap
Created Date: April 23,2012
Created by: Do-more PE
No problem. I try to help when I can.
Created Date: May 14,2012
Created by: researcher
How do we get Z9C44. We cannot get this from the xls files.
Created Date: May 14,2012
Created by: Do-more PE
The last couple of sentences in the FAQ shows how it is done.
Created Date: April 20,2012
Created by: Cap
I have a Festo E-Net Valve Body that is presently running on a AB Controller and talking on the Machine's E-Net.
I 've been told by AD and Festo, that the Protocol for the Festo valve Controller is not Supported by the Ecom 100.. and I needed to change the Valve Controller to a Modbus Controller.. DONE..
The ModBus Controller for the Festo Valves uses Modbus Address for the Actual Controller as 40001 and 40002.. ( Page 6-28 ) this would place them at V0 and V1 by the Modbus Conversion Excel Spread sheet from AD for a Network Write Instruction..
I 've resolved all of my Machine Output Requests, and Manual Forced Outputs to GY1000 to GY1060.
My First valve 'Bank ' will be accessed at Modbus 40003.. that Equates to V2... and it only uses 8 of the 16 Bits avalable on that Address.. so I have to Shifted Bits 8 to 16 over to the Next word ( 40004 or V3 )
All of that works..
The E-Com 100 is already comunicating to the Lap Top and the Touchscreen..
Modbus Write will not..
Then I tried triming the Instriction down to only ONE word.. ( This will be only one Valve Bank, and that will be 8 Valves ) and that is 40003 ( v2 ) and writting the Number 1 ( Bit Position 0000000000000001 ) to that location with a Network Wx Instruction.. yealds Nothing on the Valves..
The Actual Instruction is..
StrN SP130 E Com Busy Flag
LD K 414 ( Slot 4 for the E-Com 100, Device 14 that is assigned to the IP Adress of the Valve Body 192.5.1.56 )
LD K2 two bytes of data.. been up to 6, and down to 1.. does not like 1 as the Valve Driver will throw an error lite..
LDA O40240 the location of the GY100 Memory.. Yes I 've looked at the Bit Positions at 40240, and they are corect..
WX V2 this has been down to V0 and up to V7..
The Festo Maint Software Package will find and talk to the Valves.. and move them using the IP Address, and If I pull the E-Net 100 E-net cable, the Festo valve Controller will throw a yellow -No Modbus Com lite..
I have Isolated the Local E-net System, to prevent any other traffic from interupting .. and the Traffic is passing through a SE-SW 5U Switch..
Here is a link to the Controller Documents..
http://www.festo.com/net/en_corp/SupportPortal/default.aspx?q=cpx-fec&tab=3&s=t
You want this document..
P.BE-CPX-FEC-EN
Manual (Control Unit - Controller)
It actually is a PLC that controlls the valve Stack, but if you look in Chap 6, it talks about using it as a Modbus unit.. you kill the PLC controller..
Way Stuck here!!.. anyone got a Clue.. I'm fresh out..
Thanks..
Cap