Overview

The Module Diagnostic object presents the instances, attributes and services described below.

Class ID

300 (hex), 768 (decimal)

Instance IDs

The Module Diagnostic object presents two instances:

  • 0: class

  • 1: instance

Attributes

Module Diagnostic object attributes are associated with each instance, as follows:

Instance ID = 0 (class attributes):

Attribute ID

Description

GET

SET

01

Revision

X

02

Maximum Instance

X

X = supported

— = not supported

Instance ID = 1 (instance attributes):

Attribute ID

Description

Type

GET

SET

Value

hex

dec

01

01

Module Status

WORD

X

  • 0x01 = STARTED

  • 0x02 = STOPPED

  • 0x03 = RUNNING

02

02

CNF Version

WORD

X

03

03

CRC

UDINT

X

04

04

Connection Status

STRUCT of

X

Size Table

WORD

 

In bytes -16 bytes

Table

WORD[ ]

 

Padded on word

  • Describes I/O connections.

  • Each bit describes one I/O connection – the first bit is the first I/O connection.

  • Value 1 indicates that INPUT and OUTPUT status of an I/O connection are OK (status equal to 0).

  • Value 0 indicates that INPUT and OUTPUT status of an I/O connection are not OK (status not equal to 0).

  • The table consists of 8 words (128 I/O connections).

05

05

CCO Mode

WORD

X

  • 0x00 = Block access to connection configuration object (CCO)

  • 0x01 = STOPPED

X = supported

— = not supported

Services

The Module Diagnostic object performs the following services upon the listed object types:

Service ID

Description

Class

Instance

Notes

hex

dec

01

01

Get_Attributes_All

X

X

Returns the value of all attributes.

10

16

Set_Attribute_Single

X

Sets the value of the specified attribute.

X = supported

— = not supported