TM5_MODULE_R Structure

 

TM5_MODULE_R[1..254]: TM5 Modules Read Only System Variables

Introduction

TM5_MODULE_R is an array of 254 TM5_MODULE_R_STRUCT type. Each element of the array returns diagnostic System Variables for the corresponding TM5 Module.

For LMC058:

oTM5_MODULE_R[1] refer to the TM5 Module 1

o...

oTM5_MODULE_R[254] refer to the TM5 Module 254

Variable Structure

The following table describes the parameters of the TM5_MODULE_R[1..254] System Variable:

%MW

Var Name

Type

Comment

n/a

i_wVendorID

WORD

TM5 Module Vendor ID of the target.

n/a

i_wProductID

WORD

TM5 Module Type ID of the target.

n/a

i_dwSerialNumber

DWORD

TM5 Module Serial Number.

n/a

i_wFirmVersion

WORD

TM5 Module Firmware version.

n/a

i_wBootVersion

WORD

TM5 Module Boot version.

n/a

i_wModuleState

TM5_MODULE_STATE

Describes the state of the TM5 module. The module is operational when TM5_ACTIVE is returned.

NOTE: n/a means that there is no predefined %MW mapping for this System Variable.