800XA Saftey Function Blocks
Dear Sir,
Is it possible to Insert CMD libraries and blocks(created in CMD editor) in FBD editor?
If yes, please advise on the procedure.
Thanks,
Waqas
Voted best answer
Yes.
- Create a Function Block Type
- Right Click the Type and Insert (a) Control Module(s) with "New Control Module"
- Open the Function Block Type and add the following Statement ...
ExecuteControlModules();
- Add parameters and supporting code as required. Be aware that while the Control Modules inside the Function Block are code sorted, they will all execute at the point where you wrote the ExecuteControlModules() statement in your Function Block code.
Because of Code Sorting you can sometimes get strange problems if you Initialize variables like "Name" that are used in the "Start_" block of the Control Module but are not yet ready in the Function Block when the application warm starts. Check carefully for these types of errors. Its not usually a problem.
Answers
Hello,
Cmd libraries like pcdl can be created in cmd editor or in latest control diagram editor fp4 on words only you can't create or insert control module diagrams in fbd.
For fbd you have to use function block modules only.
Add new comment