CSDC_REF_TYPEΒΆ

The library contains the data type CSDC_REF_TYPE to facilitate access to the process data image of the I/O-device, on which the cams are located. This data type is declared as follows:

TYPE CSDC_REF_TYPE :
STRUCT
number   : INT;
name     : STRING;
in_csdc  : POINTER TO CSDC_IN;
out_csdc : POINTER TO CSDC_OUT;
END_STRUCT
END_TYPE

number

Data_Type Default_Value Range Unit
INT - - -

Can optionally be used to identify the ETHERCAT slave.

name

Data_Type Default_Value Range Unit
INT - - -

Can optionally be used to identify the ETHERCAT slave.

in_csdc

Data_Type Default_Value Range Unit
DWORD - - -

in_csdc is the address of the first element of the input data. For the CI51x-ETHCAT it shall be initialized with the address of the parameter CAM_state (see type CSDC_IN_TYPE CSDC_IN_TYPE).

out_csdc   DWORD

Data_Type Default_Value Range Unit
DWORD - - -

out_csdc is the address of the first element of the output data. For the CI51x-ETHCAT it shall be initialized with the address of the parameter CAM_release (see type CSDC_OUT_TYPE CSDC_OUT_TYPE).