TK803V018电缆
从状态更改LSAP COMREQ请求FIP消息
使用此COMREQ请求在状态更改LSAP(链路)上接收的所有FIP消息服务接入点)。通过该LSAP接收的消息将包括SC、RC和PI消息类型。该LSAP的值由FIP总线控制器在9100h固定。
当从网络接收到消息时,它们将存储在消息缓冲区中。
消息缓冲区的格式和使用说明如下。命令块中请求状态更改消息的示例此示例从状态更改LSAP请求消息。它将%R1指定为COMREQ状态字的位置和%R100作为PLC中的起始位置
消息缓冲区的内存大小为2条消息。消息缓冲区
一旦成功执行COMREQ,FIP总线控制器将输入
将状态更改或通用链路服务接入点消息发送到指定位置。PLC存储器中消息数据的结构如下所示。
不管实际消息长度如何,每个记录占用132个寄存器。第二每个记录的单词表示消息内容的长度。
以下示例显示了一个包含2个字的消息缓冲区。消息长度
下一条消息中的字节数135–136
来源:LSAP下一条消息的源LSAP137–264
消息内容下一条消息的内容
当mor使用此COMREQ请求在指定链路服务访问上接收的FIP消息时点(LSAP)。PLC存储器中该数据的格式如前页所示。命令块中请求通用消息的示例
此示例请求从通用链路服务接入点接收消息0x1005。它将%R1指定为COMREQ状态字的位置,将%R100指定为PLC内存中消息缓冲区的起始位置,大小为2条消息。报警触点
可包含在90-70系列应用程序中的逻辑触点PLC。这些触点可用于指示模拟值何时达到指定的报警限制。
COMV的应用
应用程序COMV是传输一个或多个更多应用程序变量。除通用设备外,应用程序COMV包括
在构建网段时创建。应用程序COMV由创建
将由所述一个设备产生的应用变量分组在一起。COMV当网段为正在建造。
对于通用设备,COMV标识符及其大小由使用者传输的数据采用字节表的形式。
Request FIP Messages from the State Change LSAP COMREQ
Use this COMREQ to request all FIP messages received on the State Change LSAP (Link
Service Access Point). Messages received via this LSAP will include the SC, RC, and PI
message types. The value for this LSAP is fixed by the FIP Bus Controller at 9100h.
As messages are received from the network, they will be stored in the Message Buffer Area.
The format and use of the Message Buffer Area are explained below.
Example Request State Change Messages Command Block
This example requests messages from the State Change LSAP. It specifies %R1 as the
location of the COMREQ Status Word and %R100 as the starting location in PLC
memory for the message buffer with a size of 2 messages.Message Buffer Area
Once the COMREQ is successfully executed, the FIP Bus Controller places incoming
State Change or generic Link Service Access Point messages into PLC memory at the
specified location. The structure of the message data in PLC memory is shown below.
Each record occupies 132 registers, regardless of the actual message length. The second
word of each record indicates the length of the message’s content.
The following example shows a Message Buffer Area with 2 words.
Message Length
The number of bytes in the next message
135–136
Source LSAP
The source LSAP of the next message
137–264
Message Content
The content of the next message
When mor Use this COMREQ to request FIP messages received on the specified Link Service Access
Point (LSAP). The format of this data in PLC memory is shown on the previous page.
Example Request Generic Messages Command Block
This example requests to receive messages from the generic Link Service Access Point
0x1005. It specifies %R1 as the location of the COMREQ Status Word and %R100 as the
starting location in PLC memory for the Message Buffer Area of size of 2 messages.Alarm Contacts
Logical contacts that can be included in the application program of the Series 90-70
PLC. These contacts can be used to indicate when an analog value has reached an
assigned alarm limit.
Application COMV
An Application COMV is a Communication Variable (COMV) that transports one or
more application variables. Except for Generic Devices, application COMVs are
created when the network segment is built. Application COMVs are created by
grouping together the application variables produced by the one device. The COMV
identifier, its size and its composition are also defined when the network segment is
being built.
In the case of Generic Devices, the COMV identifier and its size are supplied by the
user. The transferred data take the form of a byte table.