IDCP Status and Error Codes

Main panel

Status Codes

The variables BaseStatISLbl and SBaseStatISLbl provide the status of the drive. Note that BaseStatISLbl is the gap- and SBaseStatISLbl is the shift status.

Value

numerical value

explanation

PWON

0

drive is in power-on state and must be initialized

STOP

1

drive is stopped

REF

2

drive does reference procedure (MOCON only)

RUN

3

drive is moving

WAIT

5

operation in progress (usually activating or deactivating brakes)

ERR

6

drive is in error state

Error Codes

The variables BaseStatIELbl and SBaseStatIELbl provide the error of the drive. Note that BaseStatIELbl is the gap- and SBaseStatIELbl is the shift error.

Label

Value

comment

None

0

no error

Cmd_Val

1

unknown command received

Par_Init

2

parameter was not initialized

Par_Val

3

invalid parameter value

Switch

4

end position switch reached

HW

5

hardware error

Decl

6

declination error

MOCON

7

MOCON watchdog error

Drift

8

drift error

IK_Err

9

IK 340 position measurement error

ProtVer

10

MOCON: wrong protocol version

Warning

11

warning (non fatal error)

Brake

12

brake still activated before run

UniDrive undulators, DIAG Panel

Status codes

Variables Adi1GblStt, Adi2GblStt … provide the status of the UniDrive device. These are the fields in the column named “Status” in the panel.

Label

Value

INVALID

-1

PWON

0

STOP

1

REF

2

RUN

3

SCAN

4

WAIT

5

ERR

6

Error codes

Variables Adi2GblErr, Adi2GblErr … provide the error code of the UniDrive device. These are the fields in the column named “Error” in the panel. Note that unless an error occurred, a current value is only shown when you press the “update” button right of the column.

Label

Value

comment

NONE

0

ACT

1

drive not active (currently not used)

POS

2

drive position is wrong (position error)

CTNET

3

ctnet-err: other drives force emergency stop

SWITCH

4

limit switch was activated

ENA

5

drive deactivated by PLC

BRK

6

drive cannot run since brake is activated

MOCON undulators, MOCON Panel

Status codes

Variables AdiVGblStt, AdiHGblStt … provide the status of the MOCON device. These are the values in the field named “Status” in the panel.

Label

Value

PWON

0

STOP

1

REF

2

RUN

3

WAIT

5

ERR

6

Error codes

Variables AdiVGblErr, AdiHGblErr … provide the error code of the MOCON device. These are the values of the field “Error” in the panel.

Label

Value

comment

NONE

0

CMD_VAL

1

wrong command value

PAR_INIT

2

parameter not initialized

PAR_VAL

3

invalid parameter value

SWITCH

4

limit switch was activated

HW

5

generic hardware error

DECL

6

declination error

WDOG

7

watchdog error

ROFF

8

wrong reference offset values

VEL

9

invalid velocity

NODEST

10

destination missing

FOLLOW

11

wrong usage of “follow” value

PROTVER

12

wrong protocol version

HW Error codes

This is field “HW-Err”, PV AdiVGblMer, note the current value of this variable is only shown when you press the “update” button before.

Value

Name

comment

0

NONE

no error

1

CMD_VAL

wrong command value

2

PAR_INIT

parameter not initialized

3

PAR_VAL

parameter invalid

4

SWITCH

end position switch activated

5

HW

generic hardware error

6

DECL

declination error

7

WDOG

watchdog error

8

ROFF

reference offset error

9

VEL

wrong velocity

10

NODEST

no destination given

11

FOLLOW

wrong usage of “follow” destination

12

PROTVER

wrong protocol version