NXTMMX Block
This
block interfaces with NXTMMX from mindsensors.com
Display Settings
- This shows the chosen I2C address for NXTMMX, and the chosen Port
to which this device should be connected.
- This shows primary operation or direction of motor rotation.
- Shows amount of power supplied to motors.
- This shows the Duration setting being Unlimited, Degrees,
Rotations, Seconds, or to Encoder Position.
Configuring the NXTMMX Block
- The NXT’s port to connect Device.
- The I2C address of the Device. The factory default address
is 0x06. Choose appropriate value if you have specifically changed the
address.
- Select the operation to perform on your NXTMMX.
- Select the motor(s) to perform the operation on.
- Select the direction of your motors rotation (or stop).
- Enabling Power Ramping will result in gradually increasing power
to your motors (or gradually decreasing power while stopping).
- Select the amount of power applied to your motor.
- Select the duration property of your motor's rotation.
- based on the selected duration property, specify the numeric
value for duration.
- When 'Wait for Completion'
is selected, this block will wait until specified operation is
finished, before moving on to next block.
If you de-select 'Wait for Completion', other blocks after this block
can proceed execution while this block continues it's operation.
- Select to Brake the motors or Coast the motors at the end of the
operation.
'Brake the Motors' applies
brakes while stopping, thereby hold the position where it stops.
Where as 'Coast the Motors'
will permit the motors to turn freely upon stopping.
NXTMMX Block's Data Hub Plugs
- The motors to operate on. Supply values as follows:
- 0: for Motor M1
- 1: for Motor M2
- 2: To operate on Both Motors at once.
- Amount of power applied to your motors, value ranging from 0 to
100.
- Direction of rotation of your motors. Supply values as follows:
- 0: Forward
- 1: Reverse
- 2: Stop.
- For the Duration property chosen on the Block Panel, you can
specify numeric value here. (Does not apply for Unlimited).
- Next Action upon completionof current operation, supply values as
follows:
- 0: Coast the Motors
- 1: Brake the Motors.
- Wait for Completion - True indicates the block should wait, where
as False will not wait.
- Power Ramp. Specifi values as follows:
- 0: Disable Power Ramping
- 1: Enable Power Ramping.
- Encoder Value of Motor 1, this output plug has value only when
selected operation on Block Panel is 'Read
Encoders'.
- Encoder Value of Motor 2, this output plug has value only when
selected operation on Block Panel is 'Read
Encoders'.
- Supply voltage of the NXTMMX, this output plug has value only
when selected operation on Block Panel is 'Read Voltage'.
For further information,
please
refer
to User Guide.