I have a requirement to implement the Kuka functions on Fanuc. I am trying to quickly handle both the languages, but the most hard are the fundamental syntax differences. I would highly appreciate if you can give me some tips with matches between these 2 languages. The more questions will come, but the first pit-stone i have faced is the following:
I take CMD as an input of the function, then:
IF (CMD==#MY_INIT) THEN
IF Product_activated AND NOT V_DISABLE[SYS] THEN
How exactly CMD is working? It compare the CMD value with ENUM #MY_INIT, but where from CMD values are defined? One of the states of my MY_INIT is _INSP, but from KUKA documentation CMD has only certain states.
What is the similar to CMD value applied on Fanuc? If there is no any what is the possible work around?
Thanks in advance!