Control Diagram editor FP4 RevD 5.1
We presentley are using program editor for MODConnect,MBread, MBwritie defintion for MODbus communication.
My question is that can we define the same by using diagram editor?
is there any limitation for calling these block in diagram editor?
Voted best answer
Hello NS Bandi,
You can use the either of the language(FBD or control diagram editor) for building logics or for modbus communication whereas diagram editor is newly launched in 5.1 Fp4 onwards to hide the non-used ports in the function blocks & we can show the blocks in the graphical representation for easy maintanance.
please refer the release note:
1.If we use FBD for modbus communication then we can divide the program in such a way that we can make the communication part in one program & function blocks in one program & both can access the global application variables separately & so we can run the programs with separate task & we can reduce the cyclid load on the controller.
2.If we use diagram editor for modbus communication then we have some limitations like
2.1 if we create multiple diagrams like one for communication & one for function blocks to access the same global application variable thats not possible so we have to create every thing in the same diagram. Hence we have to create same task for whole diagram.
2.2 If you create total modus comm. with function blocks for monitoring in the single diagram then you have to create only local variables since global pplication variables not support in this diagram editor then if you want to reduce the controller cyclic load you have to assign the task individually for each block if you are able to separate comm part running in separate task & function blocks in separate task.