| gclib 2.0.7 Communications API for Galil controllers and PLCs |

gclib.cs
Go to the documentation of this file.
1
5 using System;
6 using System.Collections.Generic;
7 using System.Linq;
8 using System.Text;
9 using System.Threading.Tasks;
10 using System.Runtime.InteropServices; //dll import
11 using System.IO; //file.exists
12
13 using UB = System.Byte; //unsigned byte
14 using UW = System.UInt16; //unsigned word
15 using SW = System.Int16; //signed word
16 using SL = System.Int32; //signed long
17 using UL = System.UInt32; //unsigned long
18
19 #if x86 //defined in "Conditional compilation symbols" of Project Properties
20 using GReturn = System.Int32;
21 using GCon = System.IntPtr;
22 using GSize = System.UInt32;
23 using GOption = System.Int32;
24 using GCStringOut = System.Text.StringBuilder;
25 using GCStringIn = System.String;
26 using GBufOut = System.Text.StringBuilder;
27 using GBufIn = System.String;
28 using GStatus = System.Byte;
29 // IMPORTANT! Be sure that the paths below are correct
30 public static class LibraryPath
31 {
32 public const string GclibDllPath_ = "C:\\Program Files (x86)\\Galil\\gclib\\dll\\x86\\gclib.dll";
33 public const string GcliboDllPath_ = "C:\\Program Files (x86)\\Galil\\gclib\\dll\\x86\\gclibO.dll";
34 }
35
36 #elif x64
37 using GReturn = System.Int32;
38 using GCon = System.IntPtr;
39 using GSize = System.UInt32;
40 using GOption = System.Int32;
41 using GCStringOut = System.Text.StringBuilder;
42 using GCStringIn = System.String;
43 using GBufOut = System.Text.StringBuilder;
44 using GBufIn = System.String;
45 using GStatus = System.Byte;
46 // IMPORTANT! Be sure that the paths below are correct
47 public static class LibraryPath
48 {
49 public const string GclibDllPath_ = "C:\\Program Files (x86)\\Galil\\gclib\\dll\\x64\\gclib.dll";
50 public const string GcliboDllPath_ = "C:\\Program Files (x86)\\Galil\\gclib\\dll\\x64\\gclibo.dll";
51 }
52
53 #endif
54
67 public class gclib
68 {
69 #region "C# wrappers of gclib C calls"
70
71 #region "Private properties"
72 private const int BufferSize_ = 500000; //size of "char *" buffer. Big enough to fit entire 4000 program via UL/LS, or 24000 elements of array data.
73 private GCStringOut Buffer_ = new System.Text.StringBuilder(BufferSize_); //used to pass a "char *" to gclib.
74 private byte[] ByteArray_ = new byte[512]; //byte array to hold data record and response to GRead
75 private GCon ConnectionHandle_; //keep track of the gclib connection handle.
76 private bool ConnectionStatus_ = false; //keep track of the status of gclib's connection
77 #endregion
78
79
85 public gclib()
86 {
87 if (!File.Exists(LibraryPath.GclibDllPath_))
88 throw new System.Exception("Could not find gclib dll at " + LibraryPath.GclibDllPath_);
89
90 if (!File.Exists(LibraryPath.GcliboDllPath_))
91 throw new System.Exception("Could not find gclibo dll at " + LibraryPath.GcliboDllPath_);
92
93 }
94
102 public string[] GAddresses()
103 {
104 GReturn rc = DllGAddresses(Buffer_, BufferSize_);
105 if (rc == G_NO_ERROR)
106 {
107 char[] delimiters = new char[] { '\r', '\n' };
108 return Buffer_.ToString().Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries);
109 }
110 else
111 return new string[0];
112
113 }
114
126 public void GArrayDownload(string array_name, ref List<double> data, Int16 first = -1, Int16 last = -1)
127 {
128 System.Text.StringBuilder ArrayData = new System.Text.StringBuilder(BufferSize_); //for converting to ASCII
129 int len = data.Count();
130 for (int i = 0; i <= len - 1; i++)
131 {
132 ArrayData.Append(data[i].ToString("F4")); //format to fixed point
133 if (i < len - 1)
134 {
135 ArrayData.Append(","); //delimiter
136 }
137 }
138 GReturn rc = DllGArrayDownload(ConnectionHandle_, array_name, first, last, ArrayData.ToString());
139 if (!(rc == G_NO_ERROR))
140 {
141 throw new System.Exception(GError(rc));
142 }
143 }
144
153 public void GArrayDownloadFile(string Path)
154 {
155 GReturn rc = DllGArrayDownloadFile(ConnectionHandle_, Path);
156 if (rc != G_NO_ERROR)
157 {
158 throw new System.Exception(GError(rc));
159 }
160 }
161
173 public List<double> GArrayUpload(string array_name, Int16 first = -1, Int16 last = -1)
174 {
175 List<double> array = new List<double>();
176 GReturn rc = DllGArrayUpload(ConnectionHandle_, array_name, first, last, 1, Buffer_, BufferSize_);
177 //1 = comma delim
178 if (!(rc == G_NO_ERROR))
179 {
180 throw new System.Exception(GError(rc));
181 }
182 char[] delimiters = new char[] { ',' };
183
184 string[] tokens = Buffer_.ToString().Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries);
185 double value = 0;
186 foreach (string s in tokens)
187 {
188 if (!double.TryParse(s, out value))
189 {
190 throw new System.Exception("Could not parse " + s + " into double");
191 }
192 array.Add(value);
193 }
194 return array;
195 }
196
206 public void GArrayUploadFile(string Path, string Names)
207 {
208 GReturn rc = DllGArrayUploadFile(ConnectionHandle_, Path, Names);
209 if (rc != G_NO_ERROR)
210 {
211 throw new System.Exception(GError(rc));
212 }
213 }
214
224 public void GAssign(string ip, string mac)
225 {
226 GReturn rc = DllGAssign(ip, mac);
227 if (!(rc == G_NO_ERROR))
228 {
229 throw new System.Exception(GError(rc));
230 }
231 }
232
239 public void GClose()
240 {
241 if(ConnectionStatus_)
242 DllGClose(ConnectionHandle_);
243
244 ConnectionStatus_ = false;
245 }
246
257 public string GCommand(string Command, bool Trim = true)
258 {
259 GSize bytes_read = 0;
260 GReturn rc = DllGCommand(ConnectionHandle_, Command, Buffer_, BufferSize_, ref bytes_read);
261 if (rc != G_NO_ERROR)
262 {
263 throw new System.Exception(GError(rc));
264 }
265 if (Trim)
266 {
267 string r = Buffer_.ToString();
268 if (r[r.Count() - 1] == ':')
269 {
270 r = r.Substring(0, r.Count() - 1);
271 }
272 return r.Trim();
273 }
274 else
275 {
276 return Buffer_.ToString();
277 }
278 }
279
288 public Int16 GCmdI(string Command)
289 {
290 return Convert.ToInt16(Convert.ToDouble(GCommand(Command)));
291 }
292
301 public double GCmdD(string Command)
302 {
303 return Convert.ToDouble(GCommand(Command));
304 }
305
316 private string GError(GReturn ErrorCode)
317 {
318 DllGError(ErrorCode, Buffer_, BufferSize_);
319 return ErrorCode.ToString() + " " + Buffer_.ToString() + "\n";
320 }
321
330 public void GFirmwareDownload(string filepath)
331 {
332 GReturn rc = DllGFirmwareDownload(ConnectionHandle_, filepath);
333 if (rc != G_NO_ERROR)
334 {
335 throw new System.Exception(GError(rc));
336 }
337 }
338
344 public string GInfo()
345 {
346 GReturn rc = DllGInfo(ConnectionHandle_, Buffer_, BufferSize_);
347 if (rc == G_NO_ERROR)
348 {
349 return Buffer_.ToString();
350 }
351 else
352 {
353 return "";
354 }
355 }
356
364 public byte GInterrupt()
365 {
366 byte StatusByte = 0;
367 GReturn rc = DllGInterrupt(ConnectionHandle_, ref StatusByte);
368 if (rc == G_NO_ERROR)
369 {
370 return StatusByte;
371 }
372 else
373 {
374 return 0;
375 }
376 }
377
386 public string[] GIpRequests()
387 {
388 GReturn rc = DllGIpRequests(Buffer_, BufferSize_);
389 if (rc == G_NO_ERROR)
390 {
391 char[] delimiters = new char[] { '\r', '\n' };
392 return Buffer_.ToString().Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries);
393 }
394 else
395 return new string[0];
396
397 }
398
407 public string GMessage()
408 {
409 GReturn rc = DllGMessage(ConnectionHandle_, Buffer_, BufferSize_);
410 if (rc == G_NO_ERROR)
411 {
412 return Buffer_.ToString();
413 }
414 else
415 {
416 return "";
417 }
418 }
419
428 public void GMotionComplete(string axes)
429 {
430 GReturn rc = DllGMotionComplete(ConnectionHandle_, axes);
431 if (!(rc == G_NO_ERROR))
432 {
433 throw new System.Exception(GError(rc));
434 }
435 }
436
445 public void GOpen(string address)
446 {
447 GReturn rc = DllGOpen(address, ref ConnectionHandle_);
448 if (rc != G_NO_ERROR)
449 {
450 throw new System.Exception(GError(rc));
451 }
452 else
453 ConnectionStatus_ = true;
454 }
455
465 public void GProgramDownload(string program, string preprocessor = "")
466 {
467 GReturn rc = DllGProgramDownload(ConnectionHandle_, program, preprocessor);
468 if (rc != G_NO_ERROR)
469 {
470 throw new System.Exception(GError(rc));
471 }
472 }
473
483 public void GProgramDownloadFile(string file_path, string preprocessor = "")
484 {
485 GReturn rc = DllGProgramDownloadFile(ConnectionHandle_, file_path, preprocessor);
486 if (rc != G_NO_ERROR)
487 {
488 throw new System.Exception(GError(rc));
489 }
490 }
491
499 public string GProgramUpload()
500 {
501 GReturn rc = DllGProgramUpload(ConnectionHandle_, Buffer_, BufferSize_);
502 if (rc != G_NO_ERROR)
503 {
504 throw new System.Exception(GError(rc));
505 }
506 else
507 {
508 return Buffer_.ToString();
509 }
510 }
511
520 public void GProgramUploadFile(string file_path)
521 {
522 GReturn rc = DllGProgramUploadFile(ConnectionHandle_, file_path);
523 if (rc != G_NO_ERROR)
524 {
525 throw new System.Exception(GError(rc));
526 }
527 }
528
536 public byte[] GRead()
537 {
538 GSize read = 0;
539 GReturn rc = DllGRead(ConnectionHandle_, ByteArray_, (uint)ByteArray_.Length, ref read);
540 if (rc == G_NO_ERROR)
541 {
542 byte[] ReturnData = new byte[read];
543 //create an array of the correct size
544 for (GSize i = 0; i <= read - 1; i++)
545 {
546 ReturnData[i] = ByteArray_[i];
547 //copy over the data
548 }
549 return ReturnData;
550 }
551 else
552 return new byte[0];
553 }
554
566 public T GRecord<T>(bool async)
567 where T : struct, GDataRecord
568 {
569 ushort method = 0;
570 if (async)
571 method = 1;
572
573 GReturn rc = DllGRecord(ConnectionHandle_, ByteArray_, method);
574 if (rc != G_NO_ERROR)
575 throw new System.Exception(GError(rc));
576
577 return ByteArrayToDataRecord<T>(ByteArray_);
578 }
579
588 public void GRecordRate(double period_ms)
589 {
590 GReturn rc = DllGRecordRate(ConnectionHandle_, period_ms);
591 if (!(rc == G_NO_ERROR))
592 {
593 throw new System.Exception(GError(rc));
594 }
595 }
596
604 public void GTimeout(Int16 timeout_ms)
605 {
606 DllGTimeout(ConnectionHandle_, timeout_ms);
607 }
608
614 public string GVersion()
615 {
616 GReturn rc = DllGVersion(Buffer_, BufferSize_);
617 if (rc == G_NO_ERROR)
618 {
619 return Buffer_.ToString();
620 }
621 else
622 {
623 return "";
624 }
625 }
626
635 public void GWrite(string buffer)
636 {
637 GReturn rc = DllGWrite(ConnectionHandle_, buffer, (uint) buffer.Length);
638 if (!(rc == G_NO_ERROR))
639 {
640 throw new System.Exception(GError(rc));
641 }
642 }
643
655 public string[] GSetupDownloadFile(string path, Int32 options)
656 {
657 GReturn rc = DllGSetupDownloadFile(ConnectionHandle_, path, options, Buffer_, BufferSize_);
658
659 string ret_buf = Buffer_.ToString();
660 ret_buf = ret_buf.Replace("\r\n", ", ");
661
662 if (options != 0)
663 {
664 if (rc != G_NO_ERROR)
665 {
666 throw new System.Exception(GError(rc));
667 }
668 }
669 else
670 {
671 ret_buf += "\"options\"," + rc + "\n";
672 }
673
674 char[] delimiters = new char[] { '\n' };
675 return ret_buf.ToString().Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries);
676 }
677
686 public void GSetServer(string server_name)
687 {
688 GReturn rc = DllGSetServer(server_name);
689
690 if(rc != G_NO_ERROR)
691 {
692 throw new System.Exception(GError(rc));
693 }
694 }
695
701 public string GServerStatus()
702 {
703 GReturn rc = DllGServerStatus(Buffer_, BufferSize_);
704
705 if(rc == G_NO_ERROR)
706 return Buffer_.ToString();
707 else
708 throw new System.Exception(GError(rc));
709 }
710
716 public string[] GListServers()
717 {
718 GReturn rc = DllGListServers(Buffer_, BufferSize_);
719
720 if(rc == G_NO_ERROR)
721 {
722 char[] delimiters = new char[] { '\n' };
723 return Buffer_.ToString().Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries);
724 }
725 else
726 {
727 throw new System.Exception(GError(rc));
728 }
729 }
730
738 public void GPublishServer(string server_name, bool publish, bool save)
739 {
740 GReturn rc = DllGPublishServer(server_name, Convert.ToInt16(publish), Convert.ToInt16(save));
741
742 if (rc != G_NO_ERROR)
743 throw new System.Exception(GError(rc));
744 }
745
751 public string[] GRemoteConnections()
752 {
753 GReturn rc = DllGRemoteConnections(Buffer_, BufferSize_);
754
755 if(rc == G_NO_ERROR)
756 {
757 char[] delimiters = new char[] { '\n' };
758 return Buffer_.ToString().Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries);
759 }
760 else
761 {
762 throw new System.Exception(GError(rc));
763 }
764 }
765
766 #endregion
767
768 #region "DLL Imports"
769 //Import declarations for gclib functions. Functions are private to this class and are prefixed with "Dll" to distinguish from C# functions.
770
771 #region "Error Codes"
776 private const Int32 G_NO_ERROR = 0;
777 #endregion
778
779 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GAddresses", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
780 private static extern GReturn DllGAddresses(GCStringOut addresses, GSize addresses_len);
781
782 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GArrayDownload", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
783 private static extern GReturn DllGArrayDownload(GCon g, GCStringIn array_name, GOption first, GOption last, GCStringIn buffer);
784
785 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GArrayDownloadFile", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
786 private static extern GReturn DllGArrayDownloadFile(GCon g, GCStringIn path);
787
788 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GArrayUpload", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
789 private static extern GReturn DllGArrayUpload(GCon g, GCStringIn array_name, GOption first, GOption last, GOption delim, GCStringOut buffer, GSize bufferLength);
790
791 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GArrayUploadFile", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
792 private static extern GReturn DllGArrayUploadFile(GCon g, GCStringIn path, GCStringIn names);
793
794 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GAssign", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
795 private static extern GReturn DllGAssign(GCStringIn ip, GCStringIn mac);
796
797 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GClose", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
798 private static extern GReturn DllGClose(GCon g);
799
800 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GCommand", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
801 private static extern GReturn DllGCommand(GCon g, GCStringIn command, GCStringOut buffer, GSize bufferLength, ref GSize bytesReturned);
802
803 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GError", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
804 private static extern void DllGError(GReturn error_code, GCStringOut errorbuf, GSize error_len);
805
806 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GFirmwareDownload", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
807 private static extern GReturn DllGFirmwareDownload(GCon g, GCStringIn path);
808
809 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GInfo", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
810 private static extern GReturn DllGInfo(GCon g, GCStringOut info, GSize infoLength);
811
812 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GInterrupt", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
813 private static extern GReturn DllGInterrupt(GCon g, ref GStatus status_byte);
814
815 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GIpRequests", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
816 private static extern GReturn DllGIpRequests(GCStringOut requests, GSize requests_len);
817
818 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GMessage", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
819 private static extern GReturn DllGMessage(GCon g, GCStringOut buffer, GSize bufferLength);
820
821 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GMotionComplete", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
822 private static extern GReturn DllGMotionComplete(GCon g, GCStringIn axes);
823
824 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GOpen", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
825 private static extern GReturn DllGOpen(GCStringIn address, ref GCon g);
826
827 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GProgramDownload", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
828 private static extern GReturn DllGProgramDownload(GCon g, GCStringIn program, GCStringIn preprocessor);
829
830 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GProgramDownloadFile", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
831 private static extern GReturn DllGProgramDownloadFile(GCon g, GCStringIn path, GCStringIn preprocessor);
832
833 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GProgramUpload", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
834 private static extern GReturn DllGProgramUpload(GCon g, GCStringOut buffer, GSize bufferLength);
835
836 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GProgramUploadFile", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
837 private static extern GReturn DllGProgramUploadFile(GCon g, GCStringIn path);
838
839 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GRead", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
840 private static extern GReturn DllGRead(GCon g, byte[] record, GSize buffer_len, ref GSize bytes_read);
841
842 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GRecord", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
843 private static extern GReturn DllGRecord(GCon g, byte[] record, GOption method);
844
845 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GRecordRate", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
846 private static extern GReturn DllGRecordRate(GCon g, double period_ms);
847
848 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GTimeout", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
849 private static extern void DllGTimeout(GCon g, GOption timeoutMs);
850
851 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GVersion", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
852 private static extern GReturn DllGVersion(GCStringOut ver, GSize ver_len);
853
854 [DllImport(LibraryPath.GclibDllPath_, EntryPoint = "GWrite", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
855 private static extern GReturn DllGWrite(GCon g, GCStringIn buffer, GSize buffer_len);
856
857 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GSetupDownloadFile", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
858 private static extern GReturn DllGSetupDownloadFile(GCon g, GCStringIn file_path, GOption options, GCStringOut info, GSize info_len);
859
860 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GSetServer", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
861 private static extern GReturn DllGSetServer(GCStringIn server_name);
862
863 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GServerStatus", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
864 private static extern GReturn DllGServerStatus(GCStringOut status, GSize status_len);
865
866 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GListServers", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
867 private static extern GReturn DllGListServers(GCStringOut servers, GSize servers_len);
868
869 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GPublishServer", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
870 private static extern GReturn DllGPublishServer(GCStringIn name, GOption publish, GOption save);
871
872 [DllImport(LibraryPath.GcliboDllPath_, EntryPoint = "GRemoteConnections", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
873 private static extern GReturn DllGRemoteConnections(GCStringOut connections, GSize connections_len);
874
875 #endregion
876
877 #region "Data Record"
878
879 private T ByteArrayToDataRecord<T>(byte[] array)
880 where T : struct, GDataRecord
881 {
882 GCHandle handle = GCHandle.Alloc(array, GCHandleType.Pinned);
883 try
884 {
885 return Marshal.PtrToStructure<T>(handle.AddrOfPinnedObject());
886 }
887 catch
888 {
889 return default(T);
890 }
891 finally
892 {
893 handle.Free();
894 }
895 }
896
897 public interface GDataRecord
898 {
900 byte[] byte_array();
901 }
902
903 private static byte[] StructToByteArray(GDataRecord record) //Returns this DataRecord as a byte[]
904 {
905 int size = Marshal.SizeOf(record);
906 byte[] arr = new byte[size];
907
908 IntPtr ptr = Marshal.AllocHGlobal(size);
909 Marshal.StructureToPtr(record, ptr, true);
910 Marshal.Copy(ptr, arr, 0, size);
911 Marshal.FreeHGlobal(ptr);
912 return arr;
913 }
914
915
917 [StructLayout(LayoutKind.Sequential, Pack=1)]
918 public struct GDataRecord4000 : GDataRecord
919 {
920 public byte[] byte_array() { return StructToByteArray(this); }
921 /*Offset type name description*/
922
923 /*00*/ public UB header_0;
924 /*01*/ public UB header_1;
925 /*02*/ public UB header_2;
926 /*03*/ public UB header_3;
927
928 /*04-05*/ public UW sample_number;
929
930 /*06*/ public UB input_bank_0;
931 /*07*/ public UB input_bank_1;
932 /*08*/ public UB input_bank_2;
933 /*09*/ public UB input_bank_3;
934 /*10*/ public UB input_bank_4;
935 /*11*/ public UB input_bank_5;
936 /*12*/ public UB input_bank_6;
937 /*13*/ public UB input_bank_7;
938 /*14*/ public UB input_bank_8;
939 /*15*/ public UB input_bank_9;
940
941 /*16*/ public UB output_bank_0;
942 /*17*/ public UB output_bank_1;
943 /*18*/ public UB output_bank_2;
944 /*19*/ public UB output_bank_3;
945 /*20*/ public UB output_bank_4;
946 /*21*/ public UB output_bank_5;
947 /*22*/ public UB output_bank_6;
948 /*23*/ public UB output_bank_7;
949 /*24*/ public UB output_bank_8;
950 /*25*/ public UB output_bank_9;
951
952 /*26-27*/ public SW reserved_0;
953 /*28-29*/ public SW reserved_2;
954 /*30-31*/ public SW reserved_4;
955 /*32-33*/ public SW reserved_6;
956 /*34-35*/ public SW reserved_8;
957 /*36-37*/ public SW reserved_10;
958 /*38-39*/ public SW reserved_12;
959 /*40-41*/ public SW reserved_14;
960
961 /*42*/ public UB ethernet_status_a;
962 /*43*/ public UB ethernet_status_b;
963 /*44*/ public UB ethernet_status_c;
964 /*45*/ public UB ethernet_status_d;
965 /*46*/ public UB ethernet_status_e;
966 /*47*/ public UB ethernet_status_f;
967 /*48*/ public UB ethernet_status_g;
968 /*49*/ public UB ethernet_status_h;
969
970 /*50*/ public UB error_code;
971 /*51*/ public UB thread_status;
972 /*52-55*/ public UL amplifier_status;
973
974 /*56-59*/ public UL contour_segment_count;
975 /*60-61*/ public UW contour_buffer_available;
976
977 /*62-63*/ public UW s_plane_segment_count;
978 /*64-65*/ public UW s_plane_move_status;
979 /*66-69*/ public SL s_distance;
980 /*70-71*/ public UW s_plane_buffer_available;
981
982 /*72-73*/ public UW t_plane_segment_count;
983 /*74-75*/ public UW t_plane_move_status;
984 /*76-79*/ public SL t_distance;
985 /*80-81*/ public UW t_plane_buffer_available;
986
987 /*82-83*/ public UW axis_a_status;
988 /*84*/ public UB axis_a_switches;
989 /*85*/ public UB axis_a_stop_code;
990 /*86-89*/ public SL axis_a_reference_position;
991 /*90-93*/ public SL axis_a_motor_position;
992 /*94-97*/ public SL axis_a_position_error;
993 /*98-101*/ public SL axis_a_aux_position;
994 /*102-105*/ public SL axis_a_velocity;
995 /*106-109*/ public SL axis_a_torque;
996 /*110-111*/ public UW axis_a_analog_in;
997 /*112*/ public UB axis_a_halls;
998 /*113*/ public UB axis_a_reserved;
999 /*114-117*/ public SL axis_a_variable;
1000
1001 /*118-119*/ public UW axis_b_status;
1002 /*120*/ public UB axis_b_switches;
1003 /*121*/ public UB axis_b_stop_code;
1004 /*122-125*/ public SL axis_b_reference_position;
1005 /*126-129*/ public SL axis_b_motor_position;
1006 /*130-133*/ public SL axis_b_position_error;
1007 /*134-137*/ public SL axis_b_aux_position;
1008 /*138-141*/ public SL axis_b_velocity;
1009 /*142-145*/ public SL axis_b_torque;
1010 /*146-147*/ public UW axis_b_analog_in;
1011 /*148*/ public UB axis_b_halls;
1012 /*149*/ public UB axis_b_reserved;
1013 /*150-153*/ public SL axis_b_variable;
1014
1015 /*154-155*/ public UW axis_c_status;
1016 /*156*/ public UB axis_c_switches;
1017 /*157*/ public UB axis_c_stop_code;
1018 /*158-161*/ public SL axis_c_reference_position;
1019 /*162-165*/ public SL axis_c_motor_position;
1020 /*166-169*/ public SL axis_c_position_error;
1021 /*170-173*/ public SL axis_c_aux_position;
1022 /*174-177*/ public SL axis_c_velocity;
1023 /*178-181*/ public SL axis_c_torque;
1024 /*182-183*/ public UW axis_c_analog_in;
1025 /*184*/ public UB axis_c_halls;
1026 /*185*/ public UB axis_c_reserved;
1027 /*186-189*/ public SL axis_c_variable;
1028
1029 /*190-191*/ public UW axis_d_status;
1030 /*192*/ public UB axis_d_switches;
1031 /*193*/ public UB axis_d_stop_code;
1032 /*194-197*/ public SL axis_d_reference_position;
1033 /*198-201*/ public SL axis_d_motor_position;
1034 /*202-205*/ public SL axis_d_position_error;
1035 /*206-209*/ public SL axis_d_aux_position;
1036 /*210-213*/ public SL axis_d_velocity;
1037 /*214-217*/ public SL axis_d_torque;
1038 /*218-219*/ public UW axis_d_analog_in;
1039 /*220*/ public UB axis_d_halls;
1040 /*221*/ public UB axis_d_reserved;
1041 /*222-225*/ public SL axis_d_variable;
1042
1043 /*226-227*/ public UW axis_e_status;
1044 /*228*/ public UB axis_e_switches;
1045 /*229*/ public UB axis_e_stop_code;
1046 /*230-233*/ public SL axis_e_reference_position;
1047 /*234-237*/ public SL axis_e_motor_position;
1048 /*238-241*/ public SL axis_e_position_error;
1049 /*242-245*/ public SL axis_e_aux_position;
1050 /*246-249*/ public SL axis_e_velocity;
1051 /*250-253*/ public SL axis_e_torque;
1052 /*254-255*/ public UW axis_e_analog_in;
1053 /*256*/ public UB axis_e_halls;
1054 /*257*/ public UB axis_e_reserved;
1055 /*258-261*/ public SL axis_e_variable;
1056
1057 /*262-263*/ public UW axis_f_status;
1058 /*264*/ public UB axis_f_switches;
1059 /*265*/ public UB axis_f_stop_code;
1060 /*266-269*/ public SL axis_f_reference_position;
1061 /*270-273*/ public SL axis_f_motor_position;
1062 /*274-277*/ public SL axis_f_position_error;
1063 /*278-281*/ public SL axis_f_aux_position;
1064 /*282-285*/ public SL axis_f_velocity;
1065 /*286-289*/ public SL axis_f_torque;
1066 /*290-291*/ public UW axis_f_analog_in;
1067 /*292*/ public UB axis_f_halls;
1068 /*293*/ public UB axis_f_reserved;
1069 /*294-297*/ public SL axis_f_variable;
1070
1071 /*298-299*/ public UW axis_g_status;
1072 /*300*/ public UB axis_g_switches;
1073 /*301*/ public UB axis_g_stop_code;
1074 /*302-305*/ public SL axis_g_reference_position;
1075 /*306-309*/ public SL axis_g_motor_position;
1076 /*310-313*/ public SL axis_g_position_error;
1077 /*314-317*/ public SL axis_g_aux_position;
1078 /*318-321*/ public SL axis_g_velocity;
1079 /*322-325*/ public SL axis_g_torque;
1080 /*326-327*/ public UW axis_g_analog_in;
1081 /*328*/ public UB axis_g_halls;
1082 /*329*/ public UB axis_g_reserved;
1083 /*330-333*/ public SL axis_g_variable;
1084
1085 /*334-335*/ public UW axis_h_status;
1086 /*336*/ public UB axis_h_switches;
1087 /*337*/ public UB axis_h_stop_code;
1088 /*338-341*/ public SL axis_h_reference_position;
1089 /*342-345*/ public SL axis_h_motor_position;
1090 /*346-349*/ public SL axis_h_position_error;
1091 /*350-353*/ public SL axis_h_aux_position;
1092 /*354-357*/ public SL axis_h_velocity;
1093 /*358-361*/ public SL axis_h_torque;
1094 /*362-363*/ public UW axis_h_analog_in;
1095 /*364*/ public UB axis_h_halls;
1096 /*365*/ public UB axis_h_reserved;
1097 /*366-369*/ public SL axis_h_variable;
1098 }; //DataRecord4000
1099
1101 [StructLayout(LayoutKind.Sequential, Pack=1)]
1102 public struct GDataRecord52000 : GDataRecord
1103 {
1104 public byte[] byte_array() { return StructToByteArray(this); }
1105 /*Offset type name description*/
1106
1107 /*00*/ public UB header_0;
1108 /*01*/ public UB header_1;
1109 /*02*/ public UB header_2;
1110 /*03*/ public UB header_3;
1111
1112 /*04-05*/ public UW sample_number;
1113
1114 /*06*/ public UB input_bank_0;
1115 /*07*/ public UB input_bank_1;
1116 /*08*/ public UB input_bank_2;
1117 /*09*/ public UB input_bank_3;
1118 /*10*/ public UB input_bank_4;
1119 /*11*/ public UB input_bank_5;
1120 /*12*/ public UB input_bank_6;
1121 /*13*/ public UB input_bank_7;
1122 /*14*/ public UB input_bank_8;
1123 /*15*/ public UB input_bank_9;
1124
1125 /*16*/ public UB output_bank_0;
1126 /*17*/ public UB output_bank_1;
1127 /*18*/ public UB output_bank_2;
1128 /*19*/ public UB output_bank_3;
1129 /*20*/ public UB output_bank_4;
1130 /*21*/ public UB output_bank_5;
1131 /*22*/ public UB output_bank_6;
1132 /*23*/ public UB output_bank_7;
1133 /*24*/ public UB output_bank_8;
1134 /*25*/ public UB output_bank_9;
1135
1136 /*26-27*/ public SW reserved_0;
1137 /*28-29*/ public SW reserved_2;
1138 /*30-31*/ public SW reserved_4;
1139 /*32-33*/ public SW reserved_6;
1140 /*34-35*/ public SW reserved_8;
1141 /*36-37*/ public SW reserved_10;
1142 /*38-39*/ public SW reserved_12;
1143 /*40*/ public UB ethercat_bank;
1144 /*41*/ public UB reserved_14;
1145
1146 /*42*/ public UB ethernet_status_a;
1147 /*43*/ public UB ethernet_status_b;
1148 /*44*/ public UB ethernet_status_c;
1149 /*45*/ public UB ethernet_status_d;
1150 /*46*/ public UB ethernet_status_e;
1151 /*47*/ public UB ethernet_status_f;
1152 /*48*/ public UB ethernet_status_g;
1153 /*49*/ public UB ethernet_status_h;
1154
1155 /*50*/ public UB error_code;
1156 /*51*/ public UB thread_status;
1157 /*52-55*/ public UL amplifier_status;
1158
1159 /*56-59*/ public UL contour_segment_count;
1160 /*60-61*/ public UW contour_buffer_available;
1161
1162 /*62-63*/ public UW s_plane_segment_count;
1163 /*64-65*/ public UW s_plane_move_status;
1164 /*66-69*/ public SL s_distance;
1165 /*70-71*/ public UW s_plane_buffer_available;
1166
1167 /*72-73*/ public UW t_plane_segment_count;
1168 /*74-75*/ public UW t_plane_move_status;
1169 /*76-79*/ public SL t_distance;
1170 /*80-81*/ public UW t_plane_buffer_available;
1171
1172 /*82-83*/ public UW axis_a_status;
1173 /*84*/ public UB axis_a_switches;
1174 /*85*/ public UB axis_a_stop_code;
1175 /*86-89*/ public SL axis_a_reference_position;
1176 /*90-93*/ public SL axis_a_motor_position;
1177 /*94-97*/ public SL axis_a_position_error;
1178 /*98-101*/ public SL axis_a_aux_position;
1179 /*102-105*/ public SL axis_a_velocity;
1180 /*106-109*/ public SL axis_a_torque;
1181 /*110-111*/ public UW axis_a_analog_in;
1182 /*112*/ public UB axis_a_halls;
1183 /*113*/ public UB axis_a_reserved;
1184 /*114-117*/ public SL axis_a_variable;
1185
1186 /*118-119*/ public UW axis_b_status;
1187 /*120*/ public UB axis_b_switches;
1188 /*121*/ public UB axis_b_stop_code;
1189 /*122-125*/ public SL axis_b_reference_position;
1190 /*126-129*/ public SL axis_b_motor_position;
1191 /*130-133*/ public SL axis_b_position_error;
1192 /*134-137*/ public SL axis_b_aux_position;
1193 /*138-141*/ public SL axis_b_velocity;
1194 /*142-145*/ public SL axis_b_torque;
1195 /*146-147*/ public UW axis_b_analog_in;
1196 /*148*/ public UB axis_b_halls;
1197 /*149*/ public UB axis_b_reserved;
1198 /*150-153*/ public SL axis_b_variable;
1199
1200 /*154-155*/ public UW axis_c_status;
1201 /*156*/ public UB axis_c_switches;
1202 /*157*/ public UB axis_c_stop_code;
1203 /*158-161*/ public SL axis_c_reference_position;
1204 /*162-165*/ public SL axis_c_motor_position;
1205 /*166-169*/ public SL axis_c_position_error;
1206 /*170-173*/ public SL axis_c_aux_position;
1207 /*174-177*/ public SL axis_c_velocity;
1208 /*178-181*/ public SL axis_c_torque;
1209 /*182-183*/ public UW axis_c_analog_in;
1210 /*184*/ public UB axis_c_halls;
1211 /*185*/ public UB axis_c_reserved;
1212 /*186-189*/ public SL axis_c_variable;
1213
1214 /*190-191*/ public UW axis_d_status;
1215 /*192*/ public UB axis_d_switches;
1216 /*193*/ public UB axis_d_stop_code;
1217 /*194-197*/ public SL axis_d_reference_position;
1218 /*198-201*/ public SL axis_d_motor_position;
1219 /*202-205*/ public SL axis_d_position_error;
1220 /*206-209*/ public SL axis_d_aux_position;
1221 /*210-213*/ public SL axis_d_velocity;
1222 /*214-217*/ public SL axis_d_torque;
1223 /*218-219*/ public UW axis_d_analog_in;
1224 /*220*/ public UB axis_d_halls;
1225 /*221*/ public UB axis_d_reserved;
1226 /*222-225*/ public SL axis_d_variable;
1227
1228 /*226-227*/ public UW axis_e_status;
1229 /*228*/ public UB axis_e_switches;
1230 /*229*/ public UB axis_e_stop_code;
1231 /*230-233*/ public SL axis_e_reference_position;
1232 /*234-237*/ public SL axis_e_motor_position;
1233 /*238-241*/ public SL axis_e_position_error;
1234 /*242-245*/ public SL axis_e_aux_position;
1235 /*246-249*/ public SL axis_e_velocity;
1236 /*250-253*/ public SL axis_e_torque;
1237 /*254-255*/ public UW axis_e_analog_in;
1238 /*256*/ public UB axis_e_halls;
1239 /*257*/ public UB axis_e_reserved;
1240 /*258-261*/ public SL axis_e_variable;
1241
1242 /*262-263*/ public UW axis_f_status;
1243 /*264*/ public UB axis_f_switches;
1244 /*265*/ public UB axis_f_stop_code;
1245 /*266-269*/ public SL axis_f_reference_position;
1246 /*270-273*/ public SL axis_f_motor_position;
1247 /*274-277*/ public SL axis_f_position_error;
1248 /*278-281*/ public SL axis_f_aux_position;
1249 /*282-285*/ public SL axis_f_velocity;
1250 /*286-289*/ public SL axis_f_torque;
1251 /*290-291*/ public UW axis_f_analog_in;
1252 /*292*/ public UB axis_f_halls;
1253 /*293*/ public UB axis_f_reserved;
1254 /*294-297*/ public SL axis_f_variable;
1255
1256 /*298-299*/ public UW axis_g_status;
1257 /*300*/ public UB axis_g_switches;
1258 /*301*/ public UB axis_g_stop_code;
1259 /*302-305*/ public SL axis_g_reference_position;
1260 /*306-309*/ public SL axis_g_motor_position;
1261 /*310-313*/ public SL axis_g_position_error;
1262 /*314-317*/ public SL axis_g_aux_position;
1263 /*318-321*/ public SL axis_g_velocity;
1264 /*322-325*/ public SL axis_g_torque;
1265 /*326-327*/ public UW axis_g_analog_in;
1266 /*328*/ public UB axis_g_halls;
1267 /*329*/ public UB axis_g_reserved;
1268 /*330-333*/ public SL axis_g_variable;
1269
1270 /*334-335*/ public UW axis_h_status;
1271 /*336*/ public UB axis_h_switches;
1272 /*337*/ public UB axis_h_stop_code;
1273 /*338-341*/ public SL axis_h_reference_position;
1274 /*342-345*/ public SL axis_h_motor_position;
1275 /*346-349*/ public SL axis_h_position_error;
1276 /*350-353*/ public SL axis_h_aux_position;
1277 /*354-357*/ public SL axis_h_velocity;
1278 /*358-361*/ public SL axis_h_torque;
1279 /*362-363*/ public UW axis_h_analog_in;
1280 /*364*/ public UB axis_h_halls;
1281 /*365*/ public UB axis_h_reserved;
1282 /*366-369*/ public SL axis_h_variable;
1283 }; //DataRecord52000
1284
1286
1293 [StructLayout(LayoutKind.Sequential, Pack=1)]
1294 public struct GDataRecord1806 : GDataRecord
1295 {
1296 public byte[] byte_array() { return StructToByteArray(this); }
1297 /*Offset type name description*/
1298
1299 /*00-01*/ public UW sample_number;
1300
1301 /*02*/ public UB input_bank_0;
1302 /*03*/ public UB input_bank_1;
1303 /*04*/ public UB input_bank_2;
1304 /*05*/ public UB input_bank_3;
1305 /*06*/ public UB input_bank_4;
1306 /*07*/ public UB input_bank_5;
1307 /*08*/ public UB input_bank_6;
1308 /*09*/ public UB input_bank_7;
1309 /*10*/ public UB input_bank_8;
1310 /*11*/ public UB input_bank_9;
1311
1312 /*12*/ public UB output_bank_0;
1313 /*13*/ public UB output_bank_1;
1314 /*14*/ public UB output_bank_2;
1315 /*15*/ public UB output_bank_3;
1316 /*16*/ public UB output_bank_4;
1317 /*17*/ public UB output_bank_5;
1318 /*18*/ public UB output_bank_6;
1319 /*19*/ public UB output_bank_7;
1320 /*20*/ public UB output_bank_8;
1321 /*21*/ public UB output_bank_9;
1322
1323 /*22-23*/ public SW reserved_0;
1324 /*24-25*/ public SW reserved_2;
1325 /*26-27*/ public SW reserved_4;
1326 /*28-29*/ public SW reserved_6;
1327 /*30-31*/ public SW reserved_8;
1328 /*32-33*/ public SW reserved_10;
1329 /*34-35*/ public SW reserved_12;
1330 /*36-37*/ public SW reserved_14;
1331
1332 /*38*/ public UB reserved_16;
1333 /*39*/ public UB reserved_17;
1334 /*40*/ public UB reserved_18;
1335 /*41*/ public UB reserved_19;
1336 /*42*/ public UB reserved_20;
1337 /*43*/ public UB reserved_21;
1338 /*44*/ public UB reserved_22;
1339 /*45*/ public UB reserved_23;
1340
1341 /*46*/ public UB error_code;
1342 /*47*/ public UB thread_status;
1343 /*48-51*/ public UL reserved_24;
1344
1345 /*52-55*/ public UL contour_segment_count;
1346 /*56-57*/ public UW contour_buffer_available;
1347
1348 /*58-59*/ public UW s_plane_segment_count;
1349 /*60-61*/ public UW s_plane_move_status;
1350 /*62-65*/ public SL s_distance;
1351 /*66-67*/ public UW s_plane_buffer_available;
1352
1353 /*68-69*/ public UW t_plane_segment_count;
1354 /*70-71*/ public UW t_plane_move_status;
1355 /*72-75*/ public SL t_distance;
1356 /*76-77*/ public UW t_plane_buffer_available;
1357
1358 /*78-79*/ public UW axis_a_status;
1359 /*80*/ public UB axis_a_switches;
1360 /*81*/ public UB axis_a_stop_code;
1361 /*82-85*/ public SL axis_a_reference_position;
1362 /*86-89*/ public SL axis_a_motor_position;
1363 /*90-93*/ public SL axis_a_position_error;
1364 /*94-97*/ public SL axis_a_aux_position;
1365 /*98-101*/ public SL axis_a_velocity;
1366 /*102-105*/ public SL axis_a_torque;
1367 /*106-107*/ public UW axis_a_analog_in;
1368 /*108*/ public UB axis_a_reserved_0;
1369 /*109*/ public UB axis_a_reserved_1;
1370 /*110-113*/ public SL axis_a_variable;
1371
1372 /*114-115*/ public UW axis_b_status;
1373 /*116*/ public UB axis_b_switches;
1374 /*117*/ public UB axis_b_stop_code;
1375 /*118-121*/ public SL axis_b_reference_position;
1376 /*122-125*/ public SL axis_b_motor_position;
1377 /*126-129*/ public SL axis_b_position_error;
1378 /*130-133*/ public SL axis_b_aux_position;
1379 /*134-137*/ public SL axis_b_velocity;
1380 /*138-141*/ public SL axis_b_torque;
1381 /*142-143*/ public UW axis_b_analog_in;
1382 /*144*/ public UB axis_b_reserved_0;
1383 /*145*/ public UB axis_b_reserved_1;
1384 /*146-149*/ public SL axis_b_variable;
1385
1386 /*150-151*/ public UW axis_c_status;
1387 /*152*/ public UB axis_c_switches;
1388 /*153*/ public UB axis_c_stop_code;
1389 /*154-157*/ public SL axis_c_reference_position;
1390 /*158-161*/ public SL axis_c_motor_position;
1391 /*162-165*/ public SL axis_c_position_error;
1392 /*166-169*/ public SL axis_c_aux_position;
1393 /*170-173*/ public SL axis_c_velocity;
1394 /*174-177*/ public SL axis_c_torque;
1395 /*178-179*/ public UW axis_c_analog_in;
1396 /*180*/ public UB axis_c_reserved_0;
1397 /*181*/ public UB axis_c_reserved_1;
1398 /*182-185*/ public SL axis_c_variable;
1399
1400 /*186-187*/ public UW axis_d_status;
1401 /*188*/ public UB axis_d_switches;
1402 /*189*/ public UB axis_d_stop_code;
1403 /*190-193*/ public SL axis_d_reference_position;
1404 /*194-197*/ public SL axis_d_motor_position;
1405 /*198-201*/ public SL axis_d_position_error;
1406 /*202-205*/ public SL axis_d_aux_position;
1407 /*206-209*/ public SL axis_d_velocity;
1408 /*210-213*/ public SL axis_d_torque;
1409 /*214-215*/ public UW axis_d_analog_in;
1410 /*216*/ public UB axis_d_reserved_0;
1411 /*217*/ public UB axis_d_reserved_1;
1412 /*218-221*/ public SL axis_d_variable;
1413
1414 /*222-223*/ public UW axis_e_status;
1415 /*224*/ public UB axis_e_switches;
1416 /*225*/ public UB axis_e_stop_code;
1417 /*226-229*/ public SL axis_e_reference_position;
1418 /*230-233*/ public SL axis_e_motor_position;
1419 /*234-237*/ public SL axis_e_position_error;
1420 /*238-241*/ public SL axis_e_aux_position;
1421 /*242-245*/ public SL axis_e_velocity;
1422 /*256-249*/ public SL axis_e_torque;
1423 /*250-251*/ public UW axis_e_analog_in;
1424 /*252*/ public UB axis_e_reserved_0;
1425 /*253*/ public UB axis_e_reserved_1;
1426 /*254-257*/ public SL axis_e_variable;
1427
1428 /*258-259*/ public UW axis_f_status;
1429 /*260*/ public UB axis_f_switches;
1430 /*261*/ public UB axis_f_stop_code;
1431 /*262-265*/ public SL axis_f_reference_position;
1432 /*266-269*/ public SL axis_f_motor_position;
1433 /*270-273*/ public SL axis_f_position_error;
1434 /*274-277*/ public SL axis_f_aux_position;
1435 /*278-281*/ public SL axis_f_velocity;
1436 /*282-285*/ public SL axis_f_torque;
1437 /*286-287*/ public UW axis_f_analog_in;
1438 /*288*/ public UB axis_f_reserved_0;
1439 /*289*/ public UB axis_f_reserved_1;
1440 /*290-293*/ public SL axis_f_variable;
1441
1442 /*294-295*/ public UW axis_g_status;
1443 /*296*/ public UB axis_g_switches;
1444 /*297*/ public UB axis_g_stop_code;
1445 /*298-301*/ public SL axis_g_reference_position;
1446 /*302-305*/ public SL axis_g_motor_position;
1447 /*306-309*/ public SL axis_g_position_error;
1448 /*310-313*/ public SL axis_g_aux_position;
1449 /*314-317*/ public SL axis_g_velocity;
1450 /*318-321*/ public SL axis_g_torque;
1451 /*322-323*/ public UW axis_g_analog_in;
1452 /*324*/ public UB axis_g_reserved_0;
1453 /*325*/ public UB axis_g_reserved_1;
1454 /*326-329*/ public SL axis_g_variable;
1455
1456 /*330-331*/ public UW axis_h_status;
1457 /*332*/ public UB axis_h_switches;
1458 /*333*/ public UB axis_h_stop_code;
1459 /*334-337*/ public SL axis_h_reference_position;
1460 /*338-341*/ public SL axis_h_motor_position;
1461 /*342-345*/ public SL axis_h_position_error;
1462 /*346-349*/ public SL axis_h_aux_position;
1463 /*350-353*/ public SL axis_h_velocity;
1464 /*354-357*/ public SL axis_h_torque;
1465 /*358-359*/ public UW axis_h_analog_in;
1466 /*360*/ public UB axis_h_reserved_0;
1467 /*361*/ public UB axis_h_reserved_1;
1468 /*362-365*/ public SL axis_h_variable;
1469 }; //DataRecord1806
1470
1472 [StructLayout(LayoutKind.Sequential, Pack=1)]
1473 public struct GDataRecord2103 : GDataRecord
1474 {
1475 public byte[] byte_array() { return StructToByteArray(this); }
1476
1477 /*Offset type name description*/
1478
1479 /*00*/ public UB header_0;
1480 /*01*/ public UB header_1;
1481 /*02*/ public UB header_2;
1482 /*03*/ public UB header_3;
1483
1484 /*04-05*/ public UW sample_number;
1485
1486 /*06*/ public UB input_bank_0;
1487 /*07*/ public UB input_bank_1;
1488 /*08*/ public UB input_bank_2;
1489 /*09*/ public UB input_bank_3;
1490 /*10*/ public UB input_bank_4;
1491 /*11*/ public UB input_bank_5;
1492 /*12*/ public UB input_bank_6;
1493 /*13*/ public UB input_bank_7;
1494 /*14*/ public UB input_bank_8;
1495 /*15*/ public UB input_bank_9;
1496
1497 /*16*/ public UB output_bank_0;
1498 /*17*/ public UB output_bank_1;
1499 /*18*/ public UB output_bank_2;
1500 /*19*/ public UB output_bank_3;
1501 /*20*/ public UB output_bank_4;
1502 /*21*/ public UB output_bank_5;
1503 /*22*/ public UB output_bank_6;
1504 /*23*/ public UB output_bank_7;
1505 /*24*/ public UB output_bank_8;
1506 /*25*/ public UB output_bank_9;
1507
1508 /*26*/ public UB error_code;
1509 /*27*/ public UB general_status;
1510
1511 /*28-29*/ public UW s_plane_segment_count;
1512 /*30-31*/ public UW s_plane_move_status;
1513 /*32-35*/ public SL s_distance;
1514
1515 /*36-37*/ public UW t_plane_segment_count;
1516 /*38-39*/ public UW t_plane_move_status;
1517 /*40-43*/ public SL t_distance;
1518
1519 /*44-45*/ public UW axis_a_status;
1520 /*46*/ public UB axis_a_switches;
1521 /*47*/ public UB axis_a_stop_code;
1522 /*48-51*/ public SL axis_a_reference_position;
1523 /*52-55*/ public SL axis_a_motor_position;
1524 /*56-59*/ public SL axis_a_position_error;
1525 /*60-63*/ public SL axis_a_aux_position;
1526 /*64-67*/ public SL axis_a_velocity;
1527 /*68-69*/ public SW axis_a_torque;
1528 /*70-71*/ public UW axis_a_analog_in;
1529
1530 /*72-73*/ public UW axis_b_status;
1531 /*74*/ public UB axis_b_switches;
1532 /*75*/ public UB axis_b_stop_code;
1533 /*76-79*/ public SL axis_b_reference_position;
1534 /*80-83*/ public SL axis_b_motor_position;
1535 /*84-87*/ public SL axis_b_position_error;
1536 /*88-91*/ public SL axis_b_aux_position;
1537 /*92-95*/ public SL axis_b_velocity;
1538 /*96-97*/ public SW axis_b_torque;
1539 /*98-99*/ public UW axis_b_analog_in;
1540
1541 /*100-101*/ public UW axis_c_status;
1542 /*102*/ public UB axis_c_switches;
1543 /*103*/ public UB axis_c_stop_code;
1544 /*104-107*/ public SL axis_c_reference_position;
1545 /*108-111*/ public SL axis_c_motor_position;
1546 /*112-115*/ public SL axis_c_position_error;
1547 /*116-119*/ public SL axis_c_aux_position;
1548 /*120-123*/ public SL axis_c_velocity;
1549 /*124-125*/ public SW axis_c_torque;
1550 /*126-127*/ public UW axis_c_analog_in;
1551
1552 /*128-129*/ public UW axis_d_status;
1553 /*130*/ public UB axis_d_switches;
1554 /*131*/ public UB axis_d_stop_code;
1555 /*132-135*/ public SL axis_d_reference_position;
1556 /*136-139*/ public SL axis_d_motor_position;
1557 /*140-143*/ public SL axis_d_position_error;
1558 /*144-147*/ public SL axis_d_aux_position;
1559 /*148-151*/ public SL axis_d_velocity;
1560 /*152-153*/ public SW axis_d_torque;
1561 /*154-155*/ public UW axis_d_analog_in;
1562
1563 /*156-157*/ public UW axis_e_status;
1564 /*158*/ public UB axis_e_switches;
1565 /*159*/ public UB axis_e_stop_code;
1566 /*160-163*/ public SL axis_e_reference_position;
1567 /*164-167*/ public SL axis_e_motor_position;
1568 /*168-171*/ public SL axis_e_position_error;
1569 /*172-175*/ public SL axis_e_aux_position;
1570 /*176-179*/ public SL axis_e_velocity;
1571 /*180-181*/ public SW axis_e_torque;
1572 /*182-183*/ public UW axis_e_analog_in;
1573
1574 /*184-185*/ public UW axis_f_status;
1575 /*186*/ public UB axis_f_switches;
1576 /*187*/ public UB axis_f_stop_code;
1577 /*188-191*/ public SL axis_f_reference_position;
1578 /*192-195*/ public SL axis_f_motor_position;
1579 /*196-199*/ public SL axis_f_position_error;
1580 /*200-203*/ public SL axis_f_aux_position;
1581 /*204-207*/ public SL axis_f_velocity;
1582 /*208-209*/ public SW axis_f_torque;
1583 /*210-211*/ public UW axis_f_analog_in;
1584
1585 /*212-213*/ public UW axis_g_status;
1586 /*214*/ public UB axis_g_switches;
1587 /*215*/ public UB axis_g_stop_code;
1588 /*216-219*/ public SL axis_g_reference_position;
1589 /*220-223*/ public SL axis_g_motor_position;
1590 /*224-227*/ public SL axis_g_position_error;
1591 /*228-231*/ public SL axis_g_aux_position;
1592 /*232-235*/ public SL axis_g_velocity;
1593 /*236-237*/ public SW axis_g_torque;
1594 /*238-239*/ public UW axis_g_analog_in;
1595
1596 /*240-241*/ public UW axis_h_status;
1597 /*242*/ public UB axis_h_switches;
1598 /*243*/ public UB axis_h_stop_code;
1599 /*244-247*/ public SL axis_h_reference_position;
1600 /*248-251*/ public SL axis_h_motor_position;
1601 /*252-255*/ public SL axis_h_position_error;
1602 /*256-259*/ public SL axis_h_aux_position;
1603 /*260-263*/ public SL axis_h_velocity;
1604 /*264-265*/ public SW axis_h_torque;
1605 /*266-267*/ public UW axis_h_analog_in;
1606 }; //DataRecord2013
1607
1614 [StructLayout(LayoutKind.Sequential, Pack=1)]
1615 public struct GDataRecord1802 : GDataRecord
1616 {
1617 public byte[] byte_array() { return StructToByteArray(this); }
1618
1619 /*Offset type name description*/
1620
1621 /*00-01*/ public UW sample_number;
1622
1623 /*02*/ public UB input_bank_0;
1624 /*03*/ public UB input_bank_1;
1625 /*04*/ public UB input_bank_2;
1626 /*05*/ public UB input_bank_3;
1627 /*06*/ public UB input_bank_4;
1628 /*07*/ public UB input_bank_5;
1629 /*08*/ public UB input_bank_6;
1630 /*09*/ public UB input_bank_7;
1631 /*10*/ public UB input_bank_8;
1632 /*11*/ public UB input_bank_9;
1633
1634 /*12*/ public UB output_bank_0;
1635 /*13*/ public UB output_bank_1;
1636 /*14*/ public UB output_bank_2;
1637 /*15*/ public UB output_bank_3;
1638 /*16*/ public UB output_bank_4;
1639 /*17*/ public UB output_bank_5;
1640 /*18*/ public UB output_bank_6;
1641 /*19*/ public UB output_bank_7;
1642 /*20*/ public UB output_bank_8;
1643 /*21*/ public UB output_bank_9;
1644
1645 /*22*/ public UB error_code;
1646 /*23*/ public UB general_status;
1647
1648 /*24-25*/ public UW s_plane_segment_count;
1649 /*26-27*/ public UW s_plane_move_status;
1650 /*28-31*/ public SL s_distance;
1651
1652 /*32-33*/ public UW t_plane_segment_count;
1653 /*34-35*/ public UW t_plane_move_status;
1654 /*36-39*/ public SL t_distance;
1655
1656 /*40-41*/ public UW axis_a_status;
1657 /*42*/ public UB axis_a_switches;
1658 /*43*/ public UB axis_a_stop_code;
1659 /*44-47*/ public SL axis_a_reference_position;
1660 /*48-51*/ public SL axis_a_motor_position;
1661 /*52-55*/ public SL axis_a_position_error;
1662 /*56-59*/ public SL axis_a_aux_position;
1663 /*60-63*/ public SL axis_a_velocity;
1664 /*64-65*/ public SW axis_a_torque;
1665 /*66*/ public UB axis_a_reserved_0;
1666 /*67*/ public UB axis_a_reserved_1;
1667
1668 /*68-69*/ public UW axis_b_status;
1669 /*70*/ public UB axis_b_switches;
1670 /*71*/ public UB axis_b_stop_code;
1671 /*72-75*/ public SL axis_b_reference_position;
1672 /*76-79*/ public SL axis_b_motor_position;
1673 /*80-83*/ public SL axis_b_position_error;
1674 /*84-87*/ public SL axis_b_aux_position;
1675 /*88-91*/ public SL axis_b_velocity;
1676 /*92-93*/ public SW axis_b_torque;
1677 /*94*/ public UB axis_b_reserved_0;
1678 /*95*/ public UB axis_b_reserved_1;
1679
1680 /*96-97*/ public UW axis_c_status;
1681 /*98*/ public UB axis_c_switches;
1682 /*99*/ public UB axis_c_stop_code;
1683 /*100-103*/ public SL axis_c_reference_position;
1684 /*104-107*/ public SL axis_c_motor_position;
1685 /*108-111*/ public SL axis_c_position_error;
1686 /*112-115*/ public SL axis_c_aux_position;
1687 /*116-119*/ public SL axis_c_velocity;
1688 /*120-121*/ public SW axis_c_torque;
1689 /*122*/ public UB axis_c_reserved_0;
1690 /*123*/ public UB axis_c_reserved_1;
1691
1692 /*124-125*/ public UW axis_d_status;
1693 /*126*/ public UB axis_d_switches;
1694 /*127*/ public UB axis_d_stop_code;
1695 /*128-131*/ public SL axis_d_reference_position;
1696 /*132-135*/ public SL axis_d_motor_position;
1697 /*136-139*/ public SL axis_d_position_error;
1698 /*140-143*/ public SL axis_d_aux_position;
1699 /*144-147*/ public SL axis_d_velocity;
1700 /*148-149*/ public SW axis_d_torque;
1701 /*150*/ public UB axis_d_reserved_0;
1702 /*151*/ public UB axis_d_reserved_1;
1703
1704 }; //DataRecord1802
1705
1707 [StructLayout(LayoutKind.Sequential, Pack=1)]
1708 public struct GDataRecord30000 : GDataRecord
1709 {
1710 public byte[] byte_array() { return StructToByteArray(this); }
1711
1712 /*Offset type name description*/
1713
1714 /*00*/ public UB header_0;
1715 /*01*/ public UB header_1;
1716 /*02*/ public UB header_2;
1717 /*03*/ public UB header_3;
1718
1719 /*04-05*/ public UW sample_number;
1720
1721 /*06*/ public UB input_bank_0;
1722 /*07*/ public UB input_bank_1;
1723
1724 /*08*/ public UB output_bank_0;
1725 /*09*/ public UB output_bank_1;
1726
1727 /*10*/ public UB error_code;
1728 /*11*/ public UB thread_status;
1729
1730 /*12-13*/ public UW input_analog_2;
1731
1732 /*14-15*/ public UW output_analog_1;
1733 /*16-17*/ public UW output_analog_2;
1734
1735 /*18-21*/ public UL amplifier_status;
1736
1737 /*22-25*/ public UL contour_segment_count;
1738 /*26-27*/ public UW contour_buffer_available;
1739
1740 /*28-29*/ public UW s_plane_segment_count;
1741 /*30-31*/ public UW s_plane_move_status;
1742 /*32-35*/ public SL s_distance;
1743 /*36-37*/ public UW s_plane_buffer_available;
1744
1745 /*38-39*/ public UW axis_a_status;
1746 /*40*/ public UB axis_a_switches;
1747 /*41*/ public UB axis_a_stop_code;
1748 /*42-45*/ public SL axis_a_reference_position;
1749 /*46-49*/ public SL axis_a_motor_position;
1750 /*50-53*/ public SL axis_a_position_error;
1751 /*54-57*/ public SL axis_a_aux_position;
1752 /*58-61*/ public SL axis_a_velocity;
1753 /*62-65*/ public SL axis_a_torque;
1754 /*66-67*/ public UW axis_a_analog_in;
1755 /*68*/ public UB axis_a_halls;
1756 /*69*/ public UB axis_a_reserved;
1757 /*70-73*/ public SL axis_a_variable;
1758 }; //DataRecord30000
1759
1761 [StructLayout(LayoutKind.Sequential, Pack=1)]
1762 public struct GDataRecord47000_ENC : GDataRecord
1763 {
1764 public byte[] byte_array() { return StructToByteArray(this); }
1765
1766 /*Offset type name description*/
1767
1768 /*00*/ public UB header_0;
1769 /*01*/ public UB header_1;
1770 /*02*/ public UB header_2;
1771 /*03*/ public UB header_3;
1772
1773 /*04-05*/ public UW sample_number;
1774 /*06*/ public UB error_code;
1775 /*07*/ public UB general_status;
1776
1777 /*08-09*/ public UW output_analog_0;
1778 /*10-11*/ public UW output_analog_1;
1779 /*12-13*/ public UW output_analog_2;
1780 /*14-15*/ public UW output_analog_3;
1781 /*16-17*/ public UW output_analog_4;
1782 /*18-19*/ public UW output_analog_5;
1783 /*20-21*/ public UW output_analog_6;
1784 /*22-23*/ public UW output_analog_7;
1785
1786 /*24-25*/ public UW input_analog_0;
1787 /*26-27*/ public UW input_analog_1;
1788 /*28-29*/ public UW input_analog_2;
1789 /*30-31*/ public UW input_analog_3;
1790 /*32-33*/ public UW input_analog_4;
1791 /*34-35*/ public UW input_analog_5;
1792 /*36-37*/ public UW input_analog_6;
1793 /*38-39*/ public UW input_analog_7;
1794
1795 /*40-41*/ public UW output_bank_0;
1796
1797 /*42-43*/ public UW input_bank_0;
1798
1799 /*44-47*/ public UL pulse_count_0;
1800 /*48-51*/ public SL zc_variable;
1801 /*52-55*/ public SL zd_variable;
1802
1803 /*56-59*/ public SL encoder_0;
1804 /*60-63*/ public SL encoder_1;
1805 /*64-67*/ public SL encoder_2;
1806 /*68-71*/ public SL encoder_3;
1807
1808 }; //GDataRecord47000_ENC
1809
1811 [StructLayout(LayoutKind.Sequential, Pack=1)]
1812 public struct GDataRecord47300_ENC : GDataRecord
1813 {
1814 public byte[] byte_array() { return StructToByteArray(this); }
1815
1816 /*Offset type name description*/
1817
1818 /*00*/ public UB header_0;
1819 /*01*/ public UB header_1;
1820 /*02*/ public UB header_2;
1821 /*03*/ public UB header_3;
1822
1823 /*04-05*/ public UW sample_number;
1824 /*06*/ public UB error_code;
1825 /*07*/ public UB general_status;
1826
1827 /*08-09*/ public UW output_analog_0;
1828 /*10-11*/ public UW output_analog_1;
1829 /*12-13*/ public UW output_analog_2;
1830 /*14-15*/ public UW output_analog_3;
1831 /*16-17*/ public UW output_analog_4;
1832 /*18-19*/ public UW output_analog_5;
1833 /*20-21*/ public UW output_analog_6;
1834 /*22-23*/ public UW output_analog_7;
1835
1836 /*24-25*/ public UW input_analog_0;
1837 /*26-27*/ public UW input_analog_1;
1838 /*28-29*/ public UW input_analog_2;
1839 /*30-31*/ public UW input_analog_3;
1840 /*32-33*/ public UW input_analog_4;
1841 /*34-35*/ public UW input_analog_5;
1842 /*36-37*/ public UW input_analog_6;
1843 /*38-39*/ public UW input_analog_7;
1844
1845 /*40-41*/ public UW output_bank_0;
1846 /*42-43*/ public UW output_bank_1;
1847
1848 /*44-45*/ public UW input_bank_0;
1849 /*46-47*/ public UW input_bank_1;
1850
1851 /*48-51*/ public UL pulse_count_0;
1852 /*52-55*/ public SL zc_variable;
1853 /*56-59*/ public SL zd_variable;
1854
1855 /*60-63*/ public SL encoder_0;
1856 /*64-67*/ public SL encoder_1;
1857 /*68-71*/ public SL encoder_2;
1858 /*72-75*/ public SL encoder_3;
1859
1860 }; //GDataRecord47300_ENC
1861
1863 [StructLayout(LayoutKind.Sequential, Pack=1)]
1864 public struct GDataRecord47300_24EX : GDataRecord
1865 {
1866 public byte[] byte_array() { return StructToByteArray(this); }
1867
1868 /*Offset type name description*/
1869
1870 /*00*/ public UB header_0;
1871 /*01*/ public UB header_1;
1872 /*02*/ public UB header_2;
1873 /*03*/ public UB header_3;
1874
1875 /*04-05*/ public UW sample_number;
1876 /*06*/ public UB error_code;
1877 /*07*/ public UB general_status;
1878
1879 /*08-09*/ public UW output_analog_0;
1880 /*10-11*/ public UW output_analog_1;
1881 /*12-13*/ public UW output_analog_2;
1882 /*14-15*/ public UW output_analog_3;
1883 /*16-17*/ public UW output_analog_4;
1884 /*18-19*/ public UW output_analog_5;
1885 /*20-21*/ public UW output_analog_6;
1886 /*22-23*/ public UW output_analog_7;
1887
1888 /*24-25*/ public UW input_analog_0;
1889 /*26-27*/ public UW input_analog_1;
1890 /*28-29*/ public UW input_analog_2;
1891 /*30-31*/ public UW input_analog_3;
1892 /*32-33*/ public UW input_analog_4;
1893 /*34-35*/ public UW input_analog_5;
1894 /*36-37*/ public UW input_analog_6;
1895 /*38-39*/ public UW input_analog_7;
1896
1897 /*40-41*/ public UW output_bank_0;
1898 /*42-43*/ public UW output_bank_1;
1899
1900 /*44-45*/ public UW input_bank_0;
1901 /*46-47*/ public UW input_bank_1;
1902
1903 /*48-51*/ public UL pulse_count_0;
1904 /*52-55*/ public SL zc_variable;
1905 /*56-59*/ public SL zd_variable;
1906
1907 /*60-61*/ public UW output_bank_2;
1908 /*62-63*/ public UW output_back_3;
1909
1910 /*64-65*/ public UW input_bank_2;
1911 /*66-67*/ public UW input_bank_3;
1912
1913 }; //GDataRecord47300_24EX
1914
1916 [StructLayout(LayoutKind.Sequential, Pack=1)]
1917 public struct GDataRecord47162 : GDataRecord
1918 {
1919 public byte[] byte_array() { return StructToByteArray(this); }
1920 /*Offset type name description*/
1921
1922 /*00*/ public UB header_0;
1923 /*01*/ public UB header_1;
1924 /*02*/ public UB header_2;
1925 /*03*/ public UB header_3;
1926
1927 /*04-05*/ public UW sample_number;
1928 /*06*/ public UB error_code;
1929 /*07*/ public UB general_status;
1930
1931 /*08-09*/ public UW output_analog_0;
1932 /*10-11*/ public UW output_analog_1;
1933 /*12-13*/ public UW output_analog_2;
1934 /*14-15*/ public UW output_analog_3;
1935 /*16-17*/ public UW output_analog_4;
1936 /*18-19*/ public UW output_analog_5;
1937 /*20-21*/ public UW output_analog_6;
1938 /*22-23*/ public UW output_analog_7;
1939
1940 /*24-25*/ public UW input_analog_0;
1941 /*26-27*/ public UW input_analog_1;
1942 /*28-29*/ public UW input_analog_2;
1943 /*30-31*/ public UW input_analog_3;
1944 /*32-33*/ public UW input_analog_4;
1945 /*34-35*/ public UW input_analog_5;
1946 /*36-37*/ public UW input_analog_6;
1947 /*38-39*/ public UW input_analog_7;
1948
1949 /*40*/ public UB output_byte_0;
1950 /*41*/ public UB output_byte_1;
1951 /*42*/ public UB output_byte_2;
1952
1953 /*43*/ public UB input_byte_0;
1954 /*44*/ public UB input_byte_1;
1955 /*45*/ public UB input_byte_2;
1956 /*46*/ public UB input_byte_3;
1957 /*47*/ public UB input_byte_4;
1958
1959 /*48-51*/ public UL pulse_count_0;
1960 /*52-55*/ public SL zc_variable;
1961 /*56-59*/ public SL zd_variable;
1962
1963 /*60-63*/ public SL encoder_0;
1964 /*64-67*/ public SL encoder_1;
1965 /*68-71*/ public SL encoder_2;
1966 /*72-75*/ public SL encoder_3;
1967
1968 }; //GDataRecord47162
1969
1970 #endregion
1971 } //gclib class
1972
gclib.GArrayDownloadFile
void GArrayDownloadFile(string Path)
Allows downloading of a program array file to the controller.
Definition: gclib.cs:153
gclib.GProgramUpload
string GProgramUpload()
Allows uploading of a DMC program to a string.
Definition: gclib.cs:499
gclib.GAssign
void GAssign(string ip, string mac)
Assigns IP address over the Ethernet to a controller at a given MAC address.
Definition: gclib.cs:224
gclib.GVersion
string GVersion()
Used to get the gclib version.
Definition: gclib.cs:614
gclib.GOpen
void GOpen(string address)
Used to open a connection to Galil hardware.
Definition: gclib.cs:445
gclib.GServerStatus
string GServerStatus()
Retrieves the name of your local gcaps server and whether or not it is currently published
Definition: gclib.cs:701
gclib.GWrite
void GWrite(string buffer)
Performs a write on the connection.
Definition: gclib.cs:635
gclib.gclib
gclib()
Constructor of the gclib wrapper class.
Definition: gclib.cs:85
gclib.GCommand
string GCommand(string Command, bool Trim=true)
Used for command-and-response transactions.
Definition: gclib.cs:257
gclib.GArrayDownload
void GArrayDownload(string array_name, ref List< double > data, Int16 first=-1, Int16 last=-1)
Downloads array data to a pre-dimensioned array in the controller's array table.
Definition: gclib.cs:126
gclib.GInfo
string GInfo()
Provides a useful connection string.
Definition: gclib.cs:344
gclib.GSetupDownloadFile
string[] GSetupDownloadFile(string path, Int32 options)
Allows downloading of a Galil compressed backup (gcb) file to the controller.
Definition: gclib.cs:655
gclib.GPublishServer
void GPublishServer(string server_name, bool publish, bool save)
Publishes or removes local gcaps server from the network
Definition: gclib.cs:738
gclib.GIpRequests
string[] GIpRequests()
Provides a list of all Galil controllers requesting IP addresses via BOOT-P or DHCP.
Definition: gclib.cs:386
gclib.GProgramDownload
void GProgramDownload(string program, string preprocessor="")
Allows downloading of a DMC program from a string buffer.
Definition: gclib.cs:465
gclib.GAddresses
string[] GAddresses()
Return a string array of available connection addresses.
Definition: gclib.cs:102
gclib.GInterrupt
byte GInterrupt()
Provides access to PCI and UDP interrupts from the controller.
Definition: gclib.cs:364
gclib.GMessage
string GMessage()
Provides access to unsolicited messages.
Definition: gclib.cs:407
gclib.GRead
byte[] GRead()
Performs a read on the connection.
Definition: gclib.cs:536
gclib.GSetServer
void GSetServer(string server_name)
Connects gclib to a new gcaps server
Definition: gclib.cs:686
gclib.GRecord< T >
T GRecord< T >(bool async)
Used for retrieving data records from the controller.
Definition: gclib.cs:566
gclib.GProgramDownloadFile
void GProgramDownloadFile(string file_path, string preprocessor="")
Allows downloading of a DMC program from file.
Definition: gclib.cs:483
gclib.GMotionComplete
void GMotionComplete(string axes)
Blocking call that returns once all axes specified have completed their motion.
Definition: gclib.cs:428
gclib.GTimeout
void GTimeout(Int16 timeout_ms)
Set the timeout of communication transactions. Use -1 to set the original timeout from GOpen().
Definition: gclib.cs:604
gclib.GCmdD
double GCmdD(string Command)
Used for command-and-response transactions.
Definition: gclib.cs:301
gclib.GArrayUpload
List< double > GArrayUpload(string array_name, Int16 first=-1, Int16 last=-1)
Uploads array data from the controller's array table.
Definition: gclib.cs:173
gclib.GListServers
string[] GListServers()
Retrieves a list of gcaps servers that are advertising themselves on the local network
Definition: gclib.cs:716
gclib.GProgramUploadFile
void GProgramUploadFile(string file_path)
Allows uploading of a DMC program to a file.
Definition: gclib.cs:520
gclib.GClose
void GClose()
Used to close a connection to Galil hardware.
Definition: gclib.cs:239
gclib.GCmdI
Int16 GCmdI(string Command)
Used for command-and-response transactions.
Definition: gclib.cs:288
gclib.GRecordRate
void GRecordRate(double period_ms)
Sets the asynchronous data record to a user-specified period via DR.
Definition: gclib.cs:588
gclib.GArrayUploadFile
void GArrayUploadFile(string Path, string Names)
Allows uploading of a program array file from the controller to an array CSV file.
Definition: gclib.cs:206
gclib.GRemoteConnections
string[] GRemoteConnections()
Returns a list of IP Addresses that currently have an open connection to your hardware.
Definition: gclib.cs:751
gclib.GFirmwareDownload
void GFirmwareDownload(string filepath)
Upgrade firmware.
Definition: gclib.cs:330
gclib
Provides a class that binds to gclib's unmanaged dll. Wraps each call and provides a more user-friend...
Definition: gclib.cs:68
GBufIn
const char * GBufIn
Data input to the library. No null-termination, function will have a GSize to indicate bytes to write...
Definition: gclib.h:100
GReturn
int GReturn
Every function returns a value of type GReturn. See gclib_errors.h for possible values.
Definition: gclib.h:93
GOption
int GOption
Option integer for various formatting, etc.
Definition: gclib.h:96
GStatus
unsigned char GStatus
Interrupt status byte.
Definition: gclib.h:101
GSize
unsigned int GSize
Size of buffers, etc.
Definition: gclib.h:95
GBufOut
char * GBufOut
Data output from the library. No null-termination implied. Returned values may be null-terminated,...
Definition: gclib.h:99
GCon
void * GCon
Connection handle. Unique for each connection in process. Assigned a non-zero value in GOpen().
Definition: gclib.h:94
GCStringOut
char * GCStringOut
C-string output from the library. Implies null-termination.
Definition: gclib.h:97
GCStringIn
const char * GCStringIn
C-string input to the library. Implies null-termination.
Definition: gclib.h:98
gclib.GDataRecord
Definition: gclib.cs:898
gclib.GDataRecord.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
gclib.GDataRecord1802
Data record struct for DMC-1802 controllers.
Definition: gclib.cs:1616
gclib.GDataRecord1802.axis_c_aux_position
SL axis_c_aux_position
C axis auxiliary position.
Definition: gclib.cs:1686
gclib.GDataRecord1802.input_bank_3
UB input_bank_3
general input bank 3 (inputs 25-32).
Definition: gclib.cs:1626
gclib.GDataRecord1802.input_bank_0
UB input_bank_0
general input bank 0 (inputs 1-8).
Definition: gclib.cs:1623
gclib.GDataRecord1802.axis_d_reference_position
SL axis_d_reference_position
D axis reference position.
Definition: gclib.cs:1695
gclib.GDataRecord1802.axis_b_position_error
SL axis_b_position_error
B axis position error.
Definition: gclib.cs:1673
gclib.GDataRecord1802.axis_d_stop_code
UB axis_d_stop_code
D axis stop code.
Definition: gclib.cs:1694
gclib.GDataRecord1802.axis_a_switches
UB axis_a_switches
A axis switches.
Definition: gclib.cs:1657
gclib.GDataRecord1802.output_bank_3
UB output_bank_3
general output bank 3 (outputs 25-32).
Definition: gclib.cs:1637
gclib.GDataRecord1802.axis_c_reserved_1
UB axis_c_reserved_1
Reserved.
Definition: gclib.cs:1690
gclib.GDataRecord1802.input_bank_1
UB input_bank_1
general input bank 1 (inputs 9-16).
Definition: gclib.cs:1624
gclib.GDataRecord1802.axis_d_position_error
SL axis_d_position_error
D axis position error.
Definition: gclib.cs:1697
gclib.GDataRecord1802.axis_a_reserved_0
UB axis_a_reserved_0
Reserved.
Definition: gclib.cs:1665
gclib.GDataRecord1802.axis_d_velocity
SL axis_d_velocity
D axis velocity.
Definition: gclib.cs:1699
gclib.GDataRecord1802.axis_b_switches
UB axis_b_switches
B axis switches.
Definition: gclib.cs:1669
gclib.GDataRecord1802.axis_a_motor_position
SL axis_a_motor_position
A axis motor position.
Definition: gclib.cs:1660
gclib.GDataRecord1802.input_bank_2
UB input_bank_2
general input bank 2 (inputs 17-24).
Definition: gclib.cs:1625
gclib.GDataRecord1802.s_plane_segment_count
UW s_plane_segment_count
segment count of coordinated move for S plane.
Definition: gclib.cs:1648
gclib.GDataRecord1802.axis_d_reserved_1
UB axis_d_reserved_1
Reserved.
Definition: gclib.cs:1702
gclib.GDataRecord1802.output_bank_2
UB output_bank_2
general output bank 2 (outputs 17-24).
Definition: gclib.cs:1636
gclib.GDataRecord1802.axis_c_motor_position
SL axis_c_motor_position
C axis motor position.
Definition: gclib.cs:1684
gclib.GDataRecord1802.axis_c_position_error
SL axis_c_position_error
C axis position error.
Definition: gclib.cs:1685
gclib.GDataRecord1802.axis_d_torque
SW axis_d_torque
D axis torque.
Definition: gclib.cs:1700
gclib.GDataRecord1802.axis_b_stop_code
UB axis_b_stop_code
B axis stop code.
Definition: gclib.cs:1670
gclib.GDataRecord1802.sample_number
UW sample_number
sample number.
Definition: gclib.cs:1621
gclib.GDataRecord1802.axis_a_velocity
SL axis_a_velocity
A axis velocity.
Definition: gclib.cs:1663
gclib.GDataRecord1802.axis_c_stop_code
UB axis_c_stop_code
C axis stop code.
Definition: gclib.cs:1682
gclib.GDataRecord1802.output_bank_7
UB output_bank_7
general output bank 7 (outputs 57-64).
Definition: gclib.cs:1641
gclib.GDataRecord1802.input_bank_8
UB input_bank_8
general input bank 8 (inputs 65-72).
Definition: gclib.cs:1631
gclib.GDataRecord1802.axis_d_status
UW axis_d_status
D axis status.
Definition: gclib.cs:1692
gclib.GDataRecord1802.input_bank_9
UB input_bank_9
general input bank 9 (inputs 73-80).
Definition: gclib.cs:1632
gclib.GDataRecord1802.axis_a_position_error
SL axis_a_position_error
A axis position error.
Definition: gclib.cs:1661
gclib.GDataRecord1802.axis_a_aux_position
SL axis_a_aux_position
A axis auxiliary position.
Definition: gclib.cs:1662
gclib.GDataRecord1802.axis_a_status
UW axis_a_status
A axis status.
Definition: gclib.cs:1656
gclib.GDataRecord1802.output_bank_4
UB output_bank_4
general output bank 4 (outputs 33-40).
Definition: gclib.cs:1638
gclib.GDataRecord1802.axis_b_reserved_1
UB axis_b_reserved_1
Reserved.
Definition: gclib.cs:1678
gclib.GDataRecord1802.input_bank_5
UB input_bank_5
general input bank 5 (inputs 41-48).
Definition: gclib.cs:1628
gclib.GDataRecord1802.axis_b_reference_position
SL axis_b_reference_position
B axis reference position.
Definition: gclib.cs:1671
gclib.GDataRecord1802.axis_a_torque
SW axis_a_torque
A axis torque.
Definition: gclib.cs:1664
gclib.GDataRecord1802.axis_c_reference_position
SL axis_c_reference_position
C axis reference position.
Definition: gclib.cs:1683
gclib.GDataRecord1802.output_bank_9
UB output_bank_9
general output bank 9 (outputs 73-80).
Definition: gclib.cs:1643
gclib.GDataRecord1802.s_distance
SL s_distance
distance traveled in coordinated move for S plane.
Definition: gclib.cs:1650
gclib.GDataRecord1802.axis_b_aux_position
SL axis_b_aux_position
B axis auxiliary position.
Definition: gclib.cs:1674
gclib.GDataRecord1802.input_bank_6
UB input_bank_6
general input bank 6 (inputs 49-56).
Definition: gclib.cs:1629
gclib.GDataRecord1802.general_status
UB general_status
general status
Definition: gclib.cs:1646
gclib.GDataRecord1802.axis_a_stop_code
UB axis_a_stop_code
A axis stop code.
Definition: gclib.cs:1658
gclib.GDataRecord1802.axis_a_reference_position
SL axis_a_reference_position
A axis reference position.
Definition: gclib.cs:1659
gclib.GDataRecord1802.axis_a_reserved_1
UB axis_a_reserved_1
Reserved.
Definition: gclib.cs:1666
gclib.GDataRecord1802.output_bank_8
UB output_bank_8
general output bank 8 (outputs 65-72).
Definition: gclib.cs:1642
gclib.GDataRecord1802.axis_c_reserved_0
UB axis_c_reserved_0
Reserved.
Definition: gclib.cs:1689
gclib.GDataRecord1802.t_distance
SL t_distance
distance traveled in coordinated move for T plane.
Definition: gclib.cs:1654
gclib.GDataRecord1802.axis_b_torque
SW axis_b_torque
B axis torque.
Definition: gclib.cs:1676
gclib.GDataRecord1802.axis_d_switches
UB axis_d_switches
D axis switches.
Definition: gclib.cs:1693
gclib.GDataRecord1802.axis_b_status
UW axis_b_status
B axis status.
Definition: gclib.cs:1668
gclib.GDataRecord1802.axis_d_aux_position
SL axis_d_aux_position
D axis auxiliary position.
Definition: gclib.cs:1698
gclib.GDataRecord1802.axis_d_reserved_0
UB axis_d_reserved_0
Reserved.
Definition: gclib.cs:1701
gclib.GDataRecord1802.output_bank_0
UB output_bank_0
general output bank 0 (outputs 1-8).
Definition: gclib.cs:1634
gclib.GDataRecord1802.axis_b_velocity
SL axis_b_velocity
B axis velocity.
Definition: gclib.cs:1675
gclib.GDataRecord1802.error_code
UB error_code
error code.
Definition: gclib.cs:1645
gclib.GDataRecord1802.input_bank_7
UB input_bank_7
general input bank 7 (inputs 57-64).
Definition: gclib.cs:1630
gclib.GDataRecord1802.input_bank_4
UB input_bank_4
general input bank 4 (inputs 33-40).
Definition: gclib.cs:1627
gclib.GDataRecord1802.axis_c_velocity
SL axis_c_velocity
C axis velocity.
Definition: gclib.cs:1687
gclib.GDataRecord1802.output_bank_6
UB output_bank_6
general output bank 6 (outputs 49-56).
Definition: gclib.cs:1640
gclib.GDataRecord1802.output_bank_5
UB output_bank_5
general output bank 5 (outputs 41-48).
Definition: gclib.cs:1639
gclib.GDataRecord1802.axis_c_status
UW axis_c_status
C axis status.
Definition: gclib.cs:1680
gclib.GDataRecord1802.axis_b_motor_position
SL axis_b_motor_position
B axis motor position.
Definition: gclib.cs:1672
gclib.GDataRecord1802.output_bank_1
UB output_bank_1
general output bank 1 (outputs 9-16).
Definition: gclib.cs:1635
gclib.GDataRecord1802.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1617
gclib.GDataRecord1802.axis_c_torque
SW axis_c_torque
C axis torque.
Definition: gclib.cs:1688
gclib.GDataRecord1802.axis_b_reserved_0
UB axis_b_reserved_0
Reserved.
Definition: gclib.cs:1677
gclib.GDataRecord1802.t_plane_move_status
UW t_plane_move_status
Coordinated move status for T plane.
Definition: gclib.cs:1653
gclib.GDataRecord1802.axis_d_motor_position
SL axis_d_motor_position
D axis motor position.
Definition: gclib.cs:1696
gclib.GDataRecord1802.t_plane_segment_count
UW t_plane_segment_count
segment count of coordinated move for T plane.
Definition: gclib.cs:1652
gclib.GDataRecord1802.s_plane_move_status
UW s_plane_move_status
coordinated move status for S plane.
Definition: gclib.cs:1649
gclib.GDataRecord1802.axis_c_switches
UB axis_c_switches
C axis switches.
Definition: gclib.cs:1681
gclib.GDataRecord1806
Data record struct for DMC-1806 controller.
Definition: gclib.cs:1295
gclib.GDataRecord1806.contour_segment_count
UL contour_segment_count
Segment Count for Contour Mode.
Definition: gclib.cs:1345
gclib.GDataRecord1806.axis_a_variable
SL axis_a_variable
A User-defined variable (ZA).
Definition: gclib.cs:1370
gclib.GDataRecord1806.axis_c_aux_position
SL axis_c_aux_position
C axis auxiliary position.
Definition: gclib.cs:1392
gclib.GDataRecord1806.axis_h_torque
SL axis_h_torque
H axis torque.
Definition: gclib.cs:1464
gclib.GDataRecord1806.axis_e_status
UW axis_e_status
E axis status.
Definition: gclib.cs:1414
gclib.GDataRecord1806.reserved_22
UB reserved_22
Reserved.
Definition: gclib.cs:1338
gclib.GDataRecord1806.input_bank_3
UB input_bank_3
general input bank 3 (inputs 25-32).
Definition: gclib.cs:1304
gclib.GDataRecord1806.input_bank_0
UB input_bank_0
general input bank 0 (inputs 1-8).
Definition: gclib.cs:1301
gclib.GDataRecord1806.axis_d_reference_position
SL axis_d_reference_position
D axis reference position.
Definition: gclib.cs:1403
gclib.GDataRecord1806.axis_b_position_error
SL axis_b_position_error
B axis position error.
Definition: gclib.cs:1377
gclib.GDataRecord1806.axis_h_position_error
SL axis_h_position_error
H axis position error.
Definition: gclib.cs:1461
gclib.GDataRecord1806.axis_g_variable
SL axis_g_variable
G User-defined variable (ZA).
Definition: gclib.cs:1454
gclib.GDataRecord1806.axis_f_analog_in
UW axis_f_analog_in
F axis analog input.
Definition: gclib.cs:1437
gclib.GDataRecord1806.axis_c_variable
SL axis_c_variable
C User-defined variable (ZA).
Definition: gclib.cs:1398
gclib.GDataRecord1806.axis_d_stop_code
UB axis_d_stop_code
D axis stop code.
Definition: gclib.cs:1402
gclib.GDataRecord1806.axis_e_motor_position
SL axis_e_motor_position
E axis motor position.
Definition: gclib.cs:1418
gclib.GDataRecord1806.reserved_20
UB reserved_20
Reserved.
Definition: gclib.cs:1336
gclib.GDataRecord1806.axis_a_switches
UB axis_a_switches
A axis switches.
Definition: gclib.cs:1359
gclib.GDataRecord1806.output_bank_3
UB output_bank_3
general output bank 3 (outputs 25-32).
Definition: gclib.cs:1315
gclib.GDataRecord1806.reserved_23
UB reserved_23
Reserved.
Definition: gclib.cs:1339
gclib.GDataRecord1806.axis_c_reserved_1
UB axis_c_reserved_1
Reserved.
Definition: gclib.cs:1397
gclib.GDataRecord1806.axis_e_stop_code
UB axis_e_stop_code
E axis stop code.
Definition: gclib.cs:1416
gclib.GDataRecord1806.axis_h_analog_in
UW axis_h_analog_in
H axis analog input.
Definition: gclib.cs:1465
gclib.GDataRecord1806.axis_g_switches
UB axis_g_switches
G axis switches.
Definition: gclib.cs:1443
gclib.GDataRecord1806.axis_h_stop_code
UB axis_h_stop_code
H axis stop code.
Definition: gclib.cs:1458
gclib.GDataRecord1806.axis_g_position_error
SL axis_g_position_error
G axis position error.
Definition: gclib.cs:1447
gclib.GDataRecord1806.input_bank_1
UB input_bank_1
general input bank 1 (inputs 9-16).
Definition: gclib.cs:1302
gclib.GDataRecord1806.axis_d_position_error
SL axis_d_position_error
D axis position error.
Definition: gclib.cs:1405
gclib.GDataRecord1806.axis_a_reserved_0
UB axis_a_reserved_0
Reserved.
Definition: gclib.cs:1368
gclib.GDataRecord1806.reserved_10
SW reserved_10
Reserved.
Definition: gclib.cs:1328
gclib.GDataRecord1806.axis_d_velocity
SL axis_d_velocity
D axis velocity.
Definition: gclib.cs:1407
gclib.GDataRecord1806.reserved_18
UB reserved_18
Reserved.
Definition: gclib.cs:1334
gclib.GDataRecord1806.axis_b_switches
UB axis_b_switches
B axis switches.
Definition: gclib.cs:1373
gclib.GDataRecord1806.axis_h_reserved_1
UB axis_h_reserved_1
Reserved.
Definition: gclib.cs:1467
gclib.GDataRecord1806.axis_h_reference_position
SL axis_h_reference_position
H axis reference position.
Definition: gclib.cs:1459
gclib.GDataRecord1806.axis_h_status
UW axis_h_status
H axis status.
Definition: gclib.cs:1456
gclib.GDataRecord1806.axis_a_motor_position
SL axis_a_motor_position
A axis motor position.
Definition: gclib.cs:1362
gclib.GDataRecord1806.axis_f_position_error
SL axis_f_position_error
F axis position error.
Definition: gclib.cs:1433
gclib.GDataRecord1806.axis_g_stop_code
UB axis_g_stop_code
G axis stop code.
Definition: gclib.cs:1444
gclib.GDataRecord1806.input_bank_2
UB input_bank_2
general input bank 2 (inputs 17-24).
Definition: gclib.cs:1303
gclib.GDataRecord1806.axis_g_aux_position
SL axis_g_aux_position
G axis auxiliary position.
Definition: gclib.cs:1448
gclib.GDataRecord1806.axis_b_analog_in
UW axis_b_analog_in
B axis analog input.
Definition: gclib.cs:1381
gclib.GDataRecord1806.s_plane_segment_count
UW s_plane_segment_count
segment count of coordinated move for S plane.
Definition: gclib.cs:1348
gclib.GDataRecord1806.axis_d_reserved_1
UB axis_d_reserved_1
Reserved.
Definition: gclib.cs:1411
gclib.GDataRecord1806.thread_status
UB thread_status
thread status.
Definition: gclib.cs:1342
gclib.GDataRecord1806.axis_d_analog_in
UW axis_d_analog_in
D axis analog input.
Definition: gclib.cs:1409
gclib.GDataRecord1806.reserved_24
UL reserved_24
Reserved.
Definition: gclib.cs:1343
gclib.GDataRecord1806.axis_h_motor_position
SL axis_h_motor_position
H axis motor position.
Definition: gclib.cs:1460
gclib.GDataRecord1806.reserved_8
SW reserved_8
Reserved.
Definition: gclib.cs:1327
gclib.GDataRecord1806.axis_f_motor_position
SL axis_f_motor_position
F axis motor position.
Definition: gclib.cs:1432
gclib.GDataRecord1806.output_bank_2
UB output_bank_2
general output bank 2 (outputs 17-24).
Definition: gclib.cs:1314
gclib.GDataRecord1806.axis_c_motor_position
SL axis_c_motor_position
C axis motor position.
Definition: gclib.cs:1390
gclib.GDataRecord1806.axis_c_position_error
SL axis_c_position_error
C axis position error.
Definition: gclib.cs:1391
gclib.GDataRecord1806.axis_b_torque
SL axis_b_torque
B axis torque.
Definition: gclib.cs:1380
gclib.GDataRecord1806.contour_buffer_available
UW contour_buffer_available
Buffer space remaining, Contour Mode.
Definition: gclib.cs:1346
gclib.GDataRecord1806.axis_b_stop_code
UB axis_b_stop_code
B axis stop code.
Definition: gclib.cs:1374
gclib.GDataRecord1806.axis_e_switches
UB axis_e_switches
E axis switches.
Definition: gclib.cs:1415
gclib.GDataRecord1806.reserved_0
SW reserved_0
Reserved.
Definition: gclib.cs:1323
gclib.GDataRecord1806.axis_e_reserved_0
UB axis_e_reserved_0
Reserved.
Definition: gclib.cs:1424
gclib.GDataRecord1806.axis_h_switches
UB axis_h_switches
H axis switches.
Definition: gclib.cs:1457
gclib.GDataRecord1806.sample_number
UW sample_number
sample number.
Definition: gclib.cs:1299
gclib.GDataRecord1806.axis_a_analog_in
UW axis_a_analog_in
A axis analog input.
Definition: gclib.cs:1367
gclib.GDataRecord1806.axis_a_velocity
SL axis_a_velocity
A axis velocity.
Definition: gclib.cs:1365
gclib.GDataRecord1806.reserved_17
UB reserved_17
Reserved.
Definition: gclib.cs:1333
gclib.GDataRecord1806.axis_g_reserved_0
UB axis_g_reserved_0
Reserved.
Definition: gclib.cs:1452
gclib.GDataRecord1806.axis_f_status
UW axis_f_status
F axis status.
Definition: gclib.cs:1428
gclib.GDataRecord1806.axis_g_reference_position
SL axis_g_reference_position
G axis reference position.
Definition: gclib.cs:1445
gclib.GDataRecord1806.axis_c_stop_code
UB axis_c_stop_code
C axis stop code.
Definition: gclib.cs:1388
gclib.GDataRecord1806.axis_c_torque
SL axis_c_torque
C axis torque.
Definition: gclib.cs:1394
gclib.GDataRecord1806.axis_g_torque
SL axis_g_torque
G axis torque.
Definition: gclib.cs:1450
gclib.GDataRecord1806.output_bank_7
UB output_bank_7
general output bank 7 (outputs 57-64).
Definition: gclib.cs:1319
gclib.GDataRecord1806.axis_f_velocity
SL axis_f_velocity
F axis velocity.
Definition: gclib.cs:1435
gclib.GDataRecord1806.input_bank_8
UB input_bank_8
general input bank 8 (inputs 65-72).
Definition: gclib.cs:1309
gclib.GDataRecord1806.axis_g_status
UW axis_g_status
G axis status.
Definition: gclib.cs:1442
gclib.GDataRecord1806.axis_d_status
UW axis_d_status
D axis status.
Definition: gclib.cs:1400
gclib.GDataRecord1806.input_bank_9
UB input_bank_9
general input bank 9 (inputs 73-80).
Definition: gclib.cs:1310
gclib.GDataRecord1806.reserved_2
SW reserved_2
Reserved.
Definition: gclib.cs:1324
gclib.GDataRecord1806.reserved_4
SW reserved_4
Reserved.
Definition: gclib.cs:1325
gclib.GDataRecord1806.axis_a_position_error
SL axis_a_position_error
A axis position error.
Definition: gclib.cs:1363
gclib.GDataRecord1806.axis_a_aux_position
SL axis_a_aux_position
A axis auxiliary position.
Definition: gclib.cs:1364
gclib.GDataRecord1806.axis_a_status
UW axis_a_status
A axis status.
Definition: gclib.cs:1358
gclib.GDataRecord1806.axis_e_reference_position
SL axis_e_reference_position
E axis reference position.
Definition: gclib.cs:1417
gclib.GDataRecord1806.output_bank_4
UB output_bank_4
general output bank 4 (outputs 33-40).
Definition: gclib.cs:1316
gclib.GDataRecord1806.axis_e_variable
SL axis_e_variable
E User-defined variable (ZA).
Definition: gclib.cs:1426
gclib.GDataRecord1806.axis_h_variable
SL axis_h_variable
H User-defined variable (ZA).
Definition: gclib.cs:1468
gclib.GDataRecord1806.axis_b_reserved_1
UB axis_b_reserved_1
Reserved.
Definition: gclib.cs:1383
gclib.GDataRecord1806.axis_b_variable
SL axis_b_variable
B User-defined variable (ZA).
Definition: gclib.cs:1384
gclib.GDataRecord1806.input_bank_5
UB input_bank_5
general input bank 5 (inputs 41-48).
Definition: gclib.cs:1306
gclib.GDataRecord1806.axis_b_reference_position
SL axis_b_reference_position
B axis reference position.
Definition: gclib.cs:1375
gclib.GDataRecord1806.axis_e_reserved_1
UB axis_e_reserved_1
Reserved.
Definition: gclib.cs:1425
gclib.GDataRecord1806.s_plane_buffer_available
UW s_plane_buffer_available
Buffer space remaining, S Plane.
Definition: gclib.cs:1351
gclib.GDataRecord1806.axis_h_reserved_0
UB axis_h_reserved_0
Reserved.
Definition: gclib.cs:1466
gclib.GDataRecord1806.axis_g_velocity
SL axis_g_velocity
G axis velocity.
Definition: gclib.cs:1449
gclib.GDataRecord1806.axis_f_stop_code
UB axis_f_stop_code
F axis stop code.
Definition: gclib.cs:1430
gclib.GDataRecord1806.axis_c_reference_position
SL axis_c_reference_position
C axis reference position.
Definition: gclib.cs:1389
gclib.GDataRecord1806.axis_e_analog_in
UW axis_e_analog_in
E axis analog input.
Definition: gclib.cs:1423
gclib.GDataRecord1806.axis_g_motor_position
SL axis_g_motor_position
G axis motor position.
Definition: gclib.cs:1446
gclib.GDataRecord1806.reserved_12
SW reserved_12
Reserved.
Definition: gclib.cs:1329
gclib.GDataRecord1806.axis_f_aux_position
SL axis_f_aux_position
F axis auxiliary position.
Definition: gclib.cs:1434
gclib.GDataRecord1806.output_bank_9
UB output_bank_9
general output bank 9 (outputs 73-80).
Definition: gclib.cs:1321
gclib.GDataRecord1806.t_plane_buffer_available
UW t_plane_buffer_available
Buffer space remaining, T Plane.
Definition: gclib.cs:1356
gclib.GDataRecord1806.s_distance
SL s_distance
distance traveled in coordinated move for S plane.
Definition: gclib.cs:1350
gclib.GDataRecord1806.axis_b_aux_position
SL axis_b_aux_position
B axis auxiliary position.
Definition: gclib.cs:1378
gclib.GDataRecord1806.axis_f_reserved_0
UB axis_f_reserved_0
Reserved.
Definition: gclib.cs:1438
gclib.GDataRecord1806.axis_c_analog_in
UW axis_c_analog_in
C axis analog input.
Definition: gclib.cs:1395
gclib.GDataRecord1806.axis_a_torque
SL axis_a_torque
A axis torque.
Definition: gclib.cs:1366
gclib.GDataRecord1806.input_bank_6
UB input_bank_6
general input bank 6 (inputs 49-56).
Definition: gclib.cs:1307
gclib.GDataRecord1806.axis_a_stop_code
UB axis_a_stop_code
A axis stop code.
Definition: gclib.cs:1360
gclib.GDataRecord1806.axis_h_aux_position
SL axis_h_aux_position
H axis auxiliary position.
Definition: gclib.cs:1462
gclib.GDataRecord1806.axis_a_reference_position
SL axis_a_reference_position
A axis reference position.
Definition: gclib.cs:1361
gclib.GDataRecord1806.axis_a_reserved_1
UB axis_a_reserved_1
Reserved.
Definition: gclib.cs:1369
gclib.GDataRecord1806.reserved_16
UB reserved_16
Reserved.
Definition: gclib.cs:1332
gclib.GDataRecord1806.reserved_21
UB reserved_21
Reserved.
Definition: gclib.cs:1337
gclib.GDataRecord1806.axis_g_analog_in
UW axis_g_analog_in
G axis analog input.
Definition: gclib.cs:1451
gclib.GDataRecord1806.axis_f_reserved_1
UB axis_f_reserved_1
Reserved.
Definition: gclib.cs:1439
gclib.GDataRecord1806.output_bank_8
UB output_bank_8
general output bank 8 (outputs 65-72).
Definition: gclib.cs:1320
gclib.GDataRecord1806.axis_c_reserved_0
UB axis_c_reserved_0
Reserved.
Definition: gclib.cs:1396
gclib.GDataRecord1806.t_distance
SL t_distance
distance traveled in coordinated move for T plane.
Definition: gclib.cs:1355
gclib.GDataRecord1806.axis_d_switches
UB axis_d_switches
D axis switches.
Definition: gclib.cs:1401
gclib.GDataRecord1806.axis_b_status
UW axis_b_status
B axis status.
Definition: gclib.cs:1372
gclib.GDataRecord1806.axis_d_aux_position
SL axis_d_aux_position
D axis auxiliary position.
Definition: gclib.cs:1406
gclib.GDataRecord1806.axis_d_reserved_0
UB axis_d_reserved_0
Reserved.
Definition: gclib.cs:1410
gclib.GDataRecord1806.axis_f_variable
SL axis_f_variable
F User-defined variable (ZA).
Definition: gclib.cs:1440
gclib.GDataRecord1806.axis_g_reserved_1
UB axis_g_reserved_1
Reserved.
Definition: gclib.cs:1453
gclib.GDataRecord1806.output_bank_0
UB output_bank_0
general output bank 0 (outputs 1-8).
Definition: gclib.cs:1312
gclib.GDataRecord1806.axis_f_switches
UB axis_f_switches
F axis switches.
Definition: gclib.cs:1429
gclib.GDataRecord1806.axis_b_velocity
SL axis_b_velocity
B axis velocity.
Definition: gclib.cs:1379
gclib.GDataRecord1806.axis_e_position_error
SL axis_e_position_error
E axis position error.
Definition: gclib.cs:1419
gclib.GDataRecord1806.error_code
UB error_code
error code.
Definition: gclib.cs:1341
gclib.GDataRecord1806.reserved_19
UB reserved_19
Reserved.
Definition: gclib.cs:1335
gclib.GDataRecord1806.axis_e_torque
SL axis_e_torque
E axis torque.
Definition: gclib.cs:1422
gclib.GDataRecord1806.reserved_6
SW reserved_6
Reserved.
Definition: gclib.cs:1326
gclib.GDataRecord1806.axis_e_aux_position
SL axis_e_aux_position
E axis auxiliary position.
Definition: gclib.cs:1420
gclib.GDataRecord1806.axis_d_variable
SL axis_d_variable
D User-defined variable (ZA).
Definition: gclib.cs:1412
gclib.GDataRecord1806.input_bank_7
UB input_bank_7
general input bank 7 (inputs 57-64).
Definition: gclib.cs:1308
gclib.GDataRecord1806.input_bank_4
UB input_bank_4
general input bank 4 (inputs 33-40).
Definition: gclib.cs:1305
gclib.GDataRecord1806.axis_c_velocity
SL axis_c_velocity
C axis velocity.
Definition: gclib.cs:1393
gclib.GDataRecord1806.output_bank_6
UB output_bank_6
general output bank 6 (outputs 49-56).
Definition: gclib.cs:1318
gclib.GDataRecord1806.output_bank_5
UB output_bank_5
general output bank 5 (outputs 41-48).
Definition: gclib.cs:1317
gclib.GDataRecord1806.axis_c_status
UW axis_c_status
C axis status.
Definition: gclib.cs:1386
gclib.GDataRecord1806.axis_f_torque
SL axis_f_torque
F axis torque.
Definition: gclib.cs:1436
gclib.GDataRecord1806.axis_b_motor_position
SL axis_b_motor_position
B axis motor position.
Definition: gclib.cs:1376
gclib.GDataRecord1806.axis_f_reference_position
SL axis_f_reference_position
F axis reference position.
Definition: gclib.cs:1431
gclib.GDataRecord1806.output_bank_1
UB output_bank_1
general output bank 1 (outputs 9-16).
Definition: gclib.cs:1313
gclib.GDataRecord1806.axis_d_torque
SL axis_d_torque
D axis torque.
Definition: gclib.cs:1408
gclib.GDataRecord1806.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1296
gclib.GDataRecord1806.axis_b_reserved_0
UB axis_b_reserved_0
Reserved.
Definition: gclib.cs:1382
gclib.GDataRecord1806.t_plane_move_status
UW t_plane_move_status
Coordinated move status for T plane.
Definition: gclib.cs:1354
gclib.GDataRecord1806.axis_h_velocity
SL axis_h_velocity
H axis velocity.
Definition: gclib.cs:1463
gclib.GDataRecord1806.axis_e_velocity
SL axis_e_velocity
E axis velocity.
Definition: gclib.cs:1421
gclib.GDataRecord1806.axis_d_motor_position
SL axis_d_motor_position
D axis motor position.
Definition: gclib.cs:1404
gclib.GDataRecord1806.reserved_14
SW reserved_14
Reserved.
Definition: gclib.cs:1330
gclib.GDataRecord1806.t_plane_segment_count
UW t_plane_segment_count
segment count of coordinated move for T plane.
Definition: gclib.cs:1353
gclib.GDataRecord1806.s_plane_move_status
UW s_plane_move_status
coordinated move status for S plane.
Definition: gclib.cs:1349
gclib.GDataRecord1806.axis_c_switches
UB axis_c_switches
C axis switches.
Definition: gclib.cs:1387
gclib.GDataRecord2103
Data record struct for DMC-2103 controllers.
Definition: gclib.cs:1474
gclib.GDataRecord2103.axis_e_torque
SW axis_e_torque
E axis torque.
Definition: gclib.cs:1571
gclib.GDataRecord2103.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:1480
gclib.GDataRecord2103.axis_c_aux_position
SL axis_c_aux_position
C axis auxiliary position.
Definition: gclib.cs:1547
gclib.GDataRecord2103.axis_e_status
UW axis_e_status
E axis status.
Definition: gclib.cs:1563
gclib.GDataRecord2103.input_bank_3
UB input_bank_3
general input bank 3 (inputs 25-32).
Definition: gclib.cs:1489
gclib.GDataRecord2103.input_bank_0
UB input_bank_0
general input bank 0 (inputs 1-8).
Definition: gclib.cs:1486
gclib.GDataRecord2103.axis_d_reference_position
SL axis_d_reference_position
D axis reference position.
Definition: gclib.cs:1555
gclib.GDataRecord2103.axis_b_position_error
SL axis_b_position_error
B axis position error.
Definition: gclib.cs:1535
gclib.GDataRecord2103.axis_h_position_error
SL axis_h_position_error
H axis position error.
Definition: gclib.cs:1601
gclib.GDataRecord2103.axis_f_analog_in
UW axis_f_analog_in
F axis analog input.
Definition: gclib.cs:1583
gclib.GDataRecord2103.axis_d_stop_code
UB axis_d_stop_code
D axis stop code.
Definition: gclib.cs:1554
gclib.GDataRecord2103.axis_e_motor_position
SL axis_e_motor_position
E axis motor position.
Definition: gclib.cs:1567
gclib.GDataRecord2103.axis_a_switches
UB axis_a_switches
A axis switches.
Definition: gclib.cs:1520
gclib.GDataRecord2103.output_bank_3
UB output_bank_3
general output bank 3 (outputs 25-32).
Definition: gclib.cs:1500
gclib.GDataRecord2103.axis_e_stop_code
UB axis_e_stop_code
E axis stop code.
Definition: gclib.cs:1565
gclib.GDataRecord2103.axis_h_analog_in
UW axis_h_analog_in
H axis analog input.
Definition: gclib.cs:1605
gclib.GDataRecord2103.axis_g_switches
UB axis_g_switches
G axis switches.
Definition: gclib.cs:1586
gclib.GDataRecord2103.axis_h_stop_code
UB axis_h_stop_code
H axis stop code.
Definition: gclib.cs:1598
gclib.GDataRecord2103.axis_g_position_error
SL axis_g_position_error
G axis position error.
Definition: gclib.cs:1590
gclib.GDataRecord2103.input_bank_1
UB input_bank_1
general input bank 1 (inputs 9-16).
Definition: gclib.cs:1487
gclib.GDataRecord2103.axis_d_position_error
SL axis_d_position_error
D axis position error.
Definition: gclib.cs:1557
gclib.GDataRecord2103.axis_d_velocity
SL axis_d_velocity
D axis velocity.
Definition: gclib.cs:1559
gclib.GDataRecord2103.axis_b_switches
UB axis_b_switches
B axis switches.
Definition: gclib.cs:1531
gclib.GDataRecord2103.axis_h_reference_position
SL axis_h_reference_position
H axis reference position.
Definition: gclib.cs:1599
gclib.GDataRecord2103.axis_h_status
UW axis_h_status
H axis status.
Definition: gclib.cs:1596
gclib.GDataRecord2103.axis_a_motor_position
SL axis_a_motor_position
A axis motor position.
Definition: gclib.cs:1523
gclib.GDataRecord2103.axis_f_position_error
SL axis_f_position_error
F axis position error.
Definition: gclib.cs:1579
gclib.GDataRecord2103.axis_g_stop_code
UB axis_g_stop_code
G axis stop code.
Definition: gclib.cs:1587
gclib.GDataRecord2103.input_bank_2
UB input_bank_2
general input bank 2 (inputs 17-24).
Definition: gclib.cs:1488
gclib.GDataRecord2103.axis_g_aux_position
SL axis_g_aux_position
G axis auxiliary position.
Definition: gclib.cs:1591
gclib.GDataRecord2103.axis_b_analog_in
UW axis_b_analog_in
B axis analog input.
Definition: gclib.cs:1539
gclib.GDataRecord2103.s_plane_segment_count
UW s_plane_segment_count
segment count of coordinated move for S plane.
Definition: gclib.cs:1511
gclib.GDataRecord2103.axis_d_analog_in
UW axis_d_analog_in
D axis analog input.
Definition: gclib.cs:1561
gclib.GDataRecord2103.axis_h_motor_position
SL axis_h_motor_position
H axis motor position.
Definition: gclib.cs:1600
gclib.GDataRecord2103.axis_f_motor_position
SL axis_f_motor_position
F axis motor position.
Definition: gclib.cs:1578
gclib.GDataRecord2103.output_bank_2
UB output_bank_2
general output bank 2 (outputs 17-24).
Definition: gclib.cs:1499
gclib.GDataRecord2103.axis_c_motor_position
SL axis_c_motor_position
C axis motor position.
Definition: gclib.cs:1545
gclib.GDataRecord2103.axis_c_position_error
SL axis_c_position_error
C axis position error.
Definition: gclib.cs:1546
gclib.GDataRecord2103.axis_d_torque
SW axis_d_torque
D axis torque.
Definition: gclib.cs:1560
gclib.GDataRecord2103.axis_b_stop_code
UB axis_b_stop_code
B axis stop code.
Definition: gclib.cs:1532
gclib.GDataRecord2103.axis_e_switches
UB axis_e_switches
E axis switches.
Definition: gclib.cs:1564
gclib.GDataRecord2103.axis_h_switches
UB axis_h_switches
H axis switches.
Definition: gclib.cs:1597
gclib.GDataRecord2103.sample_number
UW sample_number
sample number.
Definition: gclib.cs:1484
gclib.GDataRecord2103.axis_h_torque
SW axis_h_torque
H axis torque.
Definition: gclib.cs:1604
gclib.GDataRecord2103.axis_a_analog_in
UW axis_a_analog_in
A axis analog input.
Definition: gclib.cs:1528
gclib.GDataRecord2103.axis_a_velocity
SL axis_a_velocity
A axis velocity.
Definition: gclib.cs:1526
gclib.GDataRecord2103.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:1482
gclib.GDataRecord2103.axis_f_status
UW axis_f_status
F axis status.
Definition: gclib.cs:1574
gclib.GDataRecord2103.axis_g_reference_position
SL axis_g_reference_position
G axis reference position.
Definition: gclib.cs:1588
gclib.GDataRecord2103.axis_c_stop_code
UB axis_c_stop_code
C axis stop code.
Definition: gclib.cs:1543
gclib.GDataRecord2103.output_bank_7
UB output_bank_7
general output bank 7 (outputs 57-64).
Definition: gclib.cs:1504
gclib.GDataRecord2103.axis_g_torque
SW axis_g_torque
G axis torque.
Definition: gclib.cs:1593
gclib.GDataRecord2103.axis_f_velocity
SL axis_f_velocity
F axis velocity.
Definition: gclib.cs:1581
gclib.GDataRecord2103.input_bank_8
UB input_bank_8
general input bank 8 (inputs 65-72).
Definition: gclib.cs:1494
gclib.GDataRecord2103.axis_g_status
UW axis_g_status
G axis status.
Definition: gclib.cs:1585
gclib.GDataRecord2103.axis_d_status
UW axis_d_status
D axis status.
Definition: gclib.cs:1552
gclib.GDataRecord2103.input_bank_9
UB input_bank_9
general input bank 9 (inputs 73-80).
Definition: gclib.cs:1495
gclib.GDataRecord2103.axis_a_position_error
SL axis_a_position_error
A axis position error.
Definition: gclib.cs:1524
gclib.GDataRecord2103.axis_f_torque
SW axis_f_torque
F axis torque.
Definition: gclib.cs:1582
gclib.GDataRecord2103.axis_a_aux_position
SL axis_a_aux_position
A axis auxiliary position.
Definition: gclib.cs:1525
gclib.GDataRecord2103.axis_a_status
UW axis_a_status
A axis status.
Definition: gclib.cs:1519
gclib.GDataRecord2103.axis_e_reference_position
SL axis_e_reference_position
E axis reference position.
Definition: gclib.cs:1566
gclib.GDataRecord2103.output_bank_4
UB output_bank_4
general output bank 4 (outputs 33-40).
Definition: gclib.cs:1501
gclib.GDataRecord2103.input_bank_5
UB input_bank_5
general input bank 5 (inputs 41-48).
Definition: gclib.cs:1491
gclib.GDataRecord2103.axis_b_reference_position
SL axis_b_reference_position
B axis reference position.
Definition: gclib.cs:1533
gclib.GDataRecord2103.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:1481
gclib.GDataRecord2103.axis_g_velocity
SL axis_g_velocity
G axis velocity.
Definition: gclib.cs:1592
gclib.GDataRecord2103.axis_f_stop_code
UB axis_f_stop_code
F axis stop code.
Definition: gclib.cs:1576
gclib.GDataRecord2103.axis_a_torque
SW axis_a_torque
A axis torque.
Definition: gclib.cs:1527
gclib.GDataRecord2103.axis_c_reference_position
SL axis_c_reference_position
C axis reference position.
Definition: gclib.cs:1544
gclib.GDataRecord2103.axis_e_analog_in
UW axis_e_analog_in
E axis analog input.
Definition: gclib.cs:1572
gclib.GDataRecord2103.axis_g_motor_position
SL axis_g_motor_position
G axis motor position.
Definition: gclib.cs:1589
gclib.GDataRecord2103.axis_f_aux_position
SL axis_f_aux_position
F axis auxiliary position.
Definition: gclib.cs:1580
gclib.GDataRecord2103.output_bank_9
UB output_bank_9
general output bank 9 (outputs 73-80).
Definition: gclib.cs:1506
gclib.GDataRecord2103.s_distance
SL s_distance
distance traveled in coordinated move for S plane.
Definition: gclib.cs:1513
gclib.GDataRecord2103.axis_b_aux_position
SL axis_b_aux_position
B axis auxiliary position.
Definition: gclib.cs:1536
gclib.GDataRecord2103.axis_c_analog_in
UW axis_c_analog_in
C axis analog input.
Definition: gclib.cs:1550
gclib.GDataRecord2103.input_bank_6
UB input_bank_6
general input bank 6 (inputs 49-56).
Definition: gclib.cs:1492
gclib.GDataRecord2103.general_status
UB general_status
general status
Definition: gclib.cs:1509
gclib.GDataRecord2103.axis_a_stop_code
UB axis_a_stop_code
A axis stop code.
Definition: gclib.cs:1521
gclib.GDataRecord2103.axis_h_aux_position
SL axis_h_aux_position
H axis auxiliary position.
Definition: gclib.cs:1602
gclib.GDataRecord2103.axis_a_reference_position
SL axis_a_reference_position
A axis reference position.
Definition: gclib.cs:1522
gclib.GDataRecord2103.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:1479
gclib.GDataRecord2103.axis_g_analog_in
UW axis_g_analog_in
G axis analog input.
Definition: gclib.cs:1594
gclib.GDataRecord2103.output_bank_8
UB output_bank_8
general output bank 8 (outputs 65-72).
Definition: gclib.cs:1505
gclib.GDataRecord2103.t_distance
SL t_distance
distance traveled in coordinated move for T plane.
Definition: gclib.cs:1517
gclib.GDataRecord2103.axis_b_torque
SW axis_b_torque
B axis torque.
Definition: gclib.cs:1538
gclib.GDataRecord2103.axis_d_switches
UB axis_d_switches
D axis switches.
Definition: gclib.cs:1553
gclib.GDataRecord2103.axis_b_status
UW axis_b_status
B axis status.
Definition: gclib.cs:1530
gclib.GDataRecord2103.axis_d_aux_position
SL axis_d_aux_position
D axis auxiliary position.
Definition: gclib.cs:1558
gclib.GDataRecord2103.output_bank_0
UB output_bank_0
general output bank 0 (outputs 1-8).
Definition: gclib.cs:1497
gclib.GDataRecord2103.axis_f_switches
UB axis_f_switches
F axis switches.
Definition: gclib.cs:1575
gclib.GDataRecord2103.axis_b_velocity
SL axis_b_velocity
B axis velocity.
Definition: gclib.cs:1537
gclib.GDataRecord2103.axis_e_position_error
SL axis_e_position_error
E axis position error.
Definition: gclib.cs:1568
gclib.GDataRecord2103.error_code
UB error_code
error code.
Definition: gclib.cs:1508
gclib.GDataRecord2103.axis_e_aux_position
SL axis_e_aux_position
E axis auxiliary position.
Definition: gclib.cs:1569
gclib.GDataRecord2103.input_bank_7
UB input_bank_7
general input bank 7 (inputs 57-64).
Definition: gclib.cs:1493
gclib.GDataRecord2103.input_bank_4
UB input_bank_4
general input bank 4 (inputs 33-40).
Definition: gclib.cs:1490
gclib.GDataRecord2103.axis_c_velocity
SL axis_c_velocity
C axis velocity.
Definition: gclib.cs:1548
gclib.GDataRecord2103.output_bank_6
UB output_bank_6
general output bank 6 (outputs 49-56).
Definition: gclib.cs:1503
gclib.GDataRecord2103.output_bank_5
UB output_bank_5
general output bank 5 (outputs 41-48).
Definition: gclib.cs:1502
gclib.GDataRecord2103.axis_c_status
UW axis_c_status
C axis status.
Definition: gclib.cs:1541
gclib.GDataRecord2103.axis_b_motor_position
SL axis_b_motor_position
B axis motor position.
Definition: gclib.cs:1534
gclib.GDataRecord2103.axis_f_reference_position
SL axis_f_reference_position
F axis reference position.
Definition: gclib.cs:1577
gclib.GDataRecord2103.output_bank_1
UB output_bank_1
general output bank 1 (outputs 9-16).
Definition: gclib.cs:1498
gclib.GDataRecord2103.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1475
gclib.GDataRecord2103.axis_c_torque
SW axis_c_torque
C axis torque.
Definition: gclib.cs:1549
gclib.GDataRecord2103.t_plane_move_status
UW t_plane_move_status
Coordinated move status for T plane.
Definition: gclib.cs:1516
gclib.GDataRecord2103.axis_h_velocity
SL axis_h_velocity
H axis velocity.
Definition: gclib.cs:1603
gclib.GDataRecord2103.axis_e_velocity
SL axis_e_velocity
E axis velocity.
Definition: gclib.cs:1570
gclib.GDataRecord2103.axis_d_motor_position
SL axis_d_motor_position
D axis motor position.
Definition: gclib.cs:1556
gclib.GDataRecord2103.t_plane_segment_count
UW t_plane_segment_count
segment count of coordinated move for T plane.
Definition: gclib.cs:1515
gclib.GDataRecord2103.s_plane_move_status
UW s_plane_move_status
coordinated move status for S plane.
Definition: gclib.cs:1512
gclib.GDataRecord2103.axis_c_switches
UB axis_c_switches
C axis switches.
Definition: gclib.cs:1542
gclib.GDataRecord30000
Data record struct for DMC-30010 controllers.
Definition: gclib.cs:1709
gclib.GDataRecord30000.contour_segment_count
UL contour_segment_count
Segment Count for Contour Mode.
Definition: gclib.cs:1737
gclib.GDataRecord30000.axis_a_reserved
UB axis_a_reserved
Reserved.
Definition: gclib.cs:1756
gclib.GDataRecord30000.output_analog_2
UW output_analog_2
Analog output 2.
Definition: gclib.cs:1733
gclib.GDataRecord30000.axis_a_variable
SL axis_a_variable
A User-defined variable (ZA).
Definition: gclib.cs:1757
gclib.GDataRecord30000.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:1715
gclib.GDataRecord30000.input_bank_0
UB input_bank_0
general input bank 0 (inputs 1-8).
Definition: gclib.cs:1721
gclib.GDataRecord30000.axis_a_switches
UB axis_a_switches
A axis switches.
Definition: gclib.cs:1746
gclib.GDataRecord30000.input_analog_2
UW input_analog_2
Analog input 2. 1 is in axis data, see axis_a_analog_in.
Definition: gclib.cs:1730
gclib.GDataRecord30000.input_bank_1
UB input_bank_1
general input bank 1 (inputs 9-16).
Definition: gclib.cs:1722
gclib.GDataRecord30000.axis_a_motor_position
SL axis_a_motor_position
A axis motor position.
Definition: gclib.cs:1749
gclib.GDataRecord30000.s_plane_segment_count
UW s_plane_segment_count
segment count of coordinated move for S plane.
Definition: gclib.cs:1740
gclib.GDataRecord30000.thread_status
UB thread_status
thread status.
Definition: gclib.cs:1728
gclib.GDataRecord30000.contour_buffer_available
UW contour_buffer_available
Buffer space remaining, Contour Mode.
Definition: gclib.cs:1738
gclib.GDataRecord30000.sample_number
UW sample_number
sample number.
Definition: gclib.cs:1719
gclib.GDataRecord30000.axis_a_analog_in
UW axis_a_analog_in
A axis analog input.
Definition: gclib.cs:1754
gclib.GDataRecord30000.axis_a_velocity
SL axis_a_velocity
A axis velocity.
Definition: gclib.cs:1752
gclib.GDataRecord30000.amplifier_status
UL amplifier_status
Amplifier Status.
Definition: gclib.cs:1735
gclib.GDataRecord30000.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:1717
gclib.GDataRecord30000.axis_a_position_error
SL axis_a_position_error
A axis position error.
Definition: gclib.cs:1750
gclib.GDataRecord30000.axis_a_aux_position
SL axis_a_aux_position
A axis auxiliary position.
Definition: gclib.cs:1751
gclib.GDataRecord30000.axis_a_status
UW axis_a_status
A axis status.
Definition: gclib.cs:1745
gclib.GDataRecord30000.s_plane_buffer_available
UW s_plane_buffer_available
Buffer space remaining, S Plane.
Definition: gclib.cs:1743
gclib.GDataRecord30000.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:1716
gclib.GDataRecord30000.s_distance
SL s_distance
distance traveled in coordinated move for S plane.
Definition: gclib.cs:1742
gclib.GDataRecord30000.axis_a_torque
SL axis_a_torque
A axis torque.
Definition: gclib.cs:1753
gclib.GDataRecord30000.axis_a_stop_code
UB axis_a_stop_code
A axis stop code.
Definition: gclib.cs:1747
gclib.GDataRecord30000.axis_a_reference_position
SL axis_a_reference_position
A axis reference position.
Definition: gclib.cs:1748
gclib.GDataRecord30000.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:1714
gclib.GDataRecord30000.output_bank_0
UB output_bank_0
general output bank 0 (outputs 1-8).
Definition: gclib.cs:1724
gclib.GDataRecord30000.error_code
UB error_code
error code.
Definition: gclib.cs:1727
gclib.GDataRecord30000.output_analog_1
UW output_analog_1
Analog output 1.
Definition: gclib.cs:1732
gclib.GDataRecord30000.output_bank_1
UB output_bank_1
general output bank 1 (outputs 9-16).
Definition: gclib.cs:1725
gclib.GDataRecord30000.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1710
gclib.GDataRecord30000.axis_a_halls
UB axis_a_halls
A Hall Input Status.
Definition: gclib.cs:1755
gclib.GDataRecord30000.s_plane_move_status
UW s_plane_move_status
coordinated move status for S plane.
Definition: gclib.cs:1741
gclib.GDataRecord4000
Data record struct for DMC-4000 controllers, including 4000, 4200, 4103, and 500x0.
Definition: gclib.cs:919
gclib.GDataRecord4000.contour_segment_count
UL contour_segment_count
Segment Count for Contour Mode.
Definition: gclib.cs:974
gclib.GDataRecord4000.axis_a_reserved
UB axis_a_reserved
Reserved.
Definition: gclib.cs:998
gclib.GDataRecord4000.axis_h_reserved
UB axis_h_reserved
Reserved.
Definition: gclib.cs:1096
gclib.GDataRecord4000.axis_a_variable
SL axis_a_variable
A User-defined variable (ZA).
Definition: gclib.cs:999
gclib.GDataRecord4000.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:924
gclib.GDataRecord4000.axis_c_aux_position
SL axis_c_aux_position
C axis auxiliary position.
Definition: gclib.cs:1021
gclib.GDataRecord4000.axis_h_torque
SL axis_h_torque
H axis torque.
Definition: gclib.cs:1093
gclib.GDataRecord4000.axis_e_status
UW axis_e_status
E axis status.
Definition: gclib.cs:1043
gclib.GDataRecord4000.ethernet_status_c
UB ethernet_status_c
Ethernet Handle C Status.
Definition: gclib.cs:963
gclib.GDataRecord4000.input_bank_3
UB input_bank_3
general input bank 3 (inputs 25-32).
Definition: gclib.cs:933
gclib.GDataRecord4000.input_bank_0
UB input_bank_0
general input bank 0 (inputs 1-8).
Definition: gclib.cs:930
gclib.GDataRecord4000.axis_d_reference_position
SL axis_d_reference_position
D axis reference position.
Definition: gclib.cs:1032
gclib.GDataRecord4000.axis_b_position_error
SL axis_b_position_error
B axis position error.
Definition: gclib.cs:1006
gclib.GDataRecord4000.axis_h_position_error
SL axis_h_position_error
H axis position error.
Definition: gclib.cs:1090
gclib.GDataRecord4000.axis_g_variable
SL axis_g_variable
G User-defined variable (ZA).
Definition: gclib.cs:1083
gclib.GDataRecord4000.axis_f_analog_in
UW axis_f_analog_in
F axis analog input.
Definition: gclib.cs:1066
gclib.GDataRecord4000.axis_c_variable
SL axis_c_variable
C User-defined variable (ZA).
Definition: gclib.cs:1027
gclib.GDataRecord4000.axis_d_stop_code
UB axis_d_stop_code
D axis stop code.
Definition: gclib.cs:1031
gclib.GDataRecord4000.axis_e_motor_position
SL axis_e_motor_position
E axis motor position.
Definition: gclib.cs:1047
gclib.GDataRecord4000.axis_a_switches
UB axis_a_switches
A axis switches.
Definition: gclib.cs:988
gclib.GDataRecord4000.axis_d_reserved
UB axis_d_reserved
Reserved.
Definition: gclib.cs:1040
gclib.GDataRecord4000.output_bank_3
UB output_bank_3
general output bank 3 (outputs 25-32).
Definition: gclib.cs:944
gclib.GDataRecord4000.axis_e_stop_code
UB axis_e_stop_code
E axis stop code.
Definition: gclib.cs:1045
gclib.GDataRecord4000.axis_h_analog_in
UW axis_h_analog_in
H axis analog input.
Definition: gclib.cs:1094
gclib.GDataRecord4000.axis_g_switches
UB axis_g_switches
G axis switches.
Definition: gclib.cs:1072
gclib.GDataRecord4000.axis_h_stop_code
UB axis_h_stop_code
H axis stop code.
Definition: gclib.cs:1087
gclib.GDataRecord4000.axis_g_position_error
SL axis_g_position_error
G axis position error.
Definition: gclib.cs:1076
gclib.GDataRecord4000.input_bank_1
UB input_bank_1
general input bank 1 (inputs 9-16).
Definition: gclib.cs:931
gclib.GDataRecord4000.axis_d_position_error
SL axis_d_position_error
D axis position error.
Definition: gclib.cs:1034
gclib.GDataRecord4000.reserved_10
SW reserved_10
Reserved.
Definition: gclib.cs:957
gclib.GDataRecord4000.axis_d_velocity
SL axis_d_velocity
D axis velocity.
Definition: gclib.cs:1036
gclib.GDataRecord4000.axis_b_switches
UB axis_b_switches
B axis switches.
Definition: gclib.cs:1002
gclib.GDataRecord4000.axis_h_reference_position
SL axis_h_reference_position
H axis reference position.
Definition: gclib.cs:1088
gclib.GDataRecord4000.axis_h_status
UW axis_h_status
H axis status.
Definition: gclib.cs:1085
gclib.GDataRecord4000.axis_a_motor_position
SL axis_a_motor_position
A axis motor position.
Definition: gclib.cs:991
gclib.GDataRecord4000.axis_f_position_error
SL axis_f_position_error
F axis position error.
Definition: gclib.cs:1062
gclib.GDataRecord4000.axis_g_stop_code
UB axis_g_stop_code
G axis stop code.
Definition: gclib.cs:1073
gclib.GDataRecord4000.axis_f_reserved
UB axis_f_reserved
Reserved.
Definition: gclib.cs:1068
gclib.GDataRecord4000.ethernet_status_g
UB ethernet_status_g
Ethernet Handle G Status.
Definition: gclib.cs:967
gclib.GDataRecord4000.input_bank_2
UB input_bank_2
general input bank 2 (inputs 17-24).
Definition: gclib.cs:932
gclib.GDataRecord4000.axis_g_aux_position
SL axis_g_aux_position
G axis auxiliary position.
Definition: gclib.cs:1077
gclib.GDataRecord4000.axis_b_analog_in
UW axis_b_analog_in
B axis analog input.
Definition: gclib.cs:1010
gclib.GDataRecord4000.s_plane_segment_count
UW s_plane_segment_count
segment count of coordinated move for S plane.
Definition: gclib.cs:977
gclib.GDataRecord4000.thread_status
UB thread_status
thread status
Definition: gclib.cs:971
gclib.GDataRecord4000.axis_d_analog_in
UW axis_d_analog_in
D axis analog input.
Definition: gclib.cs:1038
gclib.GDataRecord4000.axis_h_motor_position
SL axis_h_motor_position
H axis motor position.
Definition: gclib.cs:1089
gclib.GDataRecord4000.reserved_8
SW reserved_8
Reserved.
Definition: gclib.cs:956
gclib.GDataRecord4000.axis_f_motor_position
SL axis_f_motor_position
F axis motor position.
Definition: gclib.cs:1061
gclib.GDataRecord4000.output_bank_2
UB output_bank_2
general output bank 2 (outputs 17-24).
Definition: gclib.cs:943
gclib.GDataRecord4000.axis_c_motor_position
SL axis_c_motor_position
C axis motor position.
Definition: gclib.cs:1019
gclib.GDataRecord4000.axis_c_position_error
SL axis_c_position_error
C axis position error.
Definition: gclib.cs:1020
gclib.GDataRecord4000.axis_b_torque
SL axis_b_torque
B axis torque.
Definition: gclib.cs:1009
gclib.GDataRecord4000.contour_buffer_available
UW contour_buffer_available
Buffer space remaining, Contour Mode.
Definition: gclib.cs:975
gclib.GDataRecord4000.axis_b_stop_code
UB axis_b_stop_code
B axis stop code.
Definition: gclib.cs:1003
gclib.GDataRecord4000.axis_e_switches
UB axis_e_switches
E axis switches.
Definition: gclib.cs:1044
gclib.GDataRecord4000.reserved_0
SW reserved_0
Reserved.
Definition: gclib.cs:952
gclib.GDataRecord4000.axis_h_switches
UB axis_h_switches
H axis switches.
Definition: gclib.cs:1086
gclib.GDataRecord4000.sample_number
UW sample_number
sample number.
Definition: gclib.cs:928
gclib.GDataRecord4000.axis_a_analog_in
UW axis_a_analog_in
A axis analog input.
Definition: gclib.cs:996
gclib.GDataRecord4000.axis_a_velocity
SL axis_a_velocity
A axis velocity.
Definition: gclib.cs:994
gclib.GDataRecord4000.amplifier_status
UL amplifier_status
Amplifier Status.
Definition: gclib.cs:972
gclib.GDataRecord4000.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:926
gclib.GDataRecord4000.axis_f_status
UW axis_f_status
F axis status.
Definition: gclib.cs:1057
gclib.GDataRecord4000.axis_g_reference_position
SL axis_g_reference_position
G axis reference position.
Definition: gclib.cs:1074
gclib.GDataRecord4000.axis_c_stop_code
UB axis_c_stop_code
C axis stop code.
Definition: gclib.cs:1017
gclib.GDataRecord4000.axis_c_torque
SL axis_c_torque
C axis torque.
Definition: gclib.cs:1023
gclib.GDataRecord4000.axis_g_torque
SL axis_g_torque
G axis torque.
Definition: gclib.cs:1079
gclib.GDataRecord4000.output_bank_7
UB output_bank_7
general output bank 7 (outputs 57-64).
Definition: gclib.cs:948
gclib.GDataRecord4000.axis_f_velocity
SL axis_f_velocity
F axis velocity.
Definition: gclib.cs:1064
gclib.GDataRecord4000.input_bank_8
UB input_bank_8
general input bank 8 (inputs 65-72).
Definition: gclib.cs:938
gclib.GDataRecord4000.axis_g_status
UW axis_g_status
G axis status.
Definition: gclib.cs:1071
gclib.GDataRecord4000.axis_d_status
UW axis_d_status
D axis status.
Definition: gclib.cs:1029
gclib.GDataRecord4000.input_bank_9
UB input_bank_9
general input bank 9 (inputs 73-80).
Definition: gclib.cs:939
gclib.GDataRecord4000.reserved_2
SW reserved_2
Reserved.
Definition: gclib.cs:953
gclib.GDataRecord4000.reserved_4
SW reserved_4
Reserved.
Definition: gclib.cs:954
gclib.GDataRecord4000.axis_a_position_error
SL axis_a_position_error
A axis position error.
Definition: gclib.cs:992
gclib.GDataRecord4000.axis_a_aux_position
SL axis_a_aux_position
A axis auxiliary position.
Definition: gclib.cs:993
gclib.GDataRecord4000.axis_a_status
UW axis_a_status
A axis status.
Definition: gclib.cs:987
gclib.GDataRecord4000.axis_e_reference_position
SL axis_e_reference_position
E axis reference position.
Definition: gclib.cs:1046
gclib.GDataRecord4000.output_bank_4
UB output_bank_4
general output bank 4 (outputs 33-40).
Definition: gclib.cs:945
gclib.GDataRecord4000.axis_e_variable
SL axis_e_variable
E User-defined variable (ZA).
Definition: gclib.cs:1055
gclib.GDataRecord4000.axis_h_variable
SL axis_h_variable
H User-defined variable (ZA).
Definition: gclib.cs:1097
gclib.GDataRecord4000.axis_b_variable
SL axis_b_variable
B User-defined variable (ZA).
Definition: gclib.cs:1013
gclib.GDataRecord4000.input_bank_5
UB input_bank_5
general input bank 5 (inputs 41-48).
Definition: gclib.cs:935
gclib.GDataRecord4000.axis_g_reserved
UB axis_g_reserved
Reserved.
Definition: gclib.cs:1082
gclib.GDataRecord4000.axis_b_reference_position
SL axis_b_reference_position
B axis reference position.
Definition: gclib.cs:1004
gclib.GDataRecord4000.axis_f_halls
UB axis_f_halls
F Hall Input Status.
Definition: gclib.cs:1067
gclib.GDataRecord4000.s_plane_buffer_available
UW s_plane_buffer_available
Buffer space remaining, S Plane.
Definition: gclib.cs:980
gclib.GDataRecord4000.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:925
gclib.GDataRecord4000.axis_g_velocity
SL axis_g_velocity
G axis velocity.
Definition: gclib.cs:1078
gclib.GDataRecord4000.axis_f_stop_code
UB axis_f_stop_code
F axis stop code.
Definition: gclib.cs:1059
gclib.GDataRecord4000.axis_c_reference_position
SL axis_c_reference_position
C axis reference position.
Definition: gclib.cs:1018
gclib.GDataRecord4000.axis_e_analog_in
UW axis_e_analog_in
E axis analog input.
Definition: gclib.cs:1052
gclib.GDataRecord4000.axis_g_motor_position
SL axis_g_motor_position
G axis motor position.
Definition: gclib.cs:1075
gclib.GDataRecord4000.reserved_12
SW reserved_12
Reserved.
Definition: gclib.cs:958
gclib.GDataRecord4000.axis_f_aux_position
SL axis_f_aux_position
F axis auxiliary position.
Definition: gclib.cs:1063
gclib.GDataRecord4000.output_bank_9
UB output_bank_9
general output bank 9 (outputs 73-80).
Definition: gclib.cs:950
gclib.GDataRecord4000.t_plane_buffer_available
UW t_plane_buffer_available
Buffer space remaining, T Plane.
Definition: gclib.cs:985
gclib.GDataRecord4000.axis_b_reserved
UB axis_b_reserved
Reserved.
Definition: gclib.cs:1012
gclib.GDataRecord4000.s_distance
SL s_distance
distance traveled in coordinated move for S plane.
Definition: gclib.cs:979
gclib.GDataRecord4000.axis_b_aux_position
SL axis_b_aux_position
B axis auxiliary position.
Definition: gclib.cs:1007
gclib.GDataRecord4000.axis_g_halls
UB axis_g_halls
G Hall Input Status.
Definition: gclib.cs:1081
gclib.GDataRecord4000.axis_c_analog_in
UW axis_c_analog_in
C axis analog input.
Definition: gclib.cs:1024
gclib.GDataRecord4000.axis_a_torque
SL axis_a_torque
A axis torque.
Definition: gclib.cs:995
gclib.GDataRecord4000.input_bank_6
UB input_bank_6
general input bank 6 (inputs 49-56).
Definition: gclib.cs:936
gclib.GDataRecord4000.axis_a_stop_code
UB axis_a_stop_code
A axis stop code.
Definition: gclib.cs:989
gclib.GDataRecord4000.axis_h_aux_position
SL axis_h_aux_position
H axis auxiliary position.
Definition: gclib.cs:1091
gclib.GDataRecord4000.axis_a_reference_position
SL axis_a_reference_position
A axis reference position.
Definition: gclib.cs:990
gclib.GDataRecord4000.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:923
gclib.GDataRecord4000.axis_c_halls
UB axis_c_halls
C Hall Input Status.
Definition: gclib.cs:1025
gclib.GDataRecord4000.axis_g_analog_in
UW axis_g_analog_in
G axis analog input.
Definition: gclib.cs:1080
gclib.GDataRecord4000.output_bank_8
UB output_bank_8
general output bank 8 (outputs 65-72).
Definition: gclib.cs:949
gclib.GDataRecord4000.t_distance
SL t_distance
distance traveled in coordinated move for T plane.
Definition: gclib.cs:984
gclib.GDataRecord4000.axis_d_switches
UB axis_d_switches
D axis switches.
Definition: gclib.cs:1030
gclib.GDataRecord4000.axis_b_status
UW axis_b_status
B axis status.
Definition: gclib.cs:1001
gclib.GDataRecord4000.axis_d_aux_position
SL axis_d_aux_position
D axis auxiliary position.
Definition: gclib.cs:1035
gclib.GDataRecord4000.axis_c_reserved
UB axis_c_reserved
Reserved.
Definition: gclib.cs:1026
gclib.GDataRecord4000.axis_f_variable
SL axis_f_variable
F User-defined variable (ZA).
Definition: gclib.cs:1069
gclib.GDataRecord4000.axis_e_halls
UB axis_e_halls
E Hall Input Status.
Definition: gclib.cs:1053
gclib.GDataRecord4000.ethernet_status_e
UB ethernet_status_e
Ethernet Handle E Status.
Definition: gclib.cs:965
gclib.GDataRecord4000.output_bank_0
UB output_bank_0
general output bank 0 (outputs 1-8).
Definition: gclib.cs:941
gclib.GDataRecord4000.axis_f_switches
UB axis_f_switches
F axis switches.
Definition: gclib.cs:1058
gclib.GDataRecord4000.axis_b_velocity
SL axis_b_velocity
B axis velocity.
Definition: gclib.cs:1008
gclib.GDataRecord4000.axis_e_position_error
SL axis_e_position_error
E axis position error.
Definition: gclib.cs:1048
gclib.GDataRecord4000.error_code
UB error_code
error code.
Definition: gclib.cs:970
gclib.GDataRecord4000.ethernet_status_f
UB ethernet_status_f
Ethernet Handle F Status.
Definition: gclib.cs:966
gclib.GDataRecord4000.axis_e_torque
SL axis_e_torque
E axis torque.
Definition: gclib.cs:1051
gclib.GDataRecord4000.axis_b_halls
UB axis_b_halls
B Hall Input Status.
Definition: gclib.cs:1011
gclib.GDataRecord4000.reserved_6
SW reserved_6
Reserved.
Definition: gclib.cs:955
gclib.GDataRecord4000.axis_d_halls
UB axis_d_halls
D Hall Input Status.
Definition: gclib.cs:1039
gclib.GDataRecord4000.axis_e_aux_position
SL axis_e_aux_position
E axis auxiliary position.
Definition: gclib.cs:1049
gclib.GDataRecord4000.ethernet_status_h
UB ethernet_status_h
Ethernet Handle H Status.
Definition: gclib.cs:968
gclib.GDataRecord4000.axis_d_variable
SL axis_d_variable
D User-defined variable (ZA).
Definition: gclib.cs:1041
gclib.GDataRecord4000.input_bank_7
UB input_bank_7
general input bank 7 (inputs 57-64).
Definition: gclib.cs:937
gclib.GDataRecord4000.input_bank_4
UB input_bank_4
general input bank 4 (inputs 33-40).
Definition: gclib.cs:934
gclib.GDataRecord4000.axis_c_velocity
SL axis_c_velocity
C axis velocity.
Definition: gclib.cs:1022
gclib.GDataRecord4000.output_bank_6
UB output_bank_6
general output bank 6 (outputs 49-56).
Definition: gclib.cs:947
gclib.GDataRecord4000.output_bank_5
UB output_bank_5
general output bank 5 (outputs 41-48).
Definition: gclib.cs:946
gclib.GDataRecord4000.axis_c_status
UW axis_c_status
C axis status.
Definition: gclib.cs:1015
gclib.GDataRecord4000.axis_f_torque
SL axis_f_torque
F axis torque.
Definition: gclib.cs:1065
gclib.GDataRecord4000.axis_b_motor_position
SL axis_b_motor_position
B axis motor position.
Definition: gclib.cs:1005
gclib.GDataRecord4000.axis_f_reference_position
SL axis_f_reference_position
F axis reference position.
Definition: gclib.cs:1060
gclib.GDataRecord4000.output_bank_1
UB output_bank_1
general output bank 1 (outputs 9-16).
Definition: gclib.cs:942
gclib.GDataRecord4000.axis_d_torque
SL axis_d_torque
D axis torque.
Definition: gclib.cs:1037
gclib.GDataRecord4000.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:920
gclib.GDataRecord4000.ethernet_status_b
UB ethernet_status_b
Ethernet Handle B Status.
Definition: gclib.cs:962
gclib.GDataRecord4000.t_plane_move_status
UW t_plane_move_status
Coordinated move status for T plane.
Definition: gclib.cs:983
gclib.GDataRecord4000.axis_a_halls
UB axis_a_halls
A Hall Input Status.
Definition: gclib.cs:997
gclib.GDataRecord4000.axis_h_velocity
SL axis_h_velocity
H axis velocity.
Definition: gclib.cs:1092
gclib.GDataRecord4000.axis_h_halls
UB axis_h_halls
H Hall Input Status.
Definition: gclib.cs:1095
gclib.GDataRecord4000.axis_e_velocity
SL axis_e_velocity
E axis velocity.
Definition: gclib.cs:1050
gclib.GDataRecord4000.axis_d_motor_position
SL axis_d_motor_position
D axis motor position.
Definition: gclib.cs:1033
gclib.GDataRecord4000.reserved_14
SW reserved_14
Reserved.
Definition: gclib.cs:959
gclib.GDataRecord4000.t_plane_segment_count
UW t_plane_segment_count
segment count of coordinated move for T plane.
Definition: gclib.cs:982
gclib.GDataRecord4000.axis_e_reserved
UB axis_e_reserved
Reserved.
Definition: gclib.cs:1054
gclib.GDataRecord4000.s_plane_move_status
UW s_plane_move_status
coordinated move status for S plane.
Definition: gclib.cs:978
gclib.GDataRecord4000.ethernet_status_a
UB ethernet_status_a
Ethernet Handle A Status.
Definition: gclib.cs:961
gclib.GDataRecord4000.ethernet_status_d
UB ethernet_status_d
Ethernet Handle D Status.
Definition: gclib.cs:964
gclib.GDataRecord4000.axis_c_switches
UB axis_c_switches
C axis switches.
Definition: gclib.cs:1016
gclib.GDataRecord47000_ENC
Data record struct for RIO-471xx and RIO-472xx PLCs. Includes encoder fields.
Definition: gclib.cs:1763
gclib.GDataRecord47000_ENC.output_analog_2
UW output_analog_2
Analog output 2.
Definition: gclib.cs:1779
gclib.GDataRecord47000_ENC.input_analog_5
UW input_analog_5
Analog input 5.
Definition: gclib.cs:1791
gclib.GDataRecord47000_ENC.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:1769
gclib.GDataRecord47000_ENC.output_analog_4
UW output_analog_4
Analog output 4.
Definition: gclib.cs:1781
gclib.GDataRecord47000_ENC.output_analog_7
UW output_analog_7
Analog output 7.
Definition: gclib.cs:1784
gclib.GDataRecord47000_ENC.input_analog_2
UW input_analog_2
Analog input 2.
Definition: gclib.cs:1788
gclib.GDataRecord47000_ENC.encoder_2
SL encoder_2
Encoder channel 2. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1805
gclib.GDataRecord47000_ENC.output_analog_0
UW output_analog_0
Analog output 0.
Definition: gclib.cs:1777
gclib.GDataRecord47000_ENC.input_bank_0
UW input_bank_0
Digital inputs 0-15;.
Definition: gclib.cs:1797
gclib.GDataRecord47000_ENC.output_bank_0
UW output_bank_0
Digital outputs 0-15;.
Definition: gclib.cs:1795
gclib.GDataRecord47000_ENC.input_analog_7
UW input_analog_7
Analog input 7.
Definition: gclib.cs:1793
gclib.GDataRecord47000_ENC.encoder_1
SL encoder_1
Encoder channel 1. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1804
gclib.GDataRecord47000_ENC.sample_number
UW sample_number
Sample number.
Definition: gclib.cs:1773
gclib.GDataRecord47000_ENC.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:1771
gclib.GDataRecord47000_ENC.input_analog_4
UW input_analog_4
Analog input 4.
Definition: gclib.cs:1790
gclib.GDataRecord47000_ENC.output_analog_6
UW output_analog_6
Analog output 6.
Definition: gclib.cs:1783
gclib.GDataRecord47000_ENC.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:1770
gclib.GDataRecord47000_ENC.general_status
UB general_status
General status.
Definition: gclib.cs:1775
gclib.GDataRecord47000_ENC.zd_variable
SL zd_variable
ZD User-defined variable (see ZD).
Definition: gclib.cs:1801
gclib.GDataRecord47000_ENC.input_analog_6
UW input_analog_6
Analog input 6.
Definition: gclib.cs:1792
gclib.GDataRecord47000_ENC.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:1768
gclib.GDataRecord47000_ENC.input_analog_3
UW input_analog_3
Analog input 3.
Definition: gclib.cs:1789
gclib.GDataRecord47000_ENC.input_analog_1
UW input_analog_1
Analog input 1.
Definition: gclib.cs:1787
gclib.GDataRecord47000_ENC.error_code
UB error_code
Error code.
Definition: gclib.cs:1774
gclib.GDataRecord47000_ENC.encoder_3
SL encoder_3
Encoder channel 3. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1806
gclib.GDataRecord47000_ENC.output_analog_1
UW output_analog_1
Analog output 1.
Definition: gclib.cs:1778
gclib.GDataRecord47000_ENC.output_analog_3
UW output_analog_3
Analog output 3.
Definition: gclib.cs:1780
gclib.GDataRecord47000_ENC.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1764
gclib.GDataRecord47000_ENC.encoder_0
SL encoder_0
Encoder channel 0. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1803
gclib.GDataRecord47000_ENC.output_analog_5
UW output_analog_5
Analog output 5.
Definition: gclib.cs:1782
gclib.GDataRecord47000_ENC.input_analog_0
UW input_analog_0
Analog input 0.
Definition: gclib.cs:1786
gclib.GDataRecord47000_ENC.zc_variable
SL zc_variable
ZC User-defined variable (see ZC).
Definition: gclib.cs:1800
gclib.GDataRecord47000_ENC.pulse_count_0
UL pulse_count_0
Pulse counter (see PC).
Definition: gclib.cs:1799
gclib.GDataRecord47162
Data record struct for RIO-47162.
Definition: gclib.cs:1918
gclib.GDataRecord47162.output_analog_2
UW output_analog_2
Analog output 2.
Definition: gclib.cs:1933
gclib.GDataRecord47162.input_analog_5
UW input_analog_5
Analog input 5.
Definition: gclib.cs:1945
gclib.GDataRecord47162.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:1923
gclib.GDataRecord47162.output_analog_4
UW output_analog_4
Analog output 4.
Definition: gclib.cs:1935
gclib.GDataRecord47162.output_byte_2
UB output_byte_2
Digital outputs 16-23.
Definition: gclib.cs:1951
gclib.GDataRecord47162.output_analog_7
UW output_analog_7
Analog output 7.
Definition: gclib.cs:1938
gclib.GDataRecord47162.input_byte_3
UB input_byte_3
Digital inputs 24-31.
Definition: gclib.cs:1956
gclib.GDataRecord47162.input_analog_2
UW input_analog_2
Analog input 2.
Definition: gclib.cs:1942
gclib.GDataRecord47162.encoder_2
SL encoder_2
Encoder channel 2. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1965
gclib.GDataRecord47162.output_analog_0
UW output_analog_0
Analog output 0.
Definition: gclib.cs:1931
gclib.GDataRecord47162.input_byte_1
UB input_byte_1
Digital inputs 8-15.
Definition: gclib.cs:1954
gclib.GDataRecord47162.input_analog_7
UW input_analog_7
Analog input 7.
Definition: gclib.cs:1947
gclib.GDataRecord47162.encoder_1
SL encoder_1
Encoder channel 1. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1964
gclib.GDataRecord47162.sample_number
UW sample_number
Sample number.
Definition: gclib.cs:1927
gclib.GDataRecord47162.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:1925
gclib.GDataRecord47162.input_analog_4
UW input_analog_4
Analog input 4.
Definition: gclib.cs:1944
gclib.GDataRecord47162.output_analog_6
UW output_analog_6
Analog output 6.
Definition: gclib.cs:1937
gclib.GDataRecord47162.input_byte_0
UB input_byte_0
Digital inputs 0-7.
Definition: gclib.cs:1953
gclib.GDataRecord47162.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:1924
gclib.GDataRecord47162.input_byte_4
UB input_byte_4
Digital inputs 32-39.
Definition: gclib.cs:1957
gclib.GDataRecord47162.output_byte_0
UB output_byte_0
Digital outputs 0-7.
Definition: gclib.cs:1949
gclib.GDataRecord47162.general_status
UB general_status
General status.
Definition: gclib.cs:1929
gclib.GDataRecord47162.zd_variable
SL zd_variable
ZD User-defined variable (see ZD).
Definition: gclib.cs:1961
gclib.GDataRecord47162.input_analog_6
UW input_analog_6
Analog input 6.
Definition: gclib.cs:1946
gclib.GDataRecord47162.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:1922
gclib.GDataRecord47162.input_analog_3
UW input_analog_3
Analog input 3.
Definition: gclib.cs:1943
gclib.GDataRecord47162.input_analog_1
UW input_analog_1
Analog input 1.
Definition: gclib.cs:1941
gclib.GDataRecord47162.output_byte_1
UB output_byte_1
Digital outputs 8-15.
Definition: gclib.cs:1950
gclib.GDataRecord47162.error_code
UB error_code
Error code.
Definition: gclib.cs:1928
gclib.GDataRecord47162.input_byte_2
UB input_byte_2
Digital inputs 16-23.
Definition: gclib.cs:1955
gclib.GDataRecord47162.encoder_3
SL encoder_3
Encoder channel 3. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1966
gclib.GDataRecord47162.output_analog_1
UW output_analog_1
Analog output 1.
Definition: gclib.cs:1932
gclib.GDataRecord47162.output_analog_3
UW output_analog_3
Analog output 3.
Definition: gclib.cs:1934
gclib.GDataRecord47162.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1919
gclib.GDataRecord47162.encoder_0
SL encoder_0
Encoder channel 0. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1963
gclib.GDataRecord47162.output_analog_5
UW output_analog_5
Analog output 5.
Definition: gclib.cs:1936
gclib.GDataRecord47162.input_analog_0
UW input_analog_0
Analog input 0.
Definition: gclib.cs:1940
gclib.GDataRecord47162.zc_variable
SL zc_variable
ZC User-defined variable (see ZC).
Definition: gclib.cs:1960
gclib.GDataRecord47162.pulse_count_0
UL pulse_count_0
Pulse counter (see PC).
Definition: gclib.cs:1959
gclib.GDataRecord47300_24EX
Data record struct for RIO-47300 with 24EX I/O daughter board.
Definition: gclib.cs:1865
gclib.GDataRecord47300_24EX.output_analog_2
UW output_analog_2
Analog output 2.
Definition: gclib.cs:1881
gclib.GDataRecord47300_24EX.input_analog_5
UW input_analog_5
Analog input 5.
Definition: gclib.cs:1893
gclib.GDataRecord47300_24EX.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:1871
gclib.GDataRecord47300_24EX.output_analog_4
UW output_analog_4
Analog output 4.
Definition: gclib.cs:1883
gclib.GDataRecord47300_24EX.input_bank_2
UW input_bank_2
Digital inputs 24-39. Data only valid for parts with 24EXIN.
Definition: gclib.cs:1910
gclib.GDataRecord47300_24EX.output_analog_7
UW output_analog_7
Analog output 7.
Definition: gclib.cs:1886
gclib.GDataRecord47300_24EX.input_analog_2
UW input_analog_2
Analog input 2.
Definition: gclib.cs:1890
gclib.GDataRecord47300_24EX.output_analog_0
UW output_analog_0
Analog output 0.
Definition: gclib.cs:1879
gclib.GDataRecord47300_24EX.input_bank_0
UW input_bank_0
Digital inputs 0-15.
Definition: gclib.cs:1900
gclib.GDataRecord47300_24EX.output_bank_0
UW output_bank_0
Digital outputs 0-15.
Definition: gclib.cs:1897
gclib.GDataRecord47300_24EX.input_analog_7
UW input_analog_7
Analog input 7.
Definition: gclib.cs:1895
gclib.GDataRecord47300_24EX.sample_number
UW sample_number
Sample number.
Definition: gclib.cs:1875
gclib.GDataRecord47300_24EX.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:1873
gclib.GDataRecord47300_24EX.input_analog_4
UW input_analog_4
Analog input 4.
Definition: gclib.cs:1892
gclib.GDataRecord47300_24EX.output_analog_6
UW output_analog_6
Analog output 6.
Definition: gclib.cs:1885
gclib.GDataRecord47300_24EX.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:1872
gclib.GDataRecord47300_24EX.general_status
UB general_status
General status.
Definition: gclib.cs:1877
gclib.GDataRecord47300_24EX.zd_variable
SL zd_variable
ZD User-defined variable (see ZD).
Definition: gclib.cs:1905
gclib.GDataRecord47300_24EX.input_analog_6
UW input_analog_6
Analog input 6.
Definition: gclib.cs:1894
gclib.GDataRecord47300_24EX.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:1870
gclib.GDataRecord47300_24EX.input_analog_3
UW input_analog_3
Analog input 3.
Definition: gclib.cs:1891
gclib.GDataRecord47300_24EX.input_bank_3
UW input_bank_3
Digital inputs 40-47. Data only valid for parts with 24EXIN.
Definition: gclib.cs:1911
gclib.GDataRecord47300_24EX.input_bank_1
UW input_bank_1
Digital inputs 16-23.
Definition: gclib.cs:1901
gclib.GDataRecord47300_24EX.input_analog_1
UW input_analog_1
Analog input 1.
Definition: gclib.cs:1889
gclib.GDataRecord47300_24EX.output_back_3
UW output_back_3
Digital outputs 40-47. Data only valid for parts with 24EXOUT.
Definition: gclib.cs:1908
gclib.GDataRecord47300_24EX.error_code
UB error_code
Error code.
Definition: gclib.cs:1876
gclib.GDataRecord47300_24EX.output_bank_1
UW output_bank_1
Digital outputs 16-23.
Definition: gclib.cs:1898
gclib.GDataRecord47300_24EX.output_analog_1
UW output_analog_1
Analog output 1.
Definition: gclib.cs:1880
gclib.GDataRecord47300_24EX.output_bank_2
UW output_bank_2
Digital outputs 24-39. Data only valid for parts with 24EXOUT.
Definition: gclib.cs:1907
gclib.GDataRecord47300_24EX.output_analog_3
UW output_analog_3
Analog output 3.
Definition: gclib.cs:1882
gclib.GDataRecord47300_24EX.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1866
gclib.GDataRecord47300_24EX.output_analog_5
UW output_analog_5
Analog output 5.
Definition: gclib.cs:1884
gclib.GDataRecord47300_24EX.input_analog_0
UW input_analog_0
Analog input 0.
Definition: gclib.cs:1888
gclib.GDataRecord47300_24EX.zc_variable
SL zc_variable
ZC User-defined variable (see ZC).
Definition: gclib.cs:1904
gclib.GDataRecord47300_24EX.pulse_count_0
UL pulse_count_0
Pulse counter (see PC)8.
Definition: gclib.cs:1903
gclib.GDataRecord47300_ENC
Data record struct for RIO-47300. Includes encoder fields.
Definition: gclib.cs:1813
gclib.GDataRecord47300_ENC.output_analog_2
UW output_analog_2
Analog output 2.
Definition: gclib.cs:1829
gclib.GDataRecord47300_ENC.input_analog_5
UW input_analog_5
Analog input 5.
Definition: gclib.cs:1841
gclib.GDataRecord47300_ENC.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:1819
gclib.GDataRecord47300_ENC.output_analog_4
UW output_analog_4
Analog output 4.
Definition: gclib.cs:1831
gclib.GDataRecord47300_ENC.output_analog_7
UW output_analog_7
Analog output 7.
Definition: gclib.cs:1834
gclib.GDataRecord47300_ENC.input_analog_2
UW input_analog_2
Analog input 2.
Definition: gclib.cs:1838
gclib.GDataRecord47300_ENC.encoder_2
SL encoder_2
Encoder channel 2. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1857
gclib.GDataRecord47300_ENC.output_analog_0
UW output_analog_0
Analog output 0.
Definition: gclib.cs:1827
gclib.GDataRecord47300_ENC.input_bank_0
UW input_bank_0
Digital inputs 0-15;.
Definition: gclib.cs:1848
gclib.GDataRecord47300_ENC.output_bank_0
UW output_bank_0
Digital outputs 0-15;.
Definition: gclib.cs:1845
gclib.GDataRecord47300_ENC.input_analog_7
UW input_analog_7
Analog input 7.
Definition: gclib.cs:1843
gclib.GDataRecord47300_ENC.encoder_1
SL encoder_1
Encoder channel 1. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1856
gclib.GDataRecord47300_ENC.sample_number
UW sample_number
Sample number.
Definition: gclib.cs:1823
gclib.GDataRecord47300_ENC.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:1821
gclib.GDataRecord47300_ENC.input_analog_4
UW input_analog_4
Analog input 4.
Definition: gclib.cs:1840
gclib.GDataRecord47300_ENC.output_analog_6
UW output_analog_6
Analog output 6.
Definition: gclib.cs:1833
gclib.GDataRecord47300_ENC.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:1820
gclib.GDataRecord47300_ENC.general_status
UB general_status
General status.
Definition: gclib.cs:1825
gclib.GDataRecord47300_ENC.zd_variable
SL zd_variable
ZD User-defined variable (see ZD).
Definition: gclib.cs:1853
gclib.GDataRecord47300_ENC.input_analog_6
UW input_analog_6
Analog input 6.
Definition: gclib.cs:1842
gclib.GDataRecord47300_ENC.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:1818
gclib.GDataRecord47300_ENC.input_analog_3
UW input_analog_3
Analog input 3.
Definition: gclib.cs:1839
gclib.GDataRecord47300_ENC.input_bank_1
UW input_bank_1
Digital inputs 16-23;.
Definition: gclib.cs:1849
gclib.GDataRecord47300_ENC.input_analog_1
UW input_analog_1
Analog input 1.
Definition: gclib.cs:1837
gclib.GDataRecord47300_ENC.error_code
UB error_code
Error code.
Definition: gclib.cs:1824
gclib.GDataRecord47300_ENC.encoder_3
SL encoder_3
Encoder channel 3. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1858
gclib.GDataRecord47300_ENC.output_bank_1
UW output_bank_1
Digital outputs 16-23;.
Definition: gclib.cs:1846
gclib.GDataRecord47300_ENC.output_analog_1
UW output_analog_1
Analog output 1.
Definition: gclib.cs:1828
gclib.GDataRecord47300_ENC.output_analog_3
UW output_analog_3
Analog output 3.
Definition: gclib.cs:1830
gclib.GDataRecord47300_ENC.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1814
gclib.GDataRecord47300_ENC.encoder_0
SL encoder_0
Encoder channel 0. Data only valid for parts with -BISS, -QUAD, or -SSI.
Definition: gclib.cs:1855
gclib.GDataRecord47300_ENC.output_analog_5
UW output_analog_5
Analog output 5.
Definition: gclib.cs:1832
gclib.GDataRecord47300_ENC.input_analog_0
UW input_analog_0
Analog input 0.
Definition: gclib.cs:1836
gclib.GDataRecord47300_ENC.zc_variable
SL zc_variable
ZC User-defined variable (see ZC).
Definition: gclib.cs:1852
gclib.GDataRecord47300_ENC.pulse_count_0
UL pulse_count_0
Pulse counter (see PC).
Definition: gclib.cs:1851
gclib.GDataRecord52000
Data record struct for DMC-52000 controller. Same as DMC-4000, with bank indicator added at byte 40.
Definition: gclib.cs:1103
gclib.GDataRecord52000.contour_segment_count
UL contour_segment_count
Segment Count for Contour Mode.
Definition: gclib.cs:1159
gclib.GDataRecord52000.axis_a_reserved
UB axis_a_reserved
Reserved.
Definition: gclib.cs:1183
gclib.GDataRecord52000.axis_h_reserved
UB axis_h_reserved
Reserved.
Definition: gclib.cs:1281
gclib.GDataRecord52000.axis_a_variable
SL axis_a_variable
A User-defined variable (ZA).
Definition: gclib.cs:1184
gclib.GDataRecord52000.header_1
UB header_1
2nd Byte of Header.
Definition: gclib.cs:1108
gclib.GDataRecord52000.axis_c_aux_position
SL axis_c_aux_position
C axis auxiliary position.
Definition: gclib.cs:1206
gclib.GDataRecord52000.axis_h_torque
SL axis_h_torque
H axis torque.
Definition: gclib.cs:1278
gclib.GDataRecord52000.axis_e_status
UW axis_e_status
E axis status.
Definition: gclib.cs:1228
gclib.GDataRecord52000.ethernet_status_c
UB ethernet_status_c
Ethernet Handle C Status.
Definition: gclib.cs:1148
gclib.GDataRecord52000.input_bank_3
UB input_bank_3
general input bank 3 (inputs 25-32).
Definition: gclib.cs:1117
gclib.GDataRecord52000.input_bank_0
UB input_bank_0
general input bank 0 (inputs 1-8).
Definition: gclib.cs:1114
gclib.GDataRecord52000.axis_d_reference_position
SL axis_d_reference_position
D axis reference position.
Definition: gclib.cs:1217
gclib.GDataRecord52000.axis_b_position_error
SL axis_b_position_error
B axis position error.
Definition: gclib.cs:1191
gclib.GDataRecord52000.axis_h_position_error
SL axis_h_position_error
H axis position error.
Definition: gclib.cs:1275
gclib.GDataRecord52000.axis_g_variable
SL axis_g_variable
G User-defined variable (ZA).
Definition: gclib.cs:1268
gclib.GDataRecord52000.axis_f_analog_in
UW axis_f_analog_in
F axis analog input.
Definition: gclib.cs:1251
gclib.GDataRecord52000.axis_c_variable
SL axis_c_variable
C User-defined variable (ZA).
Definition: gclib.cs:1212
gclib.GDataRecord52000.axis_d_stop_code
UB axis_d_stop_code
D axis stop code.
Definition: gclib.cs:1216
gclib.GDataRecord52000.axis_e_motor_position
SL axis_e_motor_position
E axis motor position.
Definition: gclib.cs:1232
gclib.GDataRecord52000.axis_a_switches
UB axis_a_switches
A axis switches.
Definition: gclib.cs:1173
gclib.GDataRecord52000.axis_d_reserved
UB axis_d_reserved
Reserved.
Definition: gclib.cs:1225
gclib.GDataRecord52000.output_bank_3
UB output_bank_3
general output bank 3 (outputs 25-32).
Definition: gclib.cs:1128
gclib.GDataRecord52000.axis_e_stop_code
UB axis_e_stop_code
E axis stop code.
Definition: gclib.cs:1230
gclib.GDataRecord52000.axis_h_analog_in
UW axis_h_analog_in
H axis analog input.
Definition: gclib.cs:1279
gclib.GDataRecord52000.axis_g_switches
UB axis_g_switches
G axis switches.
Definition: gclib.cs:1257
gclib.GDataRecord52000.axis_h_stop_code
UB axis_h_stop_code
H axis stop code.
Definition: gclib.cs:1272
gclib.GDataRecord52000.axis_g_position_error
SL axis_g_position_error
G axis position error.
Definition: gclib.cs:1261
gclib.GDataRecord52000.input_bank_1
UB input_bank_1
general input bank 1 (inputs 9-16).
Definition: gclib.cs:1115
gclib.GDataRecord52000.axis_d_position_error
SL axis_d_position_error
D axis position error.
Definition: gclib.cs:1219
gclib.GDataRecord52000.reserved_10
SW reserved_10
Reserved.
Definition: gclib.cs:1141
gclib.GDataRecord52000.axis_d_velocity
SL axis_d_velocity
D axis velocity.
Definition: gclib.cs:1221
gclib.GDataRecord52000.axis_b_switches
UB axis_b_switches
B axis switches.
Definition: gclib.cs:1187
gclib.GDataRecord52000.axis_h_reference_position
SL axis_h_reference_position
H axis reference position.
Definition: gclib.cs:1273
gclib.GDataRecord52000.axis_h_status
UW axis_h_status
H axis status.
Definition: gclib.cs:1270
gclib.GDataRecord52000.axis_a_motor_position
SL axis_a_motor_position
A axis motor position.
Definition: gclib.cs:1176
gclib.GDataRecord52000.axis_f_position_error
SL axis_f_position_error
F axis position error.
Definition: gclib.cs:1247
gclib.GDataRecord52000.ethercat_bank
UB ethercat_bank
EtherCAT Bank Indicator.
Definition: gclib.cs:1143
gclib.GDataRecord52000.axis_g_stop_code
UB axis_g_stop_code
G axis stop code.
Definition: gclib.cs:1258
gclib.GDataRecord52000.axis_f_reserved
UB axis_f_reserved
Reserved.
Definition: gclib.cs:1253
gclib.GDataRecord52000.ethernet_status_g
UB ethernet_status_g
Ethernet Handle G Status.
Definition: gclib.cs:1152
gclib.GDataRecord52000.input_bank_2
UB input_bank_2
general input bank 2 (inputs 17-24).
Definition: gclib.cs:1116
gclib.GDataRecord52000.axis_g_aux_position
SL axis_g_aux_position
G axis auxiliary position.
Definition: gclib.cs:1262
gclib.GDataRecord52000.axis_b_analog_in
UW axis_b_analog_in
B axis analog input.
Definition: gclib.cs:1195
gclib.GDataRecord52000.s_plane_segment_count
UW s_plane_segment_count
segment count of coordinated move for S plane.
Definition: gclib.cs:1162
gclib.GDataRecord52000.thread_status
UB thread_status
thread status
Definition: gclib.cs:1156
gclib.GDataRecord52000.axis_d_analog_in
UW axis_d_analog_in
D axis analog input.
Definition: gclib.cs:1223
gclib.GDataRecord52000.axis_h_motor_position
SL axis_h_motor_position
H axis motor position.
Definition: gclib.cs:1274
gclib.GDataRecord52000.reserved_8
SW reserved_8
Reserved.
Definition: gclib.cs:1140
gclib.GDataRecord52000.axis_f_motor_position
SL axis_f_motor_position
F axis motor position.
Definition: gclib.cs:1246
gclib.GDataRecord52000.output_bank_2
UB output_bank_2
general output bank 2 (outputs 17-24).
Definition: gclib.cs:1127
gclib.GDataRecord52000.axis_c_motor_position
SL axis_c_motor_position
C axis motor position.
Definition: gclib.cs:1204
gclib.GDataRecord52000.axis_c_position_error
SL axis_c_position_error
C axis position error.
Definition: gclib.cs:1205
gclib.GDataRecord52000.axis_b_torque
SL axis_b_torque
B axis torque.
Definition: gclib.cs:1194
gclib.GDataRecord52000.contour_buffer_available
UW contour_buffer_available
Buffer space remaining, Contour Mode.
Definition: gclib.cs:1160
gclib.GDataRecord52000.axis_b_stop_code
UB axis_b_stop_code
B axis stop code.
Definition: gclib.cs:1188
gclib.GDataRecord52000.axis_e_switches
UB axis_e_switches
E axis switches.
Definition: gclib.cs:1229
gclib.GDataRecord52000.reserved_0
SW reserved_0
Reserved.
Definition: gclib.cs:1136
gclib.GDataRecord52000.axis_h_switches
UB axis_h_switches
H axis switches.
Definition: gclib.cs:1271
gclib.GDataRecord52000.sample_number
UW sample_number
sample number.
Definition: gclib.cs:1112
gclib.GDataRecord52000.axis_a_analog_in
UW axis_a_analog_in
A axis analog input.
Definition: gclib.cs:1181
gclib.GDataRecord52000.axis_a_velocity
SL axis_a_velocity
A axis velocity.
Definition: gclib.cs:1179
gclib.GDataRecord52000.amplifier_status
UL amplifier_status
Amplifier Status.
Definition: gclib.cs:1157
gclib.GDataRecord52000.header_3
UB header_3
4th Byte of Header.
Definition: gclib.cs:1110
gclib.GDataRecord52000.axis_f_status
UW axis_f_status
F axis status.
Definition: gclib.cs:1242
gclib.GDataRecord52000.axis_g_reference_position
SL axis_g_reference_position
G axis reference position.
Definition: gclib.cs:1259
gclib.GDataRecord52000.axis_c_stop_code
UB axis_c_stop_code
C axis stop code.
Definition: gclib.cs:1202
gclib.GDataRecord52000.axis_c_torque
SL axis_c_torque
C axis torque.
Definition: gclib.cs:1208
gclib.GDataRecord52000.axis_g_torque
SL axis_g_torque
G axis torque.
Definition: gclib.cs:1264
gclib.GDataRecord52000.output_bank_7
UB output_bank_7
general output bank 7 (outputs 57-64).
Definition: gclib.cs:1132
gclib.GDataRecord52000.axis_f_velocity
SL axis_f_velocity
F axis velocity.
Definition: gclib.cs:1249
gclib.GDataRecord52000.input_bank_8
UB input_bank_8
general input bank 8 (inputs 65-72).
Definition: gclib.cs:1122
gclib.GDataRecord52000.axis_g_status
UW axis_g_status
G axis status.
Definition: gclib.cs:1256
gclib.GDataRecord52000.axis_d_status
UW axis_d_status
D axis status.
Definition: gclib.cs:1214
gclib.GDataRecord52000.input_bank_9
UB input_bank_9
general input bank 9 (inputs 73-80).
Definition: gclib.cs:1123
gclib.GDataRecord52000.reserved_2
SW reserved_2
Reserved.
Definition: gclib.cs:1137
gclib.GDataRecord52000.reserved_4
SW reserved_4
Reserved.
Definition: gclib.cs:1138
gclib.GDataRecord52000.axis_a_position_error
SL axis_a_position_error
A axis position error.
Definition: gclib.cs:1177
gclib.GDataRecord52000.axis_a_aux_position
SL axis_a_aux_position
A axis auxiliary position.
Definition: gclib.cs:1178
gclib.GDataRecord52000.axis_a_status
UW axis_a_status
A axis status.
Definition: gclib.cs:1172
gclib.GDataRecord52000.axis_e_reference_position
SL axis_e_reference_position
E axis reference position.
Definition: gclib.cs:1231
gclib.GDataRecord52000.output_bank_4
UB output_bank_4
general output bank 4 (outputs 33-40).
Definition: gclib.cs:1129
gclib.GDataRecord52000.axis_e_variable
SL axis_e_variable
E User-defined variable (ZA).
Definition: gclib.cs:1240
gclib.GDataRecord52000.axis_h_variable
SL axis_h_variable
H User-defined variable (ZA).
Definition: gclib.cs:1282
gclib.GDataRecord52000.axis_b_variable
SL axis_b_variable
B User-defined variable (ZA).
Definition: gclib.cs:1198
gclib.GDataRecord52000.input_bank_5
UB input_bank_5
general input bank 5 (inputs 41-48).
Definition: gclib.cs:1119
gclib.GDataRecord52000.axis_g_reserved
UB axis_g_reserved
Reserved.
Definition: gclib.cs:1267
gclib.GDataRecord52000.axis_b_reference_position
SL axis_b_reference_position
B axis reference position.
Definition: gclib.cs:1189
gclib.GDataRecord52000.axis_f_halls
UB axis_f_halls
F Hall Input Status.
Definition: gclib.cs:1252
gclib.GDataRecord52000.s_plane_buffer_available
UW s_plane_buffer_available
Buffer space remaining, S Plane.
Definition: gclib.cs:1165
gclib.GDataRecord52000.header_2
UB header_2
3rd Byte of Header.
Definition: gclib.cs:1109
gclib.GDataRecord52000.axis_g_velocity
SL axis_g_velocity
G axis velocity.
Definition: gclib.cs:1263
gclib.GDataRecord52000.axis_f_stop_code
UB axis_f_stop_code
F axis stop code.
Definition: gclib.cs:1244
gclib.GDataRecord52000.axis_c_reference_position
SL axis_c_reference_position
C axis reference position.
Definition: gclib.cs:1203
gclib.GDataRecord52000.axis_e_analog_in
UW axis_e_analog_in
E axis analog input.
Definition: gclib.cs:1237
gclib.GDataRecord52000.axis_g_motor_position
SL axis_g_motor_position
G axis motor position.
Definition: gclib.cs:1260
gclib.GDataRecord52000.reserved_12
SW reserved_12
Reserved.
Definition: gclib.cs:1142
gclib.GDataRecord52000.axis_f_aux_position
SL axis_f_aux_position
F axis auxiliary position.
Definition: gclib.cs:1248
gclib.GDataRecord52000.output_bank_9
UB output_bank_9
general output bank 9 (outputs 73-80).
Definition: gclib.cs:1134
gclib.GDataRecord52000.t_plane_buffer_available
UW t_plane_buffer_available
Buffer space remaining, T Plane.
Definition: gclib.cs:1170
gclib.GDataRecord52000.axis_b_reserved
UB axis_b_reserved
Reserved.
Definition: gclib.cs:1197
gclib.GDataRecord52000.s_distance
SL s_distance
distance traveled in coordinated move for S plane.
Definition: gclib.cs:1164
gclib.GDataRecord52000.axis_b_aux_position
SL axis_b_aux_position
B axis auxiliary position.
Definition: gclib.cs:1192
gclib.GDataRecord52000.axis_g_halls
UB axis_g_halls
G Hall Input Status.
Definition: gclib.cs:1266
gclib.GDataRecord52000.axis_c_analog_in
UW axis_c_analog_in
C axis analog input.
Definition: gclib.cs:1209
gclib.GDataRecord52000.axis_a_torque
SL axis_a_torque
A axis torque.
Definition: gclib.cs:1180
gclib.GDataRecord52000.input_bank_6
UB input_bank_6
general input bank 6 (inputs 49-56).
Definition: gclib.cs:1120
gclib.GDataRecord52000.axis_a_stop_code
UB axis_a_stop_code
A axis stop code.
Definition: gclib.cs:1174
gclib.GDataRecord52000.axis_h_aux_position
SL axis_h_aux_position
H axis auxiliary position.
Definition: gclib.cs:1276
gclib.GDataRecord52000.axis_a_reference_position
SL axis_a_reference_position
A axis reference position.
Definition: gclib.cs:1175
gclib.GDataRecord52000.header_0
UB header_0
1st Byte of Header.
Definition: gclib.cs:1107
gclib.GDataRecord52000.axis_c_halls
UB axis_c_halls
C Hall Input Status.
Definition: gclib.cs:1210
gclib.GDataRecord52000.axis_g_analog_in
UW axis_g_analog_in
G axis analog input.
Definition: gclib.cs:1265
gclib.GDataRecord52000.output_bank_8
UB output_bank_8
general output bank 8 (outputs 65-72).
Definition: gclib.cs:1133
gclib.GDataRecord52000.t_distance
SL t_distance
distance traveled in coordinated move for T plane.
Definition: gclib.cs:1169
gclib.GDataRecord52000.axis_d_switches
UB axis_d_switches
D axis switches.
Definition: gclib.cs:1215
gclib.GDataRecord52000.axis_b_status
UW axis_b_status
B axis status.
Definition: gclib.cs:1186
gclib.GDataRecord52000.axis_d_aux_position
SL axis_d_aux_position
D axis auxiliary position.
Definition: gclib.cs:1220
gclib.GDataRecord52000.axis_c_reserved
UB axis_c_reserved
Reserved.
Definition: gclib.cs:1211
gclib.GDataRecord52000.reserved_14
UB reserved_14
Reserved.
Definition: gclib.cs:1144
gclib.GDataRecord52000.axis_f_variable
SL axis_f_variable
F User-defined variable (ZA).
Definition: gclib.cs:1254
gclib.GDataRecord52000.axis_e_halls
UB axis_e_halls
E Hall Input Status.
Definition: gclib.cs:1238
gclib.GDataRecord52000.ethernet_status_e
UB ethernet_status_e
Ethernet Handle E Status.
Definition: gclib.cs:1150
gclib.GDataRecord52000.output_bank_0
UB output_bank_0
general output bank 0 (outputs 1-8).
Definition: gclib.cs:1125
gclib.GDataRecord52000.axis_f_switches
UB axis_f_switches
F axis switches.
Definition: gclib.cs:1243
gclib.GDataRecord52000.axis_b_velocity
SL axis_b_velocity
B axis velocity.
Definition: gclib.cs:1193
gclib.GDataRecord52000.axis_e_position_error
SL axis_e_position_error
E axis position error.
Definition: gclib.cs:1233
gclib.GDataRecord52000.error_code
UB error_code
error code.
Definition: gclib.cs:1155
gclib.GDataRecord52000.ethernet_status_f
UB ethernet_status_f
Ethernet Handle F Status.
Definition: gclib.cs:1151
gclib.GDataRecord52000.axis_e_torque
SL axis_e_torque
E axis torque.
Definition: gclib.cs:1236
gclib.GDataRecord52000.axis_b_halls
UB axis_b_halls
B Hall Input Status.
Definition: gclib.cs:1196
gclib.GDataRecord52000.reserved_6
SW reserved_6
Reserved.
Definition: gclib.cs:1139
gclib.GDataRecord52000.axis_d_halls
UB axis_d_halls
D Hall Input Status.
Definition: gclib.cs:1224
gclib.GDataRecord52000.axis_e_aux_position
SL axis_e_aux_position
E axis auxiliary position.
Definition: gclib.cs:1234
gclib.GDataRecord52000.ethernet_status_h
UB ethernet_status_h
Ethernet Handle H Status.
Definition: gclib.cs:1153
gclib.GDataRecord52000.axis_d_variable
SL axis_d_variable
D User-defined variable (ZA).
Definition: gclib.cs:1226
gclib.GDataRecord52000.input_bank_7
UB input_bank_7
general input bank 7 (inputs 57-64).
Definition: gclib.cs:1121
gclib.GDataRecord52000.input_bank_4
UB input_bank_4
general input bank 4 (inputs 33-40).
Definition: gclib.cs:1118
gclib.GDataRecord52000.axis_c_velocity
SL axis_c_velocity
C axis velocity.
Definition: gclib.cs:1207
gclib.GDataRecord52000.output_bank_6
UB output_bank_6
general output bank 6 (outputs 49-56).
Definition: gclib.cs:1131
gclib.GDataRecord52000.output_bank_5
UB output_bank_5
general output bank 5 (outputs 41-48).
Definition: gclib.cs:1130
gclib.GDataRecord52000.axis_c_status
UW axis_c_status
C axis status.
Definition: gclib.cs:1200
gclib.GDataRecord52000.axis_f_torque
SL axis_f_torque
F axis torque.
Definition: gclib.cs:1250
gclib.GDataRecord52000.axis_b_motor_position
SL axis_b_motor_position
B axis motor position.
Definition: gclib.cs:1190
gclib.GDataRecord52000.axis_f_reference_position
SL axis_f_reference_position
F axis reference position.
Definition: gclib.cs:1245
gclib.GDataRecord52000.output_bank_1
UB output_bank_1
general output bank 1 (outputs 9-16).
Definition: gclib.cs:1126
gclib.GDataRecord52000.axis_d_torque
SL axis_d_torque
D axis torque.
Definition: gclib.cs:1222
gclib.GDataRecord52000.byte_array
byte[] byte_array()
Returns the data record as a byte array and allows for access to individual bytes.
Definition: gclib.cs:1104
gclib.GDataRecord52000.ethernet_status_b
UB ethernet_status_b
Ethernet Handle B Status.
Definition: gclib.cs:1147
gclib.GDataRecord52000.t_plane_move_status
UW t_plane_move_status
Coordinated move status for T plane.
Definition: gclib.cs:1168
gclib.GDataRecord52000.axis_a_halls
UB axis_a_halls
A Hall Input Status.
Definition: gclib.cs:1182
gclib.GDataRecord52000.axis_h_velocity
SL axis_h_velocity
H axis velocity.
Definition: gclib.cs:1277
gclib.GDataRecord52000.axis_h_halls
UB axis_h_halls
H Hall Input Status.
Definition: gclib.cs:1280
gclib.GDataRecord52000.axis_e_velocity
SL axis_e_velocity
E axis velocity.
Definition: gclib.cs:1235
gclib.GDataRecord52000.axis_d_motor_position
SL axis_d_motor_position
D axis motor position.
Definition: gclib.cs:1218
gclib.GDataRecord52000.t_plane_segment_count
UW t_plane_segment_count
segment count of coordinated move for T plane.
Definition: gclib.cs:1167
gclib.GDataRecord52000.axis_e_reserved
UB axis_e_reserved
Reserved.
Definition: gclib.cs:1239
gclib.GDataRecord52000.s_plane_move_status
UW s_plane_move_status
coordinated move status for S plane.
Definition: gclib.cs:1163
gclib.GDataRecord52000.ethernet_status_a
UB ethernet_status_a
Ethernet Handle A Status.
Definition: gclib.cs:1146
gclib.GDataRecord52000.ethernet_status_d
UB ethernet_status_d
Ethernet Handle D Status.
Definition: gclib.cs:1149
gclib.GDataRecord52000.axis_c_switches
UB axis_c_switches
C axis switches.
Definition: gclib.cs:1201
GDataRecord
Data record union, containing all structs and a generic byte array accessor.
Definition: gclib_record.h:1083