Hello everyone,
We are currently developing a Fanuc Plugin in KAREL and we are having some issue to write value to FLG i/o.
In the simulator, the writing process works perfectly, but when it's time to push the plugin into a CRX (used with the tablet), writing into flags doesn't seem to work. In parallel, we also write into Numeric_Register, and the process is working. I am confused at the moment.
We verified if any background routine overwrite the flag (negative), we manually set the FLG to ON and it stays ON.
Here's the include:
%ENVIRONMENT TLIF
%ENVIRONMENT PC
%ENVIRONMENT IOSETUP
%ENVIRONMENT REGOPE
%INCLUDE etdccopt
%INCLUDE klevccdf
Here's how I set the flag:
Stop_Rdy = FLG[114]
flag_number = 101
flag_value = TRUE
IF Stop_Rdy = TRUE THEN
FLG[flag_number] = flag_value
ENDIF
What am I missing to make it work on a real controller?