Difference between revisions of "Component: MIAC Industrial (MIAC: Addon Modules)"
From Flowcode Help
Jump to navigationJump to search| Line 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 | |
| CAN_ID | |
| CMD_ID | |
| [[File:]] - | Return |
MIAC_Module_SetData
| MIAC_Module_SetData | |
| Count | |
| D0 | |
| D1 | |
| D2 | |
| D3 | |
| D4 | |
| D5 | |
| Return | |
MIAC_Module_Init
| MIAC_Module_Init | |
| CAN_ID | |
| Return | |
MIAC_Module_GetData
| MIAC_Module_GetData | |
| Index | |
| Return | |
MIAC_Module_Message
| MIAC_Module_Message | |
| CAN_ID | |
| CMD_ID | |
| Return | |
MIAC_Module_WR
| MIAC_Module_WR | |
| CAN_ID | |
| CMD_ID | |
| [[File:]] - | Count |
| [[File:]] - | Start |
| [[File:]] - | More |
| Return | |
LED_Control
| LED_Control | |
| Sets the indicator LED On (State=1) or Off (State=0) | |
| State | |
| Return | |
MIAC_Module_PushData
| MIAC_Module_PushData | |
| Data | |
| Return | |
RS485_Send
DigitalOutput
| DigitalOutput | |
| Set a Terminal Output to High (Value=1) or Low (Value=0) | |
| Terminal | |
| Value | |
| Return | |
RS485_Initialize
| RS485_Initialize | |
| Initialize the parameters for the RS485 communication channel | |
| DataSize | |
| Bit width, 8 or 9 bits | |
| BaudRate | |
| Return | |
MIAC_Module_GetAck
| MIAC_Module_GetAck | |
| CAN_ID | |
| CMD_ID | |
| TimeOut | |
| Return | |
RS485_Receive
AnalogInput
| AnalogInput | |
| Read the ADC value of a Terminal Returns 12 bit ADC reading | |
| Terminal | |
| Terminal number to be read | |
| Return | |
Initialize
| Initialize | |
| Forces a software reset on the module | |
| Return | |
DigitalInput
| DigitalInput | |
| Read the value of a terminal | |
| Terminal | |
| Return | |
Property reference
| Properties | |
| Module Type | |
| Module Address | |