28 lines
975 B
Plaintext
28 lines
975 B
Plaintext
&ACCESS RO5
|
|
&REL 2396
|
|
&PARAM DISKPATH = KRC:\R1\TP\EthernetKRL
|
|
DEFDAT EthernetKRL PUBLIC
|
|
;************************************************************
|
|
; CopyRight KUKA Deutschland GmbH 2018
|
|
; last modified 23.11.2016
|
|
; prefix EKI
|
|
; functions Interface between KRL and Ethernet (non Realtime)
|
|
; This file is mainly designed to communicate
|
|
; with external devices like sensors, vision
|
|
; systems, other controllers and so on.
|
|
;************************************************************
|
|
|
|
;FOLD EKI_Declaration
|
|
|
|
;FOLD INTERNAL
|
|
GLOBAL STRUC EKI_STATUS INT Buff,Read,Msg_No,BOOL Connected,INT Counter
|
|
DECL CONST EKI_STATUS EKI_NULL_STATUS={Buff 0,Read 0,Msg_No 0,Connected FALSE,Counter 0}
|
|
DECL CONST INT TYPEFRAME=6
|
|
DECL CONST INT TYPENULL=0
|
|
DECL CONST INT ERRMSG_FORBIDDEN = 32768
|
|
DECL CONST INT ERRMSG_ALL = 32767
|
|
;ENDFOLD
|
|
;ENDFOLD EKI_Declaration
|
|
|
|
ENDDAT
|