Skip to Main Content Skip to Search
Product Documentation

Diamond Ruby-MM Digital Input - Ruby-MM Digital Input block

Scaling Input to Output

Hardware Input

Block Output Data Type

Scaling

TTL

Double

TTL low = 0.0
TTL high = 1.0

Block Parameters

Channel vector

Enter numbers between 1 and 8 to select the digital input lines to be read. This driver allows the selection of up to 8 individual digital input lines in any order. The number of elements defines the number of digital lines used.

For example, to use all of the digital inputs enter

[1,2,3,4,5,6,7,8]

Number the lines beginning with 1 even though the board manufacturer starts numbering lines with 0.

Port

From the Port list, choose either A, B, or C. The Port parameter defines which port is used for this driver block. Each port has a maximum of 8 digital inputs. One block is required for each port used.

Sample time

Enter the base sample time or a multiple of the base sample time.

Base address

Enter the base address of the board in hexadecimal (such as 0x300) as selected with the hardware jumpers on the board.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS