UnderAutomation
Une question ?

[email protected]

Contactez-nous
UnderAutomation
⌘Q
Fanuc SDK documentation
Run a program remotely
Documentation home

Reset alarms remotely

Clear and reset alarms on a Fanuc robot using SNPX, Telnet, or CGTP. Read active alarms and alarm history.

  • SNPX
  • Telnet KCL
  • CGTP Web Server
  • FTP (offline)
  • Protocol comparison

Clear fault conditions and reset alarms on your Fanuc robot remotely using different protocols.

SNPX

SNPX can clear alarms, read the active alarm, and browse alarm history:

// Clear all alarms (equivalent to pressing FAULT RESET)
robot.Snpx.ClearAlarms();
// Read the active alarm
RobotAlarm activeAlarm = robot.Snpx.ActiveAlarm.Read(1);
Console.WriteLine($"Alarm: {activeAlarm.Message} (Severity: {activeAlarm.Severity})");
// Read alarm history
RobotAlarm histAlarm = robot.Snpx.AlarmHistory.Read(10);

See also: SNPX Alarms & task status

Telnet KCL

Telnet can reset alarms using KCL commands:

// Reset the robot (clears faults, exits HOLD)
robot.Telnet.Reset();
// Or use a custom KCL command
robot.Telnet.SendCustomCommand("RESET");

See also: Telnet Program control

CGTP Web Server

CGTP can check alarm-related variables:

// Read alarm history
ErrorList errors = robot.Cgtp.Http.GetAllErrorsList();
// extract active alarms from the full list
var activeAlarms = errors.FilterActiveAlarms();
// reset alarms
robot.Cgtp.Kcl.Reset();
// Read user alarms definitions
UserAlarmDefinition[] alarms = robot.Cgtp.ReadUserAlarms();
// write user alarm definition
robot.Cgtp.SetUserAlarmSeverity(1, 8); // Set user alarm #1 to severity 8
robot.Cgtp.SetComment(CgtpCommentType.UserAlarm, 1, "Overheat alarm"); // Set comment for user alarm #1

See also: CGTP Alarms, comments & files

FTP (offline)

Download and parse the error log:

// Read alarm history via FTP
ErrorList errors = robot.Ftp.GetAllErrorsList();
// extract active alarms from the full list
errors.FilterActiveAlarms();

Protocol comparison

FeatureSNPXTelnetCGTPFTP
Clear alarmsYesYesYesNo
Read active alarmYesNoYesNo
Alarm historyYesNoYesYes
User alarmsNoNoYesNo

Intégrez facilement les robots Universal Robots, Fanuc, Yaskawa, ABB ou Staubli dans vos applications .NET, Python, LabVIEW ou Matlab

UnderAutomation
Contactez-nousLegal

© All rights reserved.