17-6
5. To enable the check boxes, delete Und from the Decimal Value box and
6. When the configuration is complete, click OK to return to the Set
Configuring the RZ6 Processor for the RBOX
The RBOX_RZ6 uses the ground connection (pin 5) and the 8-bits of bit-
addressable digital I/O on an RZ6 Digital I/O port. Bits 0 through 3 (see "Buttons
and LEDs" on page 17-3) are used as button inputs and Bits 4 through 7
("Buttons and LEDs" on page 17-3) are used as LED outputs.
To use the response box with an RZ6 processor, use RPvdsEx BitIn and BitOut
components to address the buttons and LEDs.
Note:
Logic inputs are Logic-High by default with open circuit (button not pressed). A
button press shorts the input, causing a Logic-Low state.
The bit-addressable digital I/O lines can be either inputs or outputs. By default, all
are configured for inputs. Modifying the RZ6_Control macro will enable Bits 4-7 to
be outputs for driving the LEDs of the RBOX.
To configure the RZ6_Control macro:
1.
2. Navigate to Device\RZ6_Processor and choose RZ6_Control.
3. Click Insert and click the circuit to place the macro.
4. Double-click the newly placed macro to open its properties.
5. Choose the Digital I/O tab.
6. Select Output for bits 4, 5, 6, and 7 to set them all as outputs, as shown
RBOX Response Box
enter 240. This configures Bits 4 through 7 as outputs.
Hardware Parameters dialog box.
In RPvdsEx, under the Components Menu, choose Circuit Macros.
below.
Byte-A and Byte-B are not used with the RBOX so they can be inputs or
outputs, either value will have no effect.
System 3
Need help?
Do you have a question about the RZ2 and is the answer not in the manual?