F388_Positioning_GetError

Get error or warning in positioning unit (FP0H, FP-XH not M4/M8 type)

This instruction reads the error and warning codes from buffer 1 of the positioning unit using the channel specified by s1_Channel if the trigger EN is TRUE. The error code is stored in d1_Error and the warning code is stored in d2_Warning.

Parameters

Input

s1_Channel (WORD, INT, UINT)

Channel number

Configurator PMX: SYS_PMX_CHANNEL_0SYS_PMX_CHANNEL_3

Configurator PM7: SYS_PM7_AXIS_1SYS_PM7_AXIS_8

Output

d1_Error (WORD, INT, UINT)

Error code

d2_Warning (WORD, INT, UINT)

Warning code

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if the area specified using the index modifier exceeds the limit.

  • if the slot and/or axis number is out of range

  • if d1_Error or d2_Warning is out of range

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if the area specified using the index modifier exceeds the limit.

  • if the slot and/or axis number is out of range

  • if d1_Error or d2_Warning is out of range

Related topics:

Modified on: 2022-10-05Feedback on this pagePanasonic hotline