电工学习网

 找回密码
 立即注册

欧姆龙PLC数据类型

2014-6-5 09:18| 编辑:电工学习网| 查看: 63051| 评论: 0

欧姆龙plc数据类型


BOOL  Address of a binary bit - a logical Boolean on or off state. This type is typically used for contacts or coils.
CHANNEL  This is a special data type, for backward compatibility. It is an address (non-bit) to data of any type (unsigned or signed, one or more words), so can be used in place of any of the above data-types except NUMBER and BOOL. The data type is weak, and so checking is limited (e.g. CX-Programmer cannot check if the address is being used for BCD or binary values).
DINT  Address of a signed, double binary word.
INT  Address of a signed, single binary word.
LINT  Address of a signed, quad binary word.
NUMBER  A literal numeric value. Not an address. The value can be signed, or floating point.
NUMBERs are used for any literal value or for timer/counter identifiers (in this case, only unsigned integer values are allowed). Floating point values are only suitable within IEEE REAL type operands.
Note: when used as BCD number operands, the value is treated as a hexadecimal value (e.g. using a NUMBER E234Eis equivalent to typing E1234Eas the operand, so that the decimal interpretation is made of the value). The value of a NUMBER data type is assumed to be decimal, unless it is prefixed with '#' for a hexadecimal value.
REAL  Address of a double word floating point value (IEEE format - use the UDINT
type for the BCD, FDIV format).
LREAL  Address of a long word floating point value (IEEE format - use the
ULINT type for the BCD format).
UDINT  Address of an unsigned, double binary word.
UDINT_BCD  Address of an unsigned, double BCD word.
UINT  Address of an unsigned, single binary word.
UINT_BCD  Address of an unsigned, single BCD word
ULINT  Address of an unsigned, quad binary word.
ULINT_BCD  Address of an unsigned, quad BCD word.
WORD  Address of a bit string of 16 bits.
DWORD  Address of a bit string of 32 bits.
LWORD  Address of a bit string of 64 bits.

看过《欧姆龙PLC数据类型》的人还看了以下文章:

发表评论

最新评论

  • 欧姆龙PLC通电后ERR灯常亮
  • 欧姆龙PLC程序读保护的加密方法和释放密码
  • 欧姆龙plc出错报警指令和严重故障报警指令
  • 欧姆龙PLC功能指令
  • 欧姆龙PLC通电后POWER 灯亮,其余灯均不亮
  • 欧姆龙PLC连接扩展模块后PLC 不运行,RUN
热点文章

电工学习网 ( )

GMT+8, 2023-3-7 15:59

Powered by © 2011-2022 www.shop-samurai.com 版权所有 免责声明 不良信息举报

技术驱动未来! 电工学习网—专业电工基础知识电工技术学习网站。

栏目导航: 工控家园 | 三菱plc | 西门子plc | 欧姆龙plc | plc视频教程

返回顶部