Support for fischertechnik TX-controller
Assembly: FtMscLibVBNet (in FtMscLibVBNet.dll) Version: 1.0.0.1 (1.0.0.10)
FTLIB_ERR_SUCCESS (no error) or error code
Need to wait for a CBMotorExReachedEvent for each motor in use (JOIN).
[This is preliminary documentation and is subject to change.]
API 3.13A
StartMotorExCmd4(extended)
Function activates the intelligent motor mode for motor synchronization. The motor moves to the desired position using the shared counter information. The application shares the information that the motor has reached the end position by using a previously installed callback function (see also SetCBMotorExReached()). The function is able to managed 1,2 or 3 slaves. However all motor have their proper CBMotorExReached notification.
Namespace: FischerTechnik.FtMscLib.APIStartMotorExCmd4(extended)
Function activates the intelligent motor mode for motor synchronization. The motor moves to the desired position using the shared counter information. The application shares the information that the motor has reached the end position by using a previously installed callback function (see also SetCBMotorExReached()). The function is able to managed 1,2 or 3 slaves. However all motor have their proper CBMotorExReached notification.
Assembly: FtMscLibVBNet (in FtMscLibVBNet.dll) Version: 1.0.0.1 (1.0.0.10)
Syntax
Parameters
- devId
- Type: FischerTechnik.FtMscLib.Enumurations FtDeviceID
controller ID (master or extension controller)
- mIdx
- Type: FischerTechnik.FtMscLib.Enumurations FtMotor
0,1,2,3 for a master motor;
- duty
- Type: System Int32
duty value for master and slave motors, 0..512
- mdirection
- Type: FischerTechnik.FtMscLib.Enumurations FtMotorDirection
(0= CW, 1= CCW
- s1Idx
- Type: FischerTechnik.FtMscLib.Enumurations FtMotor
motor index (0 to 3, -1 or 255 not in use) from slave1 (motor)
- s1Direction
- Type: FischerTechnik.FtMscLib.Enumurations FtMotorDirection
(0= CW, 1= CCW
- s2Idx
- Type: FischerTechnik.FtMscLib.Enumurations FtMotor
motor index (0 to 3, -1 or 255 not in use) from slave2 (motor)
- s2Direction
- Type: FischerTechnik.FtMscLib.Enumurations FtMotorDirection
(0= CW, 1= CCW
- s3Idx
- Type: FischerTechnik.FtMscLib.Enumurations FtMotor
motor index (0 to 3, -1 or 255 not in use) from slave3 (motor)
- s3Direction
- Type: FischerTechnik.FtMscLib.Enumurations FtMotorDirection
(0= CW, 1= CCW
- pulseCnt
- Type: System Int32
number of count pulses for moving to a position, relative to the starting position
Return Value
Type: UInt32FTLIB_ERR_SUCCESS (no error) or error code
Remarks
Examples
See Also