When porting a MotoCom application to use the YMConnect API, the MotoCom functions must be replaced with the YMConnect equivalent.
MotoCom32 | MotoComES | YMConnect |
---|---|---|
BscDownload, BscDownloadEx | ESLoadFile | LoadToControllerFromString, LoadToControllerFromPath |
BscUpload, BscUploadEx | ESSaveFile | SaveFromControllerToFile, SaveFromControllerToString |
BscFindFirst | ESFileListFirst | ListFiles |
BscFindNext | ESFileListNext | ListFiles |
BscFindFirstMaster | No corresponding function | No corresponding function |
BscFindNextMaster | No corresponding function | No corresponding function |
BscGetCtrlGroup, BscGetCtrlGroupXrc, BscGetCtrlGroupDX, BscIsCtrlGroup, BscIsCtrlGroupXrc, BscIsCtrlGroupDX, BscIsTaskInf, BscIsTaskInfXrc | Target control group and task can be set by each function. | Target control group and task can be set by each function. |
BscGetError, BscGetError2, BscReadAlarmS, BscGetFirstAlarm, BscGetNextAlarm, BscGetFirstAlarmS ,BscGetNextAlarmS | ESGetAlarm ( alarm only ), ESGetAlarmEx (for applying the sub code character strings) | GetActiveAlarms, GetAlarmHistory |
BscGetStatus | ESGetStatus | ReadState |
BscGetUFrame | No corresponding function | No corresponding function |
BscGetVarData, BscGetVarData2, BscHostGetVarData, BscGetVarDataEx | ESGetVarData1, ESGetVarData2, ESGetStrData, ESGetStrData2, ESGetPositionData, ESGetBpexPositionData | Variables |
BscHostGetVarDataM | ESGetVarDataMB, ESGetVarDataMI, ESGetVarDataMD, ESGetVarDataMR | Variables |
BscIsAlarm | ESGetStatus | ReadState |
BscIsCycle | ESGetStatus | ReadState |
BscIsError | ESGetStatus | ReadState |
BscIsHold | ESGetStatus | ReadState |
BscIsJobLine | ESGetJobStatus | GetExecutingJobInformation |
BscIsJobName | ESGetJobStatus | GetExecutingJobInformation |
BscIsJobStep | ESGetJobStatus | GetExecutingJobInformation |
BscIsLoc, BscGetPulsePos | ESGetPosition | ReadPositionData |
BscIsPlayMode | ESGetStatus | ReadState |
BscIsTeachMode | ESGetStatus | ReadState |
BscIsRemoteMode | ESGetStatus | ReadState |
BscIsRobotPos, BscGetCartPos | ESGetPosition | ReadPositionData |
BscIsServo | ESGetStatus | ReadState |
BscJobWait | No corresponding function | No corresponding function |
BscCancel | ESCancel | ClearAllFaults |
BscChangeTask | Target task can be set by each function. | Target task can be set by each function. |
BscContinueJob | ESStartJob | StartJob |
BscConvertJobP2R, BscConvertJobR2P | No corresponding function | No corresponding function |
BscDeleteJob | ESDeleteJob | DeleteJobFile |
BscHoldOff, BscHoldOn | ESHold | SetHold |
BscPutVarData, BscPutVarData2, BscHostPutVarData, BscPutVarDataEx | ESSetVarData1, ESSetVarData2, ESSetStrData, ESSetStrData2, ESSetPositionData, ESSetBpexPositionData | Variables |
BscHostPutVarDataM | ESSetVarDataMB, ESSetVarDataMI, ESSetVarDataMD, ESSetVarDataMR | Variables |
BscImov, BscImovEx, BscImovEx2, BscMov, BscMovEx, BscMovEx2, BcsMovj, BscMovjEx, BscMovl, BscMovlEx, BscPMov, BscPmovEx, BscPmovj, BscPMovjEx, BscPMovl, BscPMovlEx | ESCartMove, ESPulseMove (Point-to-point motion only) | Motion Manager (Trajectory motion) |
BscMDSP | ESBDSP | DisplayStringToPendant |
BscOPLock, BscOPUnLock | ESHlock | No corresponding function |
BscPutUFrame, BscPutUFrameEx2 | No corresponding function | No corresponding function |
BscStartJob | ESStartJob | StartJob |
BscSelectJob | ESSelectJob | SetActiveJob |
BscSelectMode | No corresponding function | No corresponding function |
BscSelLoopCycle, BscSelOneCycle, BscSelStepCycle | ESCycle | SetCycleMode |
BscSetLineNumber | ESSelectJob | SetActiveJob |
BscSetMasterJob | ESSelectJob | SetActiveJob |
BscReset | ESReset | ClearAllFaults |
BscSetCtrlGroup, BscSetCtrlGroupXrc, BscSetCtrlGroupDX | Target control group and task can be set by each function. | Target control group and task can be set by each function. |
BscServoOff, BscServoOn | ESServo | SetServos |
BscReadIO, BscReadIO2 | ESReadIO1, ESReadIO2, ESReadIOM | IOInterface |
BscWriteIO, BscWriteIO2 | ESWriteIO1, ESWriteIO2, ESWriteIOM | IOInterface |