Difference between revisions of "Component: SCADA (Dummy) (SCADA Slaves)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
Revision as of 14:42, 16 January 2023
| Author | Matrix TSL |
| Version | 1.0 |
| Category | SCADA Slaves |
Contents
SCADA (Dummy) component
Dummy SCADA Slave component to enable injector referencing. Supports: Digital IO / ADC / I2C / SPI / PWM See Flowcode Help Wiki for firmware.
Component Source Code
Please click here for the component source code: FC_Comp_Source_OLD_API_Slave_Dummy.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| I2CInitialise | |
| Initialsie the I2C module ready for communications | |
| Return | |
| IOGetInputPin | |
| Sets the selected digital pin to an input and reads the input state. | |
| Pin | |
| Range: 0-13 | |
| Return | |
| I2CRestart | |
| Put the I2C Module into Restart mode | |
| Return | |
| I2CStart | |
| Put the I2C Module into Start mode | |
| Return | |
| SPITransfer | |
| Transfer a byte using the SPI bus | |
| DataOut | |
| Return | |
| I2CReceive | |
| Receive a byte using the I2C bus | |
| Last | |
| Last byte to receive: Range 0-1 | |
| Return | |
| I2CStop | |
| Put the I2C Module into Stop mode | |
| Return | |
| SPIPrescaler | |
| Modify the speed of the SPI bus | |
| Prescaler | |
| Range: 0-2 | |
| Return | |
| IOSetOutputPin | |
| Sets the selected digital pin to an output and assigns the output state. | |
| Pin | |
| Range: 0-13 | |
| State | |
| Range: 0-1 | |
| Return | |
| SPIInitialise | |
| Initialsie the SPI module ready for communications | |
| Return | |
| I2CSend | |
| Transmit a byte using the I2C bus | |
| DataOut | |
| Return | |
| Initialise | |
| Initialise the comms to the Arduino board ready for commands to be sent. | |
| Return | |
Property reference
| Properties |