차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
| 
                    platform:ethercat:100_api:20_eg:cmp_one [2020/05/12 14:56] winoars  | 
                
                    platform:ethercat:100_api:20_eg:cmp_one [2024/07/08 18:23] (현재) | 
            ||
|---|---|---|---|
| 줄 12: | 줄 12: | ||
| using ec = ComiLib.EtherCAT.SafeNativeMethods; | using ec = ComiLib.EtherCAT.SafeNativeMethods; | ||
| + | |||
| + | uint logBitAddr = 0; // 출력 채널에 대한 LogicBitAddress | ||
| + | int method = 0; // CMP 출력 조건 | ||
| + | int cntrType = 0; // CMP 위치 조건. Command / Feedback | ||
| + | int logic = 0; // CMP 출력 로직.  | ||
| + | int duration = 10; // CMP 출력 유지 시간. 단위 ms. | ||
| + | |||
| + | double cmpPosition = 0; | ||
| + | static ec.CallbackFunc callBackFunc; | ||
| + |          | ||
| private void btnCmpOneStart_Click(object sender, EventArgs e) | private void btnCmpOneStart_Click(object sender, EventArgs e) | ||
| { | { | ||