Component: MIAC (PIC) CAN Slave (MIAC: Addon Modules)
From Flowcode Help
(Redirected from Component: ID 184de24b daf7 457c 95cb d9b97b939839)
Jump to navigationJump to search| Author | Matrix Ltd |
| Version | 1.4 |
| Category | MIAC: Addon Modules |
Contents
MIAC (PIC) CAN Slave component
MIAC Slave for MIAC System. Requires Slave firmware program downloaded to a MIAC (PIC) to act as a CAN connected Slave device.
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| InputANALOG_10Bit | |
| Returns the 10 bit value for the analogue input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input to read from 1 to 8. | |
| Return | |
| RelayOFF | |
| Turns off the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn off. From 1 to 4. | |
| Return | |
| PrintString | |
| Prints the given character string to the display at the current cursor position and moves the cursor position. | |
| Str | |
| The string to send to the display. | |
| Return | |
| GetKeypad | |
| Returns the key code of the key that is pressed, otherwise if nothing is pressed then returns 255 | |
| Return | |
| DisplayStart | |
| Initialise the display ready for use | |
| Return | |
| DisplayCommand | |
| Sends the given command to the display | |
| Cmd | |
| Return | |
| PrintASCII | |
| Prints the given character to the display at the current cursor position and increments the cursor position. | |
| Char | |
| ASCII code of the character to print. | |
| Return | |
| PrintNumber | |
| Prints the given number to the display starting at the current cursor position and moves the cursor position. | |
| n | |
| Return | |
| MIAC_Module_SetData | |
| Count | |
| D0 | |
| D1 | |
| D2 | |
| D3 | |
| D4 | |
| D5 | |
| Return | |
| MIAC_Module_Init | |
| CAN_ID | |
| Return | |
| MIAC_Module_GetData | |
| Index | |
| Return | |
| MIAC_Module_Message | |
| CAN_ID | |
| CMD_ID | |
| Return | |
| DisplayClear | |
| Clears the display to white space | |
| Return | |
| MIAC_Module_WR | |
| CAN_ID | |
| CMD_ID | |
| [[File:]] - | Count |
| [[File:]] - | Start |
| [[File:]] - | More |
| Return | |
| MIAC_Module_PushData | |
| Data | |
| Return | |
| OutputOFF | |
| Outputs a digital low state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| RelayON | |
| Turns on the requested relay given by parameter RelayID, values 1 to 4 | |
| RelayID | |
| The relay to turn on from 1 to 4. | |
| Return | |
| OutputON | |
| Outputs a digital high state on the output requested by parameter TransID (Outputs 1 to 4) | |
| TransID | |
| 1 to 4 (Outputs A to D) | |
| Return | |
| InputDIGITAL | |
| Returns the digital state of the input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input number from 1 to 8. | |
| Return | |
| MIAC_Module_GetAck | |
| CAN_ID | |
| CMD_ID | |
| TimeOut | |
| Return | |
| InputANALOG | |
| Returns the 8 bit value for the analogue input requested by parameter InputID (Inputs 1 to 8) | |
| InputID | |
| The input to read from 1 to 8. | |
| Return | |
Property reference
| Properties | |
| Module Type | |
| Module Address | |
| Connections | |
| Simulations | |