フィードバック出力パルス数入力

例)軸番号1のフィードバック出力パルス数のプリセット値を取得します。

■ Visual Basic

Dim Ret As Integer
Dim OutPulse As Integer

' フィードバック出力パルス数入力
Ret = SmcWGetOutPulse( Id , 1, OutPulse )
 

■ C言語

long Ret;
long OutPulse ;

// フィードバック出力パルス数入力
Ret = SmcWGetOutPulse( Id , 1, &OutPulse );
 

■ C#

int Ret;
int OutPulse ;

// フィードバック出力パルス数入力
Ret = Smc.WGetOutPulse( Id , 1, out OutPulse );
 

■ Python

Ret = ctypes.c_long()
OutPulse = ctypes.c_long()

# フィードバック出力パルス数入力
Ret.value = csmc.SmcWGetOutPulse( Id , 1, ctypes.byref(OutPulse) )