PROFIBUS_R: PROFIBUS Read-Only System Variables

Variable Structure

This table describes the parameters of the PROFIBUS_R system variable (PROFIBUS_R_STRUCT type):

%MW

Var Name

Type

Comment

n/a

i_wPNOIdentifier

WORD

Slave identification code (1...126).

n/a

i_wBusAdr

UINT

PROFIBUS slave address.

n/a

i_CommState

UDINT

Value representing the state of the PROFIBUS module:

  • 0x00: Undeterminable

  • 0x01: Not configured

  • 0x02: Stop

  • 0x03: Idle

  • 0x04: Operate

n/a

i_CommError

UDINT

If the value is non-zero, a communication error was detected by the Profibus Module indicated by an error code.

n/a

i_ErrorCount

UDINT

Communication error counter.

n/a means that there is no predefined %MW mapping for this system variable.