File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -125,16 +125,6 @@ double value = robot.Snpx.Registers.Read(1);
125125robot .Snpx .Registers .Write (2 , 123 . 45 );
126126```
127127
128- #### 🔹 Get alarm history
129-
130- ``` csharp
131- var alarms = robot .Snpx .Alarms .GetActiveAlarms ();
132- foreach (var alarm in alarms )
133- {
134- Console .WriteLine ($" Alarm {alarm .Code }: {alarm .Message }" );
135- }
136- ```
137-
138128#### 🔹 Read and control robot signals (UI, UO, GI, GO)
139129
140130``` csharp
@@ -145,6 +135,21 @@ bool UI1 = robot.Snpx.UI.Read(1);
145135robot .Snpx .UO .Write (3 , true );
146136```
147137
138+ #### Clear alarms
139+
140+ ``` csharp
141+ // Clear alarms
142+ robot .Snpx .ClearAlarms ();
143+ ```
144+
145+ #### Get current position
146+ ``` csharp
147+ // Read current joint and cartesian position
148+ Position position = robot .Snpx .CurrentPosition .ReadWorldPosition ();
149+
150+ // Read User frame cartesian position
151+ robot .Snpx .CurrentPosition .ReadUserFramePosition (1 );
152+ ```
148153---
149154
150155### 📂 ** 3. File & Variable Management via FTP Memory Access**
You can’t perform that action at this time.
0 commit comments