
PLC programming
Interface to the ETC
Data blocks
8
8.7
8.7.1
l
356
EDSTCXN EN 2.0
8.7 Interface to the ETC
8.7.1 Data blocks
The integrated PLC has an internal RAM range available which is divided into
16 so−called data blocks. Each data block (DB) contains 256 data words (DW)
of 16 Bit.
8.7.2 System variables of the ETCxC
The system variables represent a predefined number of variables from the
data blocks.
In CoDeSys the system variables can be inserted into a project via the menu
item Insert
W operand W System variables or the input assistance (via
function key "F2").
the following is a list of the defined system variables:
DB0_sps2nc_taste_an_funktion_w %MW0.0
DB0_sps2nc_nc_fehlerquittung_w %MW0.1
DB0_nc2sps_fehlertext_s %MW0.16
DB0_nc2sps_fehlerinfo_s %MW0.96
DB0_nc2sps_aktuelles_menu_w %MW0.128
DB0_nc2sps_ob20_ereignis_w %MW0.129
DB0_nc2sps_einzeltastenmeldung_w %MW0.130
DB0_nc2sps_tastennummer_b %MB0.130.0
DB0_nc2sps_tastenzustand_b %MB0.130.1
DB0_nc2sps_eingabeabschluss_w %MW0.131
DB0_nc2sps_funktionsstatus_w %MW0.132
DB0_nc2sps_nc_fehlerzaehler_w %MW0.133
DB0_nc2sps_nc_fehlerklasse_w %MW0.134
DB0_nc2sps_nc_fehlermodul_w %MW0.135
DB0_nc2sps_nc_fehlernummer_w %MW0.136
DB0_nc2sps_aktuelles_untermenu_w %MW0.137
DB0_nc2sps_g253_textausgabe_s %MW0.148
DB1_sps2nc_notaus_bit %MX1.0.0
DB1_sps2nc_vorschubfreigabe_bit %MX1.0.1
DB1_sps2nc_soforthalt_bit %MX1.0.2
DB1_sps2nc_vorschubfreigabe_w %MW1.1
DB1_sps2nc_position_halt_w %MW1.2
DB1_sps2nc_verfahrtastenfreigabe_plus_w %MW1.3
DB1_sps2nc_verfahrtastenfreigabe_minus_w %MW1.4
DB1_sps2nc_reglerfreigabe_w %MW1.5
DB1_sps2nc_einlesefreigabe_bit: %MX1.7.0
DB1_sps2nc_programmstart_b %MB1.9.0
DB1_sps2nc_use_spsoverride_b %MB1.9.1
DB1_sps2nc_spindel_ein_aus_b %MB1.10.0
DB1_sps2nc_spindel_richtung_b %MB1.11.0
Data block 0
Data block 1
rasha