FAULT pc element convert to Compact Control Builder
I have some MP100 logic which contains the FAULT pc element. I need to convert this into AC800M logic via Compact Control Builder.
Does anyone know of a control module or function block in Compact Control Builder which can be used to convert this PC element? I am using FBD language.
The FAULT pc element is described here: http://search.abb.com/library/Download.aspx?DocumentID=3BSE002418R601A&Lang
AFAIK there is no equivalent AC800M block. You will need to write your own.
Page 162 gives you the code inside the FAULT block.
You can write this for a fixed 9 inputs or you can create an extensible parameter function block and use Structured Text to create your own FB for as many inputs as you need.
( Do not use FBD to write function blocks, FBD is horribly inefficient, it wastes memory copying stuff, it creates lots of hidden variables and it can't do FOR / NEXT loops )