Component: MIAC Industrial (MIAC: Addon Modules)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | MIAC: Addon Modules |
Contents
MIAC Industrial component
MIAC Industrial Addon component for MIAC System. Add (WIZ810MJ) TCP/IP or Webserver component to the panel to add functionality.
Examples
No additional examples
Downloadable macro reference
LED_Control
Sets the indicator LED On (State=1) or Off (State=0)
Parameters
- BYTE State
Return value
- This call does not return a value
RS485_Send
Send a character to RS485.
Returns 0 for successful acknowledgment, otherwise:
0x8000 Unexpected acknowledgment ID
0xa000 Insufficient data in acknowledgment
0xc000 Unexpected CAN ID acknowledgment
0xe000 Timeout, no acknowledgment received
Parameters
- INT Char
Return value
DigitalOutput
Set a Terminal Output to High (Value=1) or Low (Value=0)
Parameters
- BYTE Terminal
- BYTE Value
Return value
RS485_Initialize
Initialize the parameters for the RS485 communication channel
Parameters
- BYTE DataSize
- Bit width, 8 or 9 bits
- INT BaudRate
Return value
RS485_Receive
Wait up to Timeout (mS) for a character to be received.
Returns the character if successful, otherwise:
0x8000 Unexpected acknowledgment ID
0xa000 Insufficient data in acknowledgment
0xc000 Unexpected CAN ID acknowledgment
0xe000 Timeout, nothing received
Parameters
- UINT Timeout
- Timeout in mS
Return value
AnalogInput
Read the ADC value of a Terminal
Returns 12 bit ADC reading
Parameters
- BYTE Terminal
- Terminal number to be read
Return value
Initialize
Forces a software reset on the module
Parameters
- This macro has no parameters
Return value
- This call does not return a value
DigitalInput
Read the value of a terminal
Parameters
- BYTE Terminal
Return value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Module Type
This property is of type Fixed list of ints and can be referenced with the variable name MODULE_TYPE.
No additional information
Module Address
This property is of type Fixed list of ints and can be referenced with the variable name ORDINAL.
No additional information