예제 #1
0
        /// <summary>
        ///     使用前瞻时,把前瞻缓存区的数据压入运动缓存区
        /// </summary>
        /// <param name="nCardNum"></param>
        /// <param name="crd">坐标系号,取值范围[1,2]</param>
        /// <param name="fifo">插补缓存区号,0:FIFO1 1:FIFO2</param>
        /// <returns></returns>
        public override short CrdData(short nCardNum, short crd, short fifo = 0)
        {
            short nRtn = 0;

            nRtn |= CMc.GT_CrdData(nCardNum, crd, new IntPtr(), fifo);

            return(nRtn);
        }