PROFIBUS_R System Variables Data Types

 

PROFIBUS_R: Profibus Diagnostic System Variable

Description

The table lists the parameters of the PROFIBUS_R system variable (PROFIBUS_R_STRUCT) type:

Variable Name

Type

Value

Comment

i_wPNOIdentifier

WORD

0x0D73

Profibus slave identification number

i_wBusAdr

UINT

1...126

Profibus slave address number

The address 126 is reserved.

i_CommState

UDINT

0 - unknown

1 - not configured

2 - stop

3 - idle

4 - operate

Profibus status

operate mode: cyclic I/Os are running

i_CommError

UDINT

0 - no error

<>0 error code

communication error detected by the Profibus module, indicated by an error code

i_ErrorCount

UDINT

≥0

number of communication errors that have been detected