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
AXIO_DIAG_STATUS_REG_PW BOOL I/O warning
AXIO_DIAG_STATUS_REG_BUS BOOL Bus error
AXIO_DIAG_STATUS_REG_RUN BOOL Data transmission is active
AXIO_DIAG_STATUS_REG_ACT BOOL Selected configuration is ready for operation
AXIO_DIAG_STATUS_REG_RDY BOOL The Axioline F local bus is ready for operation
AXIO_DIAG_STATUS_REG_SYSFAIL BOOL The Axioline F local bus switches to the SYSFAIL state when the controller is in the STOP state or 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 another.

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)

 

 


•  Web browser recommendation: Chrome/Edge 88 or newer, Firefox ESR 90 or neweror Safari • 
• Published/reviewed: 2022-09-14 • Revision 046 •