Chapter 16 XG-SIM
16-26
Function block Command Support
Teaching function block - X
APM_EMG Emergency stop ○
APM_CLR Error reset ○
APM_PST Point operation X
APM_PWR Point operation step data setting X
APM_SRD Read current status ○
APM_CRD Read operation status code info ○
APM_ENCRD Read encoder value X
APM_JOG Jog start X
APM_MPG Manual pulse operation X
The APM command error codes generated in XG-SIM are as follows.
Error code Meaning
151 Operation speed of operation data may not be 0.
221 Direct start command may not be executed during operation.
224
Direct start command may not be executed in an absolute coordinate of which origin is
not determined.
231 Indirect start command may not be executed during operation
234
Indirect start command may not be executed in an absolute coordinate of which origin
is not determined.
291 Synchronous start command may not be executed during operation.
294
Synchronous start command may not be executed in an absolute coordinate of which
origin is not determined.
321 Dec. stop command may not be executed if not operating.
331 Skip command may not be executed if not operating.
355 Main/Aux axis setting of speed synchronous command had an error
356 Main/Aux axis ratio setting of speed synchronous command had an error
361 Position override command may not be executed if not operating
371 Speed override command may not be executed if not operating
391 Continuous operation command may not be executed if not operating
401 Inching command may not be executed during operation
431 Auto operation point return command may not be executed during operation
441 Start step no. change command may not be executed during operation
461 Position teaching command may not be executed during operation
481 Internal emergency stop