oMotorMind Object
Description:
 

A Hardware Object that outputs control codes to a Motor Mind Module.

Operation:
 When the oMotorMind Object's Value property is set to a value, that value is sent out the I/O Line specified by the IOLine property in such a way that a Solutions Cubed Motor Mind Object will use the data to control a DC motor.
Storage size & Availability:
 

The following table lists the size and availability of the oMotorMind Object and its variations:

ObjectSizeVersion
oMotorMind5 BytesB.1.0
Properties:
 

The following table lists the Properties of the oMotorMind Object:

PropertyDescription
Address

Returns a pointer to the address of the oMotorMind Object instance.

Data-Type: Address, Read-Only

Data-Range: 0 - 127

IOLine

A value that specifies the physical I/O Line to use for serial communications.

Data-Type: Byte

Data-Range: 0 - 31

Operate

A value that specifies whether or not the data is updated.

Data-Type: Bit, Flag

Data-Range: 0 - 1

Value

The value to send to the Motor Mind Module.

Data-Type: Byte, Default

Data-Range: 0 - 255

Example:
 In the following example, the oMotorMind Object is used to

Dim M as new oMotorMind

Sub Main()
  M.IOLine=17
  M.Value = &h55
  M.Value = 3
  M.Value = 63
End Sub
Connections:
The oMotorMind uses one I/O line.  This I/O line is connected to the data line of the Motor Mind Module.
See Also:
 

oDCMotor - An Object that controls a DC Motor