Download Q173SCCF C Controller Interface Module User`s Manual (API Library)

Transcript
4. API FUNCTION DETAILS
4.8 Continuous operation to torque control data functions
4.8.1 sscSetPressData
The continuous operation to torque control data stored in the structure variable designated by the pointer will be
set.
int sscSetPressData (
int board_id,
int channel,
int axnum,
PRESS_DATA *pPressData
);
Argument
board_id [in]
Board ID number (0)
channel [in]
Channel number (1)
axnum [in]
Axis number (1 to 20)
pPressData [in]
Pointer to 32-byte structure (32 bytes × 1) which stores the continuous operation to torque control data
Refer to "5.3 PRESS_DATA structure" for the continuous operation to torque control data structure.
Return value
SSC_OK
Function succeeded.
SSC_NG
Function failed. (To confirm the detailed error code, use the sscGetLastError function.)
SSC_UNOPEN Before calling the sscOpen function.
Detailed error code
Value
Cause/countermeasure
SSC_FUNC_ERR_ARGUMENT_0
= 1 to 9: Argument location
The argument is outside the set range.
Point
• A check of the set continuous operation to torque control data contents will not be performed.
Supported version
API Ver.
Ver.1.60
Board Ver.
Header file
A5
q17nsccf-std.h
Reference
sscGetPressData
4 - 41