Jump to content

Component: MIAC Advanced (MIAC: Addon Modules)

From Flowcode Help
Revision as of 14:21, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"")
Author
Version 1.0
Category MIAC: Addon Modules


MIAC Advanced component

Advanced Addon for MIAC System

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

UART_ReceiveChar
 
- BYTE Timeout
 
- UINT Return


PWM_Enable
Enable the PWM on Channel 1 or 2 
- BYTE Channel
PWM Channel 1 or 2 
- VOID Return


MI2C_Send_Byte_Transaction
 
[[File:]] - Device_ID
 
[[File:]] - AddrH
 
[[File:]] - AddrL
 
[[File:]] - Data
 
- VOID Return


RTC_Read_Time
 
[[File:]] - HMS
 
[[File:]] - Return


RTC_Set_Date
 
[[File:]] - Day
 
[[File:]] - Month
 
[[File:]] - Year
 
- VOID Return


SPI_Uninit
 
- VOID Return


MI2C_Stop
 
- VOID Return


DAC_WriteChannels
Wrtie values to both DAC Channels 
- INT ChannelA
 
- INT ChannelB
 
- VOID Return


UART_SendString
 
- STRING Text
 
- VOID Return


MIAC_Module_SetData
 
- BYTE Count
 
- BYTE D0
 
- BYTE D1
 
- BYTE D2
 
- BYTE D3
 
- BYTE D4
 
- BYTE D5
 
- VOID Return


MIAC_Module_Init
 
- UINT CAN_ID
 
- VOID Return


MIAC_Module_GetData
 
- BYTE Index
 
- BYTE Return


SPI_Init
 
- VOID Return


MIAC_Module_Message
 
- UINT CAN_ID
 
- UINT CMD_ID
 
- BYTE Return


RTC_Reg_Write
 
[[File:]] - Reg
 
[[File:]] - Value
 
- VOID Return


MIAC_Module_WR
 
- UINT CAN_ID
 
- UINT CMD_ID
 
[[File:]] - Count
 
[[File:]] - Start
 
[[File:]] - More
 
- VOID Return


MI2C_Restart
 
- VOID Return


LED_Control
Sets the indicator LED On (State=1) or Off (State=0) 
- BYTE State
 
- VOID Return


RTC_Read_Date
 
[[File:]] - DMY
 
[[File:]] - Return


SPI_Get_Char
 
[[File:]] - Return


UART_Initialize
 
- VOID Return


SPI_Send_Char
 
[[File:]] - Char
 
- VOID Return


MI2C_Transmit_Byte
 
[[File:]] - Data
 
[[File:]] - Return


Sensor_Read
 
[[File:]] - Sensor
 
[[File:]] - HiRes
 
- INT Return


MIAC_Module_PushData
 
- BYTE Data
 
- VOID Return


MI2C_Receive_Byte
 
[[File:]] - Last
 
- BYTE Return


MI2C_Init
 
- VOID Return


PWM_Disable
Disable the PWM on Channel 1 or 2 
- BYTE Channel
PWM Channel 1 or 2 
- VOID Return


RTC_Reg_Read
 
[[File:]] - Reg
 
[[File:]] - Return


MI2C_Receive_Byte_Transaction
 
[[File:]] - Device_ID
 
[[File:]] - AddrH
 
[[File:]] - AddrL
 
[[File:]] - Return


DigitalOutput
Set a Terminal Output to High (Value=1) or Low (Value=0) 
- BYTE Terminal
 
- BYTE Value
 
- BYTE Return


MIAC_Module_GetAck
 
- UINT CAN_ID
 
- UINT CMD_ID
 
- UINT TimeOut
 
- BYTE Return


DAC_Write
 
[[File:]] - Channel
 
- INT Value
 
- VOID Return


AnalogInput
Read the ADC value of a Terminal Returns 12 bit ADC reading 
- BYTE Terminal
Terminal number to be read 
- UINT Return


Initialize
Forces a software reset on the module 
- VOID Return


RTC_Get_Data
 
- VOID Return


RTC_Set_Time
 
[[File:]] - Hour
 
[[File:]] - Min
 
[[File:]] - Sec
 
- VOID Return


UART_ReceiveString
 
- BYTE Timeout
 
- BYTE NumBytes
 
- STRING Return


PWM_SetDuty
Sets the PWM Duty cycle on Channel 1 or 2 
- BYTE Channel
PWM Channel 1 or 2 
- BYTE Duty
Duty cycle (8 bit value) 
- VOID Return


MI2C_Start
 
- VOID Return


DigitalInput
Read the value of a terminal  
- BYTE Terminal
 
- BYTE Return


UART_SendChar
 
- UINT Character
 
- VOID Return



Property reference

Properties
Module Type
 
Module Address
 
Period Overflow
 
Prescaler
 
Frequency (KHz)
 
Period (uS)
 
Baud Rate
 
Data Bits
 
Return Type
 
Echo
 
Flow Control
 
Rate
Prescale option selector 
Clock Polarity
Clock Polarity setting, inactive (idle) state 
Clock Phase
Clock Phase (data change edge) selection 
Sample Point
Data bit read sample point 
Baud Select
Baud rate option selector 
Slew Rate Control
Slew Rate Control Enabled or Disabled 
SMBus Inputs
When Enabled input logic thresholds are compliant with SMBus specification 
Connections
Simulations