Difference between revisions of "Component: Coupling (Mechatronics)"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
Line 1: Line 1:
 
+
{| style="width:50%"
 
 
{| width="50%"
 
 
|-
 
|-
| width="20%" style="color: gray;" | Author
+
| width="20%" style="color:gray;" | Author
 
| Matrix TSL
 
| Matrix TSL
 
|-
 
|-
| width="20%" style="color: gray;" | Version
+
| width="20%" style="color:gray;" | Version
| 1.0 (Release)
+
| 1.0
 
|-
 
|-
| width="20%" style="color: gray;" | Category
+
| width="20%" style="color:gray;" | Category
 
| Mechatronics
 
| Mechatronics
 
|}
 
|}
  
  
 +
==Coupling component==
 +
A simple component to couple together two rotating shafts. An essential component when working with motors, gearboxes, encoders and other rotational systems.
 +
 +
==Detailed description==
  
==[[File:Component Icon 83c095cc_fefc_4854_a7c5_7fe867753bf4.png|Image]] Coupling component==
+
''No detailed description exists yet for this component''
A simple component to couple together two rotating shafts.
 
An essential component when working with motors, gearboxes, encoders and other rotational systems.
 
  
 
==Examples==
 
==Examples==
 +
 +
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
  
Line 25: Line 27:
 
==Downloadable macro reference==
 
==Downloadable macro reference==
  
''This component does not contain any downloadable macros''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Rotate'''
 +
|-
 +
| colspan="2" | Simulation macro called behind the scenes by motor components when rotating.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Angle
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
==Simulation macro reference==
 
  
===<span style="font-weight: normal;"><u><tt>Rotate</tt></u></span>===
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Simulation macro called behind the scenes by motor components when rotating.
+
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetTimeouts'''
 +
|-
 +
| colspan="2" | This function sets the read and write timeouts for the device.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | ReadTimeout
 +
|-
 +
| colspan="2" | Read timeout in milliseconds.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | WriteTimeout
 +
|-
 +
| colspan="2" | Write timeout in milliseconds.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
'''Parameters'''
 
  
:[[Variable Types|FLOAT]] ''Angle''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetBitMode'''
 +
|-
 +
| colspan="2" | Enables different chip modes.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Mask
 +
|-
 +
| colspan="2" | Required value for bit mode mask. This sets up which bits are  inputs and outputs.  A bit value of 0 sets the corresponding pin to  an input, a bit value of 1 sets the corresponding pin to an output.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Mode
 +
|-
 +
| colspan="2" | 0=Reset / 1=AsyncBB / 2=MPSSE / 4=SyncBB / 8=MCUHost / 16=FastOpto / 32=CBUS / 64=SyncFIFO&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
'''Return value'''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetRts'''
 +
|-
 +
| colspan="2" | This function sets the Request To Send (RTS) control signal.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
:''This call does not return a value''
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_GetDeviceInfoDetail'''
 +
|-
 +
| colspan="2" | This function returns an entry from the device information list.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Index
 +
|-
 +
| colspan="2" | Index of the entry in the device info list.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Flags
 +
|-
 +
| colspan="2" | Pointer to unsigned long to store the flag value.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | Type
 +
|-
 +
| colspan="2" | Pointer to unsigned long to store device type.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | ID
 +
|-
 +
| colspan="2" | Pointer to unsigned long to store device ID.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | LocID
 +
|-
 +
| colspan="2" | Pointer to unsigned long to store the device location ID.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | SerNum
 +
|-
 +
| colspan="2" | Pointer to buffer to store device serial number as a null terminated string&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Descript
 +
|-
 +
| colspan="2" | Pointer to buffer to store device description as a null-terminated string&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | TempHandle
 +
|-
 +
| colspan="2" | Pointer to a variable of type FT_HANDLE where the handle will be stored&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_Close'''
 +
|-
 +
| colspan="2" | Close an open device.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
==Property reference==
 
<span style="font-weight: normal;"><u>Input</u></span>
 
  
This property is of type ''Panel object'' and can be referenced with the variable name ''Input''.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_ClrDtr'''
 +
|-
 +
| colspan="2" | This function clears the Data Terminal Ready (DTR) control signal.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
Input connection for example a motor or other active component or primitive.
 
  
<span style="font-weight: normal;"><u>Output</u></span>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_Purge'''
 +
|-
 +
| colspan="2" | This function purges receive and transmit buffers in the device.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Mask
 +
|-
 +
| colspan="2" | Used to determine which buffer to purge, 1=Rx / 2=Tx / 3=Both&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
This property is of type ''Panel object'' and can be referenced with the variable name ''Output''.
 
  
Output connection for example a primitive or a component such as a linear slide or gearbox.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_GetQueueStatus'''
 +
|-
 +
| colspan="2" | Gets the number of bytes in the receive queue.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | RxQueueLength
 +
|-
 +
| colspan="2" | Pointer to a variable of type DWORD which receives the number of bytes in the receive queue.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
<span style="font-weight: normal;"><u>Input Offset</u></span>
 
  
This property is of type ''Floating point'' and can be referenced with the variable name ''InputOffsetZ''.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetDataCharacteristics'''
 +
|-
 +
| colspan="2" | This function sets the data characteristics for the device. &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | WordLength
 +
|-
 +
| colspan="2" | Number of bits per word - Must be 7 or 8&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | StopBits
 +
|-
 +
| colspan="2" | Number of stop bits - Must be 1 or 2&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | Parity
 +
|-
 +
| colspan="2" | Parity 0=None / 1=Odd / 2=Even / 3=Mark / 4=Space&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
Distance along the shaft from the center of the input object to the center of the coupling.
 
  
<span style="font-weight: normal;"><u>Output Offset</u></span>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetBreakOff'''
 +
|-
 +
| colspan="2" | Resets the BREAK condition for the device. &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
This property is of type ''Floating point'' and can be referenced with the variable name ''OutputOffsetZ''.
 
  
Distance along the shaft from the center of the coupling to the center of the output object.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetDivisor'''
 +
|-
 +
| colspan="2" | This function sets the baud rate for the device. It is used to set non-standard baud rates. &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
 +
| width="90%" | Divisor
 +
|-
 +
| colspan="2" | Divisor.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
<span style="font-weight: normal;"><u>Output Translation X</u></span>
 
  
This property is of type ''Floating point'' and can be referenced with the variable name ''OutputOffsetX''.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetBaudRate'''
 +
|-
 +
| colspan="2" | This function sets the baud rate for the device. &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
 +
| width="90%" | BaudRate
 +
|-
 +
| colspan="2" | Baud rate.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
Distance along the X axis from the center of the coupling to the center of the output object.
 
  
<span style="font-weight: normal;"><u>Output Translation Y</u></span>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetDtr'''
 +
|-
 +
| colspan="2" | This function sets the Data Terminal Ready (DTR) control signal.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
This property is of type ''Floating point'' and can be referenced with the variable name ''OutputOffsetY''.
 
  
Distance along the Y axis from the center of the coupling to the center of the output object.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_Open'''
 +
|-
 +
| colspan="2" | Open the device and return a handle which will be used for subsequent accesses.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Device
 +
|-
 +
| colspan="2" | Index of the device to open.  Indices are 0 based.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | ft_Handle
 +
|-
 +
| colspan="2" | Pointer to a variable of type FT_HANDLE where the handle will be stored.  This handle must be used to access the device.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
<span style="font-weight: normal;"><u>Width</u></span>
 
  
This property is of type ''Floating point'' and can be referenced with the variable name ''Width''.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ScanFor232'''
 +
|-
 +
| colspan="2" | Scans for a FTDI D2XX device, returnes true if at least one device was found.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] -
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
''<span style="color:red;">No additional information</span>''
 
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_ResetDevice'''
 +
|-
 +
| colspan="2" | This function sends a reset command to the device. &nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
<span style="font-weight: normal;"><u>Height</u></span>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FT_SetChars'''
 +
|-
 +
| colspan="2" | This function sets the special characters for the device.&nbsp;
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:]] -
 +
| width="90%" | Handle
 +
|-
 +
| colspan="2" | Handle of the device.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | EventCh
 +
|-
 +
| colspan="2" | Event character.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | EventChEn
 +
|-
 +
| colspan="2" | 0 if event character disabled, non-zero otherwise.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | ErrorCh
 +
|-
 +
| colspan="2" | Error character.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" | ErrorChEn
 +
|-
 +
| colspan="2" | 0 if error character disabled, non-zero otherwise.&nbsp;
 +
|-
 +
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
This property is of type ''Floating point'' and can be referenced with the variable name ''Height''.
 
  
''<span style="color:red;">No additional information</span>''
 
  
  
 +
==Property reference==
  
<span style="font-weight: normal;"><u>Depth</u></span>
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
+
|-
This property is of type ''Floating point'' and can be referenced with the variable name ''Depth''.
+
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
''<span style="color:red;">No additional information</span>''
+
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Width
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Height
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Depth
 +
|-
 +
| colspan="2" | &nbsp;
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
 +
|-
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
 +
| width="90%" | Input
 +
|-
 +
| colspan="2" | Input connection for example a motor or other active component or primitive.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
 +
| width="90%" | Output
 +
|-
 +
| colspan="2" | Output connection for example a primitive or a component such as a linear slide or gearbox.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Input Offset
 +
|-
 +
| colspan="2" | Distance along the shaft from the center of the input object to the center of the coupling.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Output Offset
 +
|-
 +
| colspan="2" | Distance along the shaft from the center of the coupling to the center of the output object.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Output Translation X
 +
|-
 +
| colspan="2" | Distance along the X axis from the center of the coupling to the center of the output object.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Output Translation Y
 +
|-
 +
| colspan="2" | Distance along the Y axis from the center of the coupling to the center of the output object.&nbsp;
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''  
 +
|-
 +
|}

Revision as of 21:04, 16 November 2021

Author Matrix TSL
Version 1.0
Category Mechatronics


Coupling component

A simple component to couple together two rotating shafts. An essential component when working with motors, gearboxes, encoders and other rotational systems.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png Rotate
Simulation macro called behind the scenes by motor components when rotating. 
[[File:]] - Angle
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png FT_SetTimeouts
This function sets the read and write timeouts for the device. 
[[File:]] - Handle
Handle of the device. 
[[File:]] - ReadTimeout
Read timeout in milliseconds. 
[[File:]] - WriteTimeout
Write timeout in milliseconds. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetBitMode
Enables different chip modes. 
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE Mask
Required value for bit mode mask. This sets up which bits are inputs and outputs. A bit value of 0 sets the corresponding pin to an input, a bit value of 1 sets the corresponding pin to an output. 
Fc9-u8-icon.png - BYTE Mode
0=Reset / 1=AsyncBB / 2=MPSSE / 4=SyncBB / 8=MCUHost / 16=FastOpto / 32=CBUS / 64=SyncFIFO 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetRts
This function sets the Request To Send (RTS) control signal. 
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_GetDeviceInfoDetail
This function returns an entry from the device information list. 
Fc9-u32-icon.png - ULONG Index
Index of the entry in the device info list. 
Fc9-u32-icon.png - ULONG Flags
Pointer to unsigned long to store the flag value. 
Fc9-u32-icon.png - ULONG Type
Pointer to unsigned long to store device type. 
Fc9-u32-icon.png - ULONG ID
Pointer to unsigned long to store device ID. 
Fc9-u32-icon.png - ULONG LocID
Pointer to unsigned long to store the device location ID. 
Fc9-u8-icon.png - BYTE SerNum
Pointer to buffer to store device serial number as a null terminated string 
Fc9-u8-icon.png - BYTE Descript
Pointer to buffer to store device description as a null-terminated string 
[[File:]] - TempHandle
Pointer to a variable of type FT_HANDLE where the handle will be stored 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_Close
Close an open device. 
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_ClrDtr
This function clears the Data Terminal Ready (DTR) control signal. 
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_Purge
This function purges receive and transmit buffers in the device. 
[[File:]] - Handle
Handle of the device. 
[[File:]] - Mask
Used to determine which buffer to purge, 1=Rx / 2=Tx / 3=Both 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_GetQueueStatus
Gets the number of bytes in the receive queue. 
[[File:]] - Handle
Handle of the device. 
[[File:]] - RxQueueLength
Pointer to a variable of type DWORD which receives the number of bytes in the receive queue. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetDataCharacteristics
This function sets the data characteristics for the device.  
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE WordLength
Number of bits per word - Must be 7 or 8 
Fc9-u8-icon.png - BYTE StopBits
Number of stop bits - Must be 1 or 2 
Fc9-u8-icon.png - BYTE Parity
Parity 0=None / 1=Odd / 2=Even / 3=Mark / 4=Space 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetBreakOff
Resets the BREAK condition for the device.  
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetDivisor
This function sets the baud rate for the device. It is used to set non-standard baud rates.  
[[File:]] - Handle
Handle of the device. 
Fc9-u16-icon.png - UINT Divisor
Divisor. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetBaudRate
This function sets the baud rate for the device.  
[[File:]] - Handle
Handle of the device. 
Fc9-u32-icon.png - ULONG BaudRate
Baud rate. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetDtr
This function sets the Data Terminal Ready (DTR) control signal. 
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_Open
Open the device and return a handle which will be used for subsequent accesses. 
[[File:]] - Device
Index of the device to open. Indices are 0 based. 
[[File:]] - ft_Handle
Pointer to a variable of type FT_HANDLE where the handle will be stored. This handle must be used to access the device. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png ScanFor232
Scans for a FTDI D2XX device, returnes true if at least one device was found. 
[[File:]] - Return


Fc9-comp-macro.png FT_ResetDevice
This function sends a reset command to the device.  
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FT_SetChars
This function sets the special characters for the device. 
[[File:]] - Handle
Handle of the device. 
Fc9-u8-icon.png - BYTE EventCh
Event character. 
Fc9-u8-icon.png - BYTE EventChEn
0 if event character disabled, non-zero otherwise. 
Fc9-u8-icon.png - BYTE ErrorCh
Error character. 
Fc9-u8-icon.png - BYTE ErrorChEn
0 if error character disabled, non-zero otherwise. 
Fc9-u8-icon.png - BYTE Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-15-icon.png Width
 
Fc9-type-15-icon.png Height
 
Fc9-type-15-icon.png Depth
 
Fc9-conn-icon.png Connections
Fc9-type-17-icon.png Input
Input connection for example a motor or other active component or primitive. 
Fc9-type-17-icon.png Output
Output connection for example a primitive or a component such as a linear slide or gearbox. 
Fc9-type-15-icon.png Input Offset
Distance along the shaft from the center of the input object to the center of the coupling. 
Fc9-type-15-icon.png Output Offset
Distance along the shaft from the center of the coupling to the center of the output object. 
Fc9-type-15-icon.png Output Translation X
Distance along the X axis from the center of the coupling to the center of the output object. 
Fc9-type-15-icon.png Output Translation Y
Distance along the Y axis from the center of the coupling to the center of the output object. 
Fc9-conn-icon.png Simulations