MPISynqNetResourceCommand
Definition
typedef enum MPISynqNetResourceCommand { MPISynqNetResourceCommandINVALID = -1, MPISynqNetResourceCommandNONE, MPISynqNetResourceCommandDAC_ONE, MPISynqNetResourceCommandDAC_TWO, MPISynqNetResourceCommandDEMAND_A, MPISynqNetResourceCommandDEMAND_AB, MPISynqNetResourceCommandDEMAND_ABC, MPISynqNetResourceCommandLAST, MPISynqNetResourceCommandFIRST = MPISynqNetResourceCommandINVALID + 1 } MPISynqNetResourceCommand;
Change History: Modified in the 03.03.00
Description
MPISynqNetResourceCommand enumeration is a member of the MPISynqNetPacketCfgMotor configuration structure. The values are used to configure the number of 32-bit command data fields sent to drive a motor. Valid values range from greater or equal to MPISynqNetResourceCommandFIRST and less than MPISynqNetResourceCommandLast, but may be further limited by the available resources on the node.
NOTE: A motor is considered incomplete if it has a command value of NONE.
MPISynqNetResourceCommandINVALID | Non-vaild command value was detected. |
---|---|
MPISynqNetResourceCommandNONE | No command data will be sent to this motor. NOTE: this disables the motor and will require the application to remove all other resources for this motor. |
MPISynqNetResourceCommandDAC_ONE | Configures a 32bit data field of DAC data to besent to the motor. |
MPISynqNetResourceCommandDAC_TWO | Configures two 32bit data fields of DAC data to besent to the motor. |
MPISynqNetResourceCommandDEMAND_A | Configures one 16bit data field of Demand data to be sent to the motor. |
MPISynqNetResourceCommandDEMAND_AB | Configures two 16bit data fields of Demand data to be sent to the motor. |
MPISynqNetResourceCommandDEMAND_ABC | Configures three 16bit data fields of Demand data to be sent to the motor. |
See Also
mpiSynqNetPacketConfigGet | mpiSynqNetPacketConfigSet | MPISynqNetPacketCfgMotor | MPISynqNetPacketCfg | MPISynqNetPacketCfgNode