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 444: | Line 446: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Revision as of 12:22, 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 AnalogInput
- 5.2 DigitalInput
- 5.3 DigitalOutput
- 5.4 Initialize
- 5.5 LED_Control
- 5.6 MIAC_Module_GetAck
- 5.7 MIAC_Module_GetData
- 5.8 MIAC_Module_Init
- 5.9 MIAC_Module_Message
- 5.10 MIAC_Module_PushData
- 5.11 MIAC_Module_RD
- 5.12 MIAC_Module_SetData
- 5.13 MIAC_Module_WR
- 5.14 RS485_Initialize
- 5.15 RS485_Receive
- 5.16 RS485_Send
- 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_temp/ma_industrial.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/ma_industrial.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AnalogInput
AnalogInput | |
Read the ADC value of a Terminal Returns 12 bit ADC reading | |
- BYTE | Terminal |
Terminal number to be read | |
- UINT | Return |
DigitalInput
DigitalInput | |
Read the value of a terminal | |
- BYTE | Terminal |
- BYTE | Return |
DigitalOutput
DigitalOutput | |
Set a Terminal Output to High (Value=1) or Low (Value=0) | |
- BYTE | Terminal |
- BYTE | Value |
- BYTE | Return |
Initialize
Initialize | |
Forces a software reset on the module | |
- VOID | Return |
LED_Control
LED_Control | |
Sets the indicator LED On (State=1) or Off (State=0) | |
- BYTE | State |
- VOID | Return |
MIAC_Module_GetAck
MIAC_Module_GetAck | |
- UINT | CAN_ID |
- UINT | CMD_ID |
- UINT | TimeOut |
- BYTE | Return |
MIAC_Module_GetData
MIAC_Module_GetData | |
- BYTE | Index |
- BYTE | Return |
MIAC_Module_Init
MIAC_Module_Init | |
- UINT | CAN_ID |
- VOID | Return |
MIAC_Module_Message
MIAC_Module_Message | |
- UINT | CAN_ID |
- UINT | CMD_ID |
- BYTE | Return |
MIAC_Module_PushData
MIAC_Module_PushData | |
- BYTE | Data |
- VOID | Return |
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_WR
MIAC_Module_WR | |
- UINT | CAN_ID |
- UINT | CMD_ID |
[[File:]] - | Count |
[[File:]] - | Start |
[[File:]] - | More |
- VOID | 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 |
RS485_Receive
RS485_Send
Property reference
Properties | |
Module Type | |
Module Address | |