8200-1302 通过网络连接传输的数据
¥7,748.00
Description
每个8200-1302都可以访问主要的“原子”数据类型,但是它们可以以不同的方式出现。
从…开始布尔或布尔类型。这是一个单比特通常是内部状态,可能是定时器或计数器终止位,或者是输入/输出标签。
离散数据类型只是一个布尔值,不需要控制器的进一步寻址。如果这个bool被称为“Temp_Alarm_Status”,它只能打开或关闭。然而,任何整数也可以描述布尔数据位。在这种情况下,我们不仅必须指定整数的名称(或内存位置),还必须指定整数的哪些位是必需的。
尽管8200-1302每个整数都可以被分解成它的组成位,但并不是所有的整数都应该以这种方式使用。考虑这种差异的一种方法是看整数是否表示一个值,如模拟温度或压力。如果是这样的话,就没有理由在布尔成分中使用这个整数。但是,如果整数是一串离散的信息位,例如通过网络连接传输的数据或由许多布尔值组成的I/O模块,则考虑每个离散位的重要性是有意义的。
Each 8200-1302 can access the main “atomic” data types, but they can appear in different ways.
Starting from Boolean or Boolean type. This is a single bit, usually an internal state, which may be a timer or counter termination bit, or an input/output tag.
The discrete data type is just a Boolean value and does not require further addressing by the controller. If this bool is referred to as “Temp-Alarm Status”, it can only be turned on or off. However, any integer can also describe Boolean data bits. In this case, we must not only specify the name (or memory location) of the integer, but also specify which bits of the integer are required.
Although each integer from 8200-1302 can be decomposed into its constituent bits, not all integers should be used in this way. One way to consider this difference is to see if integers represent a value, such as simulating temperature or pressure. If that’s the case, there’s no reason to use this integer in Boolean components. However, if an integer is a string of discrete information bits, such as data transmitted through network connections or I/O modules composed of many Boolean values, it makes sense to consider the importance of each discrete bit.
Reviews
There are no reviews yet.