ISO8073_FB (FB) ¶ FUNCTION_BLOCK ISO8073_FB Session Protokol Maschine InOut: Scope Name Type Input pBuffer POINTER TO ARRAY [0..8191] OF BYTE diRxLen DINT Inout tyRxSPDU tyISO_SPDU tyTxSPDU tyISO_SPDU Output tyTxISOSPDU tyISO8073_PDU Structure: RX_AK (Action) RX_CR (Action) RX_DR (Action) RX_DT (Action) RX_EA (Action) RX_ED (Action) RX_ER (Action) RX_RJ (Action) TX_CC (Action) TX_CR (Action) TX_DC (Action) TX_DT (Action) _Doku (Action) _LoggError (Action)
ISO8073_FB.TX_DC (ACT) ¶ Disconnect
ISO8073_FB.TX_DT (ACT) ¶ ################################# Data ###########################################
ISO8073_FB._Doku (ACT) ¶ TPDU Code TPDU Code (4 bits) TPDU Codes: Code Class 0 1 2 3 4 MSB LSB CR - connection request………. x x x x x 1110 xxxx CC - connection confirm………. x x x x x 1101 xxxx DR - disconnect request………. x x x x x 1000 0000 DC - disconnect confirm………. x x x x 1100 0000 DT - data…………………… x x x x x 1111 0000 ED - expedited data………….. x NF x x 0001 0000 AK - data acknowledgement…….. NRC NF x x 0100 zzzz EA - expedited data acknowledgmt. x NR x x 0010 0000 RJ - reject…………………. x x 0101 zzzz ER - TPDU error……………… x x x x x 0111 0000 Code xxxx (Bits 4 bis 1): verwendet zur CDT-Signalisierung; auf 0000 gesetzt in den Klassen 0 und 1. zzzz (Bits 4 bis 1): verwendet zur CDT-Signalisierung in den Klassen 2,3,4; auf 1111 gesetzt in Klasse 1. NF: nicht verfügbar, wenn die Option ‘not-explicit flow control’ gewählt wurde. NRC: nicht verfügbar, wenn die Option ‘receipt confirmation’ gewählt wurde. CDT: Credit.
ISO8073_FB._LoggError (ACT) ¶
ISO8327_FB (FB) ¶ FUNCTION_BLOCK ISO8327_FB Session Protokol Maschine InOut: Scope Name Type Input ptyTxISOSPDU POINTER TO tyISO8073_PDU Inout tyRxSPDU tyISO_SPDU tyTxSPDU tyISO_SPDU Output nState INT sState STRING(47) Structure: NewState (Action) RX_AA (Action) RX_AB (Action) RX_AC (Action) RX_CDO (Action) RX_CN (Action) RX_DN (Action) RX_DT (Action) RX_FN (Action) RX_GT (Action) RX_GTA (Action) RX_OA (Action) RX_PR (Action) RX_PT (Action) RX_RF (Action) TX_AC (Action) TX_DT (Action) X_AD (Action) X_ADA (Action) X_AE (Action) X_AEA (Action) X_AI (Action) X_AIA (Action) X_AR (Action) X_AS (Action) X_CD (Action) X_CDA (Action) X_ED (Action) X_ER (Action) X_EX (Action) X_GTC (Action) X_MAA (Action) X_MAP (Action) X_MIA (Action) X_MIP (Action) X_NF (Action) X_RA (Action) X_RS (Action) X_TD (Action) _Doku (Action)