Difference between revisions of "Component: Data Transfer (API UART) ()"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 34: | Line 36: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 155: | Line 159: | ||
|- | |- | ||
| colspan="2" | Allows an I/O pin to be automatically assigned when transmitting and receiving. | | colspan="2" | Allows an I/O pin to be automatically assigned when transmitting and receiving. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | RS485 Properties | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
Line 170: | Line 178: | ||
|- | |- | ||
| colspan="2" | Decides the state of the RS485 data direction pin when receiving data. | | colspan="2" | Decides the state of the RS485 data direction pin when receiving data. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 17:21, 9 November 2022
Author | Matrix Ltd |
Version | 1.2 |
Category |
Contents
Data Transfer (API UART) component
Comms data injector to allow a Serial UART peripheral to be attached to a comms component. The component will forward any byte transactions through to a SCADA Slave enabled hardware. Enabling the Flowcode simulation runtime to directly drive a physical UART.
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
InitialiseInjector |
Sets up the injector ready to receive commands or send data | |
![]() |
InjectorName |
Name of the console that will be created | |
![]() |
Return |
![]() |
TxByte |
Puts a byte onto the comms channel. | |
![]() |
DataByte |
![]() |
Return |
![]() |
RxByte |
Attempt to receive a byte back from the injector 0 - 255 = Valid data 256 = RX timeout no data available | |
![]() |
Return |
![]() |
GetConsoleHandle |
Gets the handle to the console allowing data displaying on the panel etc. | |
![]() |
Return |