Difference between revisions of "Component: MIAC Industrial (MIAC: Addon Modules)"
From Flowcode Help
Jump to navigationJump to searchLine 57: | Line 57: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 63: | Line 65: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===MIAC_Module_RD=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 86: | Line 89: | ||
+ | ===MIAC_Module_SetData=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 134: | Line 138: | ||
+ | ===MIAC_Module_Init=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 152: | Line 157: | ||
+ | ===MIAC_Module_GetData=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 170: | Line 176: | ||
+ | ===MIAC_Module_Message=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 193: | Line 200: | ||
+ | ===MIAC_Module_WR=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 231: | Line 239: | ||
+ | ===LED_Control=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 249: | Line 258: | ||
+ | ===MIAC_Module_PushData=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 267: | Line 277: | ||
+ | ===RS485_Send=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 285: | Line 296: | ||
+ | ===DigitalOutput=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 308: | Line 320: | ||
+ | ===RS485_Initialize=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 331: | Line 344: | ||
+ | ===MIAC_Module_GetAck=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 359: | Line 373: | ||
+ | ===RS485_Receive=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 377: | Line 392: | ||
+ | ===AnalogInput=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 395: | Line 411: | ||
+ | ===Initialize=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 408: | Line 425: | ||
+ | ===DigitalInput=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:53, 3 February 2023
Author | |
Version | 1.0 |
Category | MIAC: Addon Modules |
Contents
- 1 MIAC Industrial component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 MIAC_Module_RD
- 5.2 MIAC_Module_SetData
- 5.3 MIAC_Module_Init
- 5.4 MIAC_Module_GetData
- 5.5 MIAC_Module_Message
- 5.6 MIAC_Module_WR
- 5.7 LED_Control
- 5.8 MIAC_Module_PushData
- 5.9 RS485_Send
- 5.10 DigitalOutput
- 5.11 RS485_Initialize
- 5.12 MIAC_Module_GetAck
- 5.13 RS485_Receive
- 5.14 AnalogInput
- 5.15 Initialize
- 5.16 DigitalInput
- 6 Property reference
MIAC Industrial component
MIAC Industrial Addon component for MIAC System. Add (WIZ810MJ) TCP/IP or Webserver component to the panel to add functionality.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ma_industrial.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ma_industrial.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
MIAC_Module_RD
MIAC_Module_RD | |
- UINT | CAN_ID |
- UINT | CMD_ID |
[[File:]] - | Return |
MIAC_Module_SetData
MIAC_Module_SetData | |
- BYTE | Count |
- BYTE | D0 |
- BYTE | D1 |
- BYTE | D2 |
- BYTE | D3 |
- BYTE | D4 |
- BYTE | D5 |
- VOID | Return |
MIAC_Module_Init
MIAC_Module_Init | |
- UINT | CAN_ID |
- VOID | Return |
MIAC_Module_GetData
MIAC_Module_GetData | |
- BYTE | Index |
- BYTE | Return |
MIAC_Module_Message
MIAC_Module_Message | |
- UINT | CAN_ID |
- UINT | CMD_ID |
- BYTE | Return |
MIAC_Module_WR
MIAC_Module_WR | |
- UINT | CAN_ID |
- UINT | CMD_ID |
[[File:]] - | Count |
[[File:]] - | Start |
[[File:]] - | More |
- VOID | Return |
LED_Control
LED_Control | |
Sets the indicator LED On (State=1) or Off (State=0) | |
- BYTE | State |
- VOID | Return |
MIAC_Module_PushData
MIAC_Module_PushData | |
- BYTE | Data |
- VOID | Return |
RS485_Send
DigitalOutput
DigitalOutput | |
Set a Terminal Output to High (Value=1) or Low (Value=0) | |
- BYTE | Terminal |
- BYTE | Value |
- BYTE | Return |
RS485_Initialize
RS485_Initialize | |
Initialize the parameters for the RS485 communication channel | |
- BYTE | DataSize |
Bit width, 8 or 9 bits | |
- INT | BaudRate |
- UINT | Return |
MIAC_Module_GetAck
MIAC_Module_GetAck | |
- UINT | CAN_ID |
- UINT | CMD_ID |
- UINT | TimeOut |
- BYTE | Return |
RS485_Receive
AnalogInput
AnalogInput | |
Read the ADC value of a Terminal Returns 12 bit ADC reading | |
- BYTE | Terminal |
Terminal number to be read | |
- UINT | Return |
Initialize
Initialize | |
Forces a software reset on the module | |
- VOID | Return |
DigitalInput
DigitalInput | |
Read the value of a terminal | |
- BYTE | Terminal |
- BYTE | Return |
Property reference
Properties | |
Module Type | |
Module Address | |