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 descargas
Actualizado 15 oct 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

Citar como

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. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Application Deployment en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
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

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.