
onlinecomponents.com
System variables and status information
7805_en_02
PHOENIX CONTACT
4-1
4
System variables and status information
4.1
General information
This section describes the special program functions of the PC WorX/PC WorX Express
software that are available for the Inline Controller.
The Inline Controller has a register set, which is used for diagnostics and easy control of the
bus system. The diagnostic data is stored in the diagnostic status register and the
diagnostic parameter register. These registers are available to the application program as
system variables (system flags, global variables).
Operating states, error states, and additional information about the INTERBUS system can
be evaluated in the application program.
4.2
Status register for local digital inputs and outputs
The following system variables can be used to read the local digital input and output states
and to write the local digital output states.
The following descriptions of system variables and status information apply to PC WorX
and PC WorX Express.
For additional information about diagnostics, please refer to the following user manual:
–
INTERBUS Diagnostics Guide
IBS SYS DIAG DSC UM E
Order No. 2747293
Table 4-1
System variables of the status register for local digital inputs and outputs
System variable
Type
Meaning
ONBOARD_INPUT
WORD
State of all local inputs
ONBOARD_INPUT_BIT0
BOOL
State of local input IN1
ONBOARD_INPUT_BIT1
BOOL
State of local input IN2
ONBOARD_INPUT_BIT2
BOOL
State of local input IN3
ONBOARD_INPUT_BIT3
BOOL
State of local input IN4
ONBOARD_INPUT_BIT4
BOOL
State of local input IN5
ONBOARD_INPUT_BIT5
BOOL
State of local input IN6
ONBOARD_INPUT_BIT6
BOOL
State of local input IN7
ONBOARD_INPUT_BIT7
BOOL
State of local input IN8
ONBOARD_OUTPUT_BIT0
BOOL
State of local output OUT1
ONBOARD_OUTPUT_BIT1
BOOL
State of local output OUT2
ONBOARD_OUTPUT_BIT2
BOOL
State of local output OUT3
ONBOARD_OUTPUT_BIT3
BOOL State of local output OUT4
ONBOARD_OUTPUT_OVERLOAD_0_3
BOOL
One local output overloaded