차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
faq:motion:common:13_unit_speed_unit_distance [2021/07/01 22:04]
winoars
faq:motion:common:13_unit_speed_unit_distance [2024/04/26 16:00] (현재)
rjh
줄 40: 줄 40:
 \\ \\
   * PPR((모터 1 회전당 펄스 수)) / 60   * PPR((모터 1 회전당 펄스 수)) / 60
-    * 360,000 펄스에 1회전 하는 모터의 경우, UnitDistance, UnitSpeed 값에 60,000 입력+    * 360,000 펄스에 1회전 하는 모터의 경우, UnitDistance, UnitSpeed 값에 6,000 입력
 \\ \\
 <sxh csharp> <sxh csharp>
-double unit = 60,000; // 360000 / 60000+double unit = 6,000; // 360000 / 60
 ec.ecmSxCfg_SetUnitDist(netID, axisID, unit, ref errorCode); ec.ecmSxCfg_SetUnitDist(netID, axisID, unit, ref errorCode);
 ec.ecmSxCfg_SetUnitSpeed(netID, axisID, unit, ref errorCode); ec.ecmSxCfg_SetUnitSpeed(netID, axisID, unit, ref errorCode);