When writing a function block or function in STL that you want to call from LAD/FBD, you have to store the result of the logic operation (RLO) in the BR bit immediately before leaving the block in order to provide the enable output (ENO) for the LAD/FBD box. You do this using the SAVE, JCB, JNB instructions.
When you call a system function block (SFB) or a system function (SFC) in your program, the SFB or SFC indicates whether the CPU was able to execute the function with or without errors by providing the following information in the binary result bit:
请问何时用JC 什么时候该用JCB 我对上面的理解是当需要从STL语言转换成LAD编程时候需要store the result of the logic operation (RLO) in the BR bit ....BR位和RLO是什么关系呢 或者说是表示the enable output (ENO)的状态???