青益
青益

IEC61131-3 数据类型对比

系统管理IEC61131-3 数据类型对应 .NET 数据类型C# 关键字Visual Basic 关键字备注
BITBOOLSystem.BooleanboolBoolean布尔值,表示真或假。
BIT8BOOLSystem.BooleanboolBoolean同样表示布尔值。
BITARR8BYTESystem.BytebyteByte8 位无符号整数。
BITARR16WORDSystem.UInt16ushort-16 位无符号整数。
BITARR32DWORDSystem.UInt32uint-32 位无符号整数。
INT8SINTSystem.SBytesbyte-8 位有符号整数。
INT16INTSystem.Int16shortShort16 位有符号整数。
INT32DINTSystem.Int32intInteger32 位有符号整数。
INT64LINTSystem.Int64longLong64 位有符号整数。
UINT8USINTSystem.BytebyteByte8 位无符号整数。
UINT16UINTSystem.UInt16ushort-16 位无符号整数。
UINT32UDINTSystem.UInt32uint-32 位无符号整数。
UINT64ULINTSystem.UInt64ulong-64 位无符号整数。
FLOATREALSystem.SinglefloatSingle单精度浮点数。
DOUBLELREALSystem.DoubledoubleDouble双精度浮点数。
Tags: 计划 学习记录
暂无评论

添加新评论