Status-Control (...) Negative-Acknowledge-1

Status-Control (...) Negative-Acknowledge-1訊息會從節點流向應用程式,以及從應用程式流向節點。 它會與主要邏輯單元搭配使用, (PLU) 連線。

語法

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
這個緩衝區元素中的資料開始。

13 或 10 代表輸出區段要求/回應單位 (區段的後續區段)

hdreptr– > endd
這個緩衝區專案中的資料結束。

hdreptr– > trpad
保留的。

hdreptr– > dataru
資料 RU。

備註

  • 如果應用程式使用 FMI) (函式管理介面的 LUA 變體,則傳輸標頭 (TH) 、回應標頭 (RH) ,而 RU 則包含在資料元素中,而 起始 欄位會指向 TH。 未定義ctlflag1 和 ctlflag2位元組,不應使用。 應該改用來自資料的適當值。 (如需 FMI 的詳細資訊,請參閱 FMI 概念.)

  • 如果應用程式未使用 FMI 的 LUA 變體,則訊息只包含緩衝區標頭。 沒有緩衝區元素。

  • 對於從應用程式到本機節點的訊息,訊息索引鍵欄位必須符合對應 Status-Control 要求中的訊息索引鍵。

  • 如需 Status-Control 控制項類型代碼的摘要,請參閱 Status-Control Message中的表格。