Long camdisable(void), Long camdwell(long master_position), Long camenable(void) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual

Page 66: Camdisable • camdwell • camenable

Advertising
background image

Publication 2098-PM001E-EN-P — July 2002

2-26

Referencing the Motion Library

long CamDisable(void);

Disables electronic cam.

Returns 0 if successful, or -1 on an error.

long CamDwell(long master_position);

Adds a dwell segment to the table.

• The master_position argument defines the master position at the

end of the segment.

Returns 0 if successful, or -1 if there was an error.

This function requires one free segment.

long CamEnable(void);

Enables the electronic cam using the previously loaded cam table.

Returns 0 if successful, or -1 on an error.

Advertising