Andrei Blagaila

ECALL vs EFCALL

3 posts in this topic

So I'm new to PLC programming and to mitsubishi in particular. I found in my software a lot of ECALL and EFCALL insctructions. Same condition activates an ECALL and then and EFCALL of the same Subroutine P1. Can someone explain the differences because i don't understand what Mitsubishi mean by  "Performs non-execution processing of subroutine program Pn" and " Executes subroutine program Pn from within designated program name" in their description. Thank you :)

Share this post


Link to post
Share on other sites

 

" Non-execution processing" is identical to the processing that is conducted when the condition contacts for the individual coil instruction are in the OFF state.

for example:

--[ x0]-------(Y0)--

If X0 is off (not true) , Y0 is not executed.

The same happens with EFCALL , if condition is not true , the subrotine is not executed.

OUT instruction are forced OFF

SET,RST,STF maintains status

PLS instructions ahas the same processing when contacts are OFF.

The ECALL is used with EFCALL

 

ECALl_EFCALL.png

Edited by AlexMota

Share this post


Link to post
Share on other sites

Thank you. I tested in my software and finally saw that it's kind of a pulse of set reset for subroutines. The same X0 is used for both. It calls a Subroutine that transfers some values from one word to another and a M is activated shortly. Thank you so much. You helped me a lot 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now