Appendix A Motion API
A.1.3
System APIs
A-4
A.1.3 System APIs
The following tables show the list of system APIs.
(1) Data Operations
(2) System Information
(3) System Operations
(4) Calender Operations
(5) Other
Function Name Summary
ymcSetIoDataBit ( ) Sets the specified device type bit.
ymcSetIoDataValue ( ) Sets the specified device type data.
ymcGetIoDataValue ( ) Gets the specified device type data.
ymcSetRegisterData ( ) Sets the number of register data elements starting from the register that corresponds to
the RegisterData handle.
ymcGetRegisterData ( ) Gets the number of register data elements starting from the register address that corre-
sponds to the RegisterData handle.
ymcGetRegisterDataHandle
( )
Gets the RegisterData handle from a register name.
Function Name Summary
ymcGetAlarm ( ) Reads the specified number of alarm entries from the MP2100/MP2100M beginning
with the most recent alarm entry.
Clears the alarm specified by the alarm handle.
ymcClearAlarm ( ) Clears the alarm specified by the alarm handle.
ymcClearServoAlarm ( ) Clears the servo alarm in the axis specified by the axis handle.
Function Name Summary
ymcOpenController ( ) Specifies the target MP2100/MP2100M and communication medium and gets a con-
troller handle.
ymcCloseController ( ) Resets the target MP2100/MP2100M specification and opens the controller handle.
ymcSetController ( ) Specifies a controller handle and switches the target MP2100/MP2100M.
ymcGetController ( ) Gets the controller handle that is currently targeted.
ymcGetLastError ( ) Gets the error information for the function that was executed last.
Function Name Summary
ymcSetCalendar ( ) Sets the MP2100/MP2100M's calendar.
ymcGetCalendar ( ) Gets the MP2100/MP2100M's calendar information.
Function Name Summary
ymcSetAPITimeoutValue ( ) Sets the timeout detection time to be used when the API is executed.