.

MpxUtil.TextDisplay


Overview

TextDisplay is a label that is automatically updated based on the value of a controller variable. If the TextDisplay encounters an error while reading the value of the controller variable, the message “Error” will be displayed.

The controller associated with the TextDisplay must exist as a component on the same form.

 

Properties

Property Data Type Description

Format

String

The .NET format of the text display.

Examples:

Format

Display*

E4

1.2346+03

F4

1234.5679

D

1234

D6

001234

X

0x4D2

X8

0x000004D2

*Value used for each example field is 1234.56789

HexPrefix

String

The prefix displayed when displaying hexadecimal values.

If HexPrefix is “0x” and the value being displayed in decimal is 254, then “0xFE” will be displayed.

If HexPrefix is “&h” and the value being displayed in decimal is 254, then “&hFE” will be displayed.

ControllerName

String

The name of the controller component.

If there is only one controller component on the same form as the RoundIoLed instance, then ControllerName may be left empty.

Interval

Int32

The time between updates of the text display in milliseconds.

DisplayType

Enumeration

The type of controller variable the display is connected to.

AxisNumber

Int32

The axis number of the controller variable the text display is connected to.

CanNumber

Int32

The CANOpen network number of the controller variable the text display is connected to.

Channel

Int32

The axis dedicated input of the controller variable the text display is connected to.

NodeNumber

Int32

The node number of the controller variable the text display is connected to.

SynqNetNumber

Int32

The SynqNet network number of the controller variable the text display is connected to.

 

Configuration Properties Used with Specific IoType Values

DisplayType

AxisNumber

CanNumber

Channel

NodeNumber

SynqNetNumber

AxisActualPosition

X        

AxisCommandPosition

X        

AxisCommandVelocity

X        

AxisCommandAcceleration

X        

AxisCommandJerk

X        

AxisDemand

         

SqNodeAnalogIn

    X X X

SqNodeAnalogOut

    X X X

CanAnalogIn

  X X X  

CanAnalogOut

  X X X  

ControllersampleCounter

         

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2008 Motion Engineering