To start/stop the digital output signal(Compare Out pin) when reaching the specific
Taregt position.
int FAS_TriggerOutput_RunA(
BYTE nPortNo,
BYTE iSlaveNo,
BOOL bStartTrigger,
long lStartPos,
DWORD dwPeriod,
DWORD dwPulseTime,
);
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
bStartTrigger
Output start/stop command (1:start, 0:stop)
long lStartPos
Output start position [pulse]
DWORD dwPeriod
Period of output signal [pulse]
DWORD dwPulseTime
Width of output signal [msec]
FMM_OK : Command has been normally performed.
FMM_NOT_OPEN : The drive has not been connected yet.
FMM_INVALID_PORT_NUM : There is no nPort in the connected ports.
FMM_INVALID_SLAVE_NUM : There is no drive of iSlaveNo in the relevant port.
FMM_INVALID_PARAMETER_NUM : wItemNo is out of range.