UnderAutomation
질문이요?

[email protected]

문의하기
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
View as Markdown

Universal Robots, Fanuc, Yaskawa, ABB 또는 Staubli 로봇을 .NET, Python, LabVIEW 또는 Matlab 애플리케이션에 쉽게 통합

UnderAutomation
문의하기Legal

© All rights reserved.