Skip to main content
Version: 2.6

Open FANUC Issues

Issue 1: Sequence Number Mismatch

When calling a macro B program (e.g. a subprogram) out of the macro executer, the sequence numbers are not updated. Fanuc functions return still the sequence numbers of the subprogram instead of the calling main program.

HumanOS Fanuc Plugin fixes this issue. Use the address Nc{n}.Program.Int32:3 to read the correct sequence numbers from HumanOS.

If you use Nc{n}.Dynamic.Float64:2 the original sequence number of FANUC control is returned.

Issue 2: Crash when Using HSSB with Windows Service

There is an issue when applications running in different user context and using FOCAS over HSSB. For instance,

  • one application runs as console application in the current user logged-in context
  • another application runs as windows service (system context)

This causes multiple problems on the level of FOCAS. Often one or the other application crashes.

As a workaround, FANUC has the possibility to switch the HSSB for multi-user.

As FANUC mentioned in paper A-42147-408EN:

The FOCAS2 application was intended to run on a single user on Windows. When FOCAS2 applications runs on a standard user and a service user (hereinafter, multi-user) at the same time, an application error may occur as a result of the FOCAS function acquiring incorrect data because exclusive control between applications is not performed. For this reason, the following registry has been newly added and improved to specify multi-user support.

New registry: HKEY_LOCAL_MACHINE\SOFTWARE\FANUC\FOCAS\

Key nameTypeSet value
HSSB_MULTI_USER_ENABLEREG_DWORDWhether FOCAS2 supports multi-user
0: Not support multi-user (initial value)
1: Supports multi-user

For Windows 32bit

For Windows 64bit (and HumanOS IoT Gateway x86