状态控制 (...) Negative-Acknowledge-1

Status-Control (...) Negative-Acknowledge-1 消息从节点流向应用程序,从应用程序流向节点。 它用于主逻辑单元连接之中。

语法

struct Status-Control(...) Negative-Acknowledge-1 {  
    PTRBFHDR  nxtqptr;  
    PTRBFELT  hdreptr;  
    CHAR      numelts;  
    CHAR      msgtype;  
    CHAR      srcl;  
    CHAR      srcp;  
    INTEGER   srci;  
    CHAR      destl;  
    CHAR      destp;  
    INTEGER   desti;  
    CHAR      sfhdr.stctlhdr.ctlstat;  
    CHAR      sfhdr.stctlhdr.ctlqual;  
    CHAR      sfhdr.stctlhdr.ctltype  
    CHAR      sfhdr.stctlhdr.ctlack;  
    CHAR      sfhdr.stctlhdr.ctlflag1;  
    CHAR      sfhdr.stctlhdr.ctlflag2;  
    INTEGER   sfhdr.stctlhdr.ctlnumb1;  
    INTEGER   sfhdr.stctlhdr.ctlnumb2;  
    INTEGER   sfhdr.stctlhdr.ctlmsgk;  
};   
struct Status-Control(...) Negative-Acknowledge-1 {  
    PTRBFELT   hdreptr->elteptr;  
    INTEGER    hdreptr->startd;  
    INTEGER    hdreptr->endd;  
    CHAR       hdreptr->trpad;  
    CHAR[268]  hdreptr->dataru;  
};   

成员

nxtqptr
指向下一个缓冲区标头的指针。

hdreptr
指向缓冲区元素的指针(如果不使用 LUA,则为 NIL)。

numelts
缓冲区元素数(如果不使用 LUA,则为 0x00)。

msgtype
消息类型 STATFMI (0x21)。

srcl
源位置。

srcp
源伙伴。

srci
源索引。

destl
目标位置。

destp
目标伙伴。

desti
目标索引。

sfhdr.stctlhdr.ctlstat
状态类型 STCNTRL (0x02) 。

sfhdr.stctlhdr.ctlqual
控制限定符ACKNEG1 (0x03) 。

sfhdr.stctlhdr.ctltype
控件类型。

sfhdr.stctlhdr.ctlack
保留。

sfhdr.stctlhdr.ctlflag1
应用程序标志 1。

sfhdr.stctlhdr.ctlflag2
应用程序标志 2。

sfhdr.stctlhdr.ctlnumb1
感知代码 1。

sfhdr.stctlhdr.ctlnumb2
感知代码 2。

sfhdr.stctlhdr.ctlmsgk
消息键。

仅 LUA(请参阅“备注”):
元素

hdreptr-elteptr>
指向缓冲区元素 (NIL) 的指针。

hdreptr-startd>
数据在此缓冲区元素中的起点。

对于出站分段请求/响应单元 (RU) 的第二个段和后续段,值为 13 或 10

hdreptr-endd>
此缓冲区元素中的结束数据。

hdreptr-trpad>
保留。

hdreptr-dataru>
数据 RU。

注解

  • 如果应用程序使用函数管理接口的 LUA 变体 (FMI) ,则传输标头 (TH) 、响应标头 (RH) 和 RU 包含在数据元素中,并且 起始 字段指向 TH。 ctlflag1ctlflag2 字节未定义,不应使用。 应改用数据中的相应值。 (有关 FMI 的详细信息,请参阅 FMI 概念。)

  • 如果应用程序未使用 FMI 的 LUA 变体,则消息仅包含缓冲区头。 无缓冲区元素。

  • 对于从应用程序到本地节点的消息,消息键字段必须与相应的 状态控制 请求中的消息键匹配。

  • 有关 Status-Control 控件类型代码的摘要,请参阅 Status-Control Message 中的表。