# Example of assigning the start-up list

## Configuration with 2 channels and a total of 6 axes:

# ******************************************************************

configuration TWO_CHANNEL_CKONFIGURATION

kanal_anzahl 2

ext_var_max 200

plc_mode 0

sercos_hochlauf 1

listen ASCII

# ******************************************************************

# Lists of 1st channel

# ******************************************************************

default_sda_mds ..\listen\default_sda.lis

sda_mds[0] ..\listen\sda_mds1.lis

werkz_data[0] ..\listen\werkz_d1.lis

nullp_data[0] ..\listen\nullp_d1.lis

pzv_data[0] ..\listen\pzv_d1.lis

ve_var[0] ..\listen\ext_var1.lis

fb_storage_size[0] 0x200000

# ******************************************************************

# Lists of 2nd channel

# ******************************************************************

sda_mds[1] ..\listen\sda_mds2.lis

werkz_data[1] ..\listen\werkz_d2.lis

nullp_data[1] ..\listen\nullp_d2.lis

pzv_data[1] ..\listen\pzv_d2.lis

ve_var[1] ..\listen\ext_var2.lis

fb_storage_size[1] 0x200000

# ******************************************************************

# Channel-independent lists

# ******************************************************************

hand_mds ..\listen\hand_mds.lis

hmi[0].objects ..\listen\objects1.lis

hmi[0].mode write+

hmi[1].objects ..\listen\objects2.lis

hmi[1].mode write+

channel[0].objects ..\listen\channel1.lis

channel[0].mode write+

channel[1].objects ..\listen\channel2.lis

channel[1].mode write+

rtconf_lis ..\listen\rtconf.lis

konf_path ..\listen

#

# *****************************************************************

# Axis machine data

# *****************************************************************

zahl_mds 6

default_achs_mds ..\listen\default_mds.lis

achs_mds[0] ..\listen\achsmds1.lis

achs_mds[1] ..\listen\achsmds2.lis

achs_mds[2] ..\listen\achsmds3.lis

achs_mds[3] ..\listen\achsmds4.lis

achs_mds[4] ..\listen\achsmds5.lis

achs_mds[5] ..\listen\achsmds6.lis

#

# *****************************************************************

# Offset value lists

# (masked by comment characters)

# *****************************************************************

# zahl_kw 4

# achs_kw[0] ..\listen\achskw1.lis

# achs_kw_log_ax_nr[0] 1

# achs_kw[1] ..\listen\achskw2.lis

# achs_kw_log_ax_nr[1] 2

# achs_kw[2] ..\listen\achskw3.lis

# achs_kw_log_ax_nr[2] 3

# achs_kw[3] ..\listen\achskw4.lis

# achs_kw_log_ax_nr[3] 4

#

# *****************************************************************

# Program paths:

# *****************************************************************

# path[ <channel_number> ].prg[ <Index> ]

# prg -> Program path specification

# log_nr -> logical program path number

# typ -> Program path type ( 0x01 main program path )

# ( 0x02 Subroutine path )

# ( 0x03 main program and subroutine path )

# priority -> Specifies the program path priority if

# several program paths of the same type are specified.

#

# Program path Channel 1

pfad[0].prg[0] x:\nc_prg

pfad[0].log_nr[0] 1

pfad[0].typ[0] 0x03 # Main program and subroutine path

pfad[0].prioritaet[0] 1

#

pfad[0].prg[1] x:\nc_prg\cycles

pfad[0].log_nr[1] 2

pfad[0].typ[1] 0x02 # Subroutine path

pfad[0].prioritaet[1] 2

#

pfad[0].prg[2] x:\test

pfad[0].log_nr[2] 3

pfad[0].typ[2] 0x03 # Main program and subroutine path

pfad[0].prioritaet[2] 3

#

# Program path Channel 2

pfad[1].prg[0] ..\prg

pfad[1].log_nr[0] 1

pfad[1].typ[0] 0x01 # Main program path

pfad[1].prioritaet[0] 1

#

pfad[1].prg[1] ..\prg\sub

pfad[1].log_nr[1] 2

pfad[1].typ[1] 0x02 # Subroutine path

pfad[1].prioritaet[1] 2

#

End