top of page

Python 13. Extended Axis

13.1. Setting the 485 Extended Axis Parameters

New in version python: SDK-v2.0.3

Prototype

AuxServoSetParam(servoId,servoCompany,servoModel,servoSoftVersion, servoResolution,axisMechTransRatio)

Description

Setting the 485 extended axis parameters

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponds to slave ID;

  • servoCompany: servo drive manufacturer, 1 - Dynatec;

  • servoModel: Servo drive model, 1-FD100-750C;

  • servoSoftVersion: servo drive software version, 1-V1.0;

  • servoResolution: encoder resolution;

  • axisMechTransRatio: mechanical transmission ratio;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.2. Getting 485 Expansion Axis Configuration Parameters

New in version python: SDK-v2.0.3

Prototype

AuxServoGetParam(servoId)

Description

Get 485 extended axis configuration parameters

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponding to slave ID;

Default parameters

NULL

Return Value

  • errorcode Success-0 Failure- errcode.

  • servoCompany: servo drive manufacturer, 1 - Dynatec;

  • servoModel: servo drive model, 1-FD100-750C;

  • servoSoftVersion: servo drive software version, 1-V1.0;

  • servoResolution: encoder resolution;

  • axisMechTransRatio: mechanical transmission ratio;

13.3. Setting the 485 expansion axis enable/disable

New in version python: SDK-v2.0.3

Prototype

AuxServoEnable(servoId,status)

Description

Setting the 485 extension axis to enable/de-enable

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponds to slave ID;

  • status: enabling status, 0-de-enabling, 1-enabling;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.4. Setting the 485 Extended Axis Control Mode

New in version python: SDK-v2.0.3

Prototype

AuxServoSetControlMode(servoId,mode)

Description

Setting the 485 Extended Axis Control Mode

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponds to slave ID;

  • mode: control mode, 0-position mode, 1-velocity mode;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.5. Setting the 485 extended axis target position (position mode)

New in version python: SDK-v2.0.3

Prototype

AuxServoSetTargetPos(servoId,pos,speed)

Description

Setting the 485 extended axis target position (position mode)

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponds to slave ID;

  • pos: target position, mm or °;

  • speed: target speed, mm/s or °/s;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.6. Setting the 485 extended axis target torque (torque mode)-not yet available

New in version python: SDK-v2.0.3

prototype

AuxServoSetTargetTorque(servoId,torque)

Description

Setting the 485 extended axis target torque (torque mode)

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponds to slave ID;

  • torque: target moment, Nm;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.7. Setting the 485 extended axis back to zero

New in version python: SDK-v2.0.3

Prototype

AuxServoHoming(servoId,mode,searchVel,latchVel)

Description

Setting the 485 extension axis back to zero

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponds to slave ID;

  • mode: return to zero mode, 1 - return to zero at current position; 2 - return to zero at negative limit; 3 - return to zero at positive limit.

  • searchVel: return-to-zero velocity, mm/s or °/s.

  • latchVel: hoop speed, mm/s or °/s;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.8. Clearing 485 Expansion Axis Error Messages

New in version python: SDK-v2.0.3

Prototype

AuxServoClearError(servoId)

Description

Clearing 485 Extended Axis Error Message

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponding to slave ID;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.9. Get 485 extended axis servo status

New in version python: SDK-v2.0.3

prototype

AuxServoGetStatus(servoId)

Description

Get 485 extended axis servo status

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponding to slave ID;

Default parameters

NULL

Return Value

  • errorcode Success-0 Failure- errcode.

  • servoErrCode: servo drive error code

  • servoState: servo drive state bit0:0-not enabled; 1-enabled; bit1:0-not in motion; 1-being in motion; bit2 0-positive limit not triggered; 1-positive limit triggered; bit3 0-negative limit not triggered; 1-negative limit triggered; bit4 0-positioning not completed; 1-positioning complete; bit5: 0-not zero return; 1 -zero return complete;

  • servoPos: servo current position mm or °;

  • servoSpeed: servo current speed mm/s or °/s;

  • servoTorque: servo current torque Nm;

13.10. Setting the 485 extended axis target speed (velocity mode)

New in version python: SDK-v2.0.3

Prototype

AuxServoSetTargetSpeed(servoId,speed)

Description

Setting the 485 extended axis target speed (velocity mode)

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponds to slave ID;

  • speed: target speed, mm/s or °/s;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.11. Setting the 485 extended axis data axis number in the status feedback

New in version python: SDK-v2.0.3

Prototype

AuxServosetStatusID(servoId)

Description

Sets the 485 extended axis data axis number in status feedback

Mandatory parameters

  • servoId: servo drive ID, range [1-15], corresponding to slave ID;

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.12. Setting the 485 Extended Axis Motion Acceleration and Deceleration Speed

New in version python: SDK-v2.0.5

Prototype

AuxServoSetAcc(acc, dec)

Description

Sets the 485 extended axis motion acceleration and deceleration speeds.

Mandatory parameters

  • acc: 485 extended axis motion acceleration

  • dec: 485 extended axis motion deceleration

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.13. Setting the 485 extended axis emergency stop acceleration and deceleration speeds

New in version python: SDK-v2.0.5

Prototype

AuxServoSetEmergencyStopAcc(acc, dec)

Description

Setting the 485 extended axis emergency stop acceleration and deceleration speed

Mandatory parameters

  • acc: 485 extended axis emergency stop acceleration

  • dec: 485 extended axis emergency stop deceleration

Default parameters

NULL

Return Value

Error Code Success-0 Failure- errcode

13.14. Get 485 Extended Axis Motion Acceleration and Deceleration

New in version python: SDK-v2.0.5

Prototype

AuxServoGetAcc()

Description

Get 485 extended axis motion plus or minus velocity

Mandatory parameters

NULL

Default parameters

NULL

Return Value

  • errorcode Success-0 Failure- errcode

  • acc: 485 extended axis motion acceleration

  • dec: 485 extended axis motion deceleration

13.15. Get 485 extended axis emergency stop acceleration and deceleration speeds

New in version python: SDK-v2.0.5

Prototype

AuxServoGetEmergencyStopAcc()

Description

Get 485 extended axis emergency stop acceleration and deceleration speed

Mandatory parameters

NULL

Default parameters

NULL

Return Value

  • errorcode Success-0 Failure- errcode

  • acc: 485 extended axis emergency stop acceleration

  • dec: 485 extended axis emergency stop deceleration


robotic arm
FAIRINO ROBOTIC ARMS

Contact

Location: 10637 Scripps Summit Court,

San Diego, CA. 92131
Phone: (619) 333-FAIR
Email: hello@fairino.us

© 2023 Fairino US official site Proudly created By G2T

bottom of page