In a function i have the next code:
Code: Select all
//FC1
A M46.7
A M32.0
A M32.2
JC c001
JCN X001
CALL FC16 //(this is a RESET function)
X001: //......
//.......
C001: //..........
//..........
All the outputs was reset and the machine was not working.
Yes ... it's true that this function can be called in other function but not in my case.
The solution was to delete the call instruction of FC16 in function FC1.After that all was OK
How do you explain this?
Best regards!
Venix