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

版本 1.12.0.0 (108.8 KB) 作者: Marc Jakobi
The transferred byte-data is automatically translated to the respective data types.
96.0 次下载
更新时间 2022/10/15

# 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

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Application Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
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

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库