TCP/IP client/server connection between Matlab and IEC 16499 CLIENT/SERVER FBs running on FORTE

The transferred byte-data is automatically translated to the respective data types.
96 Downloads
Aktualisiert 15 Okt 2022

# tcpip4diac
Enables TCP/IP client/server connection between Matlab and 4diac Communication Service Interface Function blocks (SERVER/CLIENT).
Subclass of Matlab's tcpip class. The transferred byte-data is automatically translated to the respective data types.
TCPIP4DIAC Construct a TCPIP client or server object that can communicate with 4diac CLIENT/SERVER function blocks.
The currently supported IEC 61499 data type transfers are:
BOOL <--> locical
SINT <--> int8
INT <--> int16
DINT <--> int32
LINT <--> int64
USINT <--> uint8
UINT <--> uint16
UDINT <--> uint32
ULINT <--> uint64
REAL <--> single
LREAL <--> double
STRING <--> char
WSTRING <--> string (not recommended, since Matlab does not have a wide char equivalent)
DATE_AND_TIME <--> 1x6 double (datevec format)

New: All of the above data types (with the exception of STRING and WSTRING) are now also supported for arrays (translated to Matlab as Nx1 vectors). However, only LREAL arrays have been tested extensively. Others should work, too, but have not yet been tested by the author.

Author: Marc Jakobi, May 2017, HTW-Berlin

Zitieren als

Marc Jakobi (2024). TCP/IP client/server connection between Matlab and IEC 16499 CLIENT/SERVER FBs running on FORTE (https://github.com/mrcjkb/tcpip4diac), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Application Deployment finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.12.0.0

Added support for IEC 61499 arrays.

1.1.0.0

- Added support for DATE_AND_TIME
- Multiple STRING and WSTRING inputs and outputs at any positions are now possible.
- Using WSTRING issues a warning message because Matlab does not support wide chars and the usage has not been extensively tested.

1.0.0.0

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.