System variables - Axioline F

Available for AXC F x152 

Axioline F diagnostic status register

Information on the operating state of the Axioline F local bus is stored in the diagnostic status register. A specific Axioline F local bus state is assigned to each bit in the diagnostic status register. The following system variables can be used to read the diagnostic status register information. 

Diagnostic status register

System variable Type Description
AXIO_DIAG_STATUS_REG_HI BYTE Diagnostic status register (high byte)
AXIO_DIAG_STATUS_REG_LOW BYTE Diagnostic status register (low byte)
AXIO_DIAG_STATUS_REG_PF BOOL Peripheral fault (I/O error)
AXIO_DIAG_STATUS_REG_PW BOOL Peripheral warning (I/O warning)
AXIO_DIAG_STATUS_REG_BUS BOOL Bus error
AXIO_DIAG_STATUS_REG_RUN BOOL Data transmission is in action
AXIO_DIAG_STATUS_REG_ACT BOOL Selected configuration is ready to operate
AXIO_DIAG_STATUS_REG_RDY BOOL Axioline F local bus is ready to operate
AXIO_DIAG_STATUS_REG_SYSFAIL BOOL Axioline F local bus switches to the SYSFAIL state when the controller is in the STOP state, or when there is no program present on it.

Axioline F diagnostic parameter register

The diagnostic parameter register provides additional information on the error indicated in the diagnostic status register. The error code is stored in the diagnostic parameter register, and the error location is stored in the extended diagnostic parameter register. The error location is stored as a slot number. This starts at 1 and corresponds to the sequential number of the Axioline F modules that are installed one after the other.

Special case: If an interface error cannot be located, the value 128 is displayed in the diagnostic parameter register (bit 7 is set).

The diagnostic parameter register is rewritten whenever a malfunction occurs. If no malfunction has been detected, the diagnostic parameter register contains the value 0.

Diagnostic parameter register

System variable Type Description
AXIO_DIAG_PARAM_REG_HI BYTE Diagnostic parameter register (high byte)
AXIO_DIAG_PARAM_REG_LOW BYTE Diagnostic parameter register (low byte)
AXIO_DIAG_PARAM_2_REG_HI BOOL Extended diagnostic parameter register (high byte)
AXIO_DIAG_PARAM_2_REG_LOW BOOL Extended diagnostic parameter register (low byte)

Diagnostic registers at other Axioline F devices

See the full documentation of Axioline F local bus diagnostics in the Axioline F: Diagnostic registers and error messages, available in the Phoenix Contact Knowledge Base (en/de).


• Published/reviewed: 2024-09-24   ☀  Revision 073 •