*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 2287eefe authored by Schabbauer, Johannes's avatar Schabbauer, Johannes
Browse files

Removed unused (commented) code

parent 427fbc47
No related branches found
No related tags found
No related merge requests found
......@@ -18,41 +18,22 @@
DIM DATA_1[MAXTICOEVENTS] AS long AT DM_LOCAL 'Time
DIM DATA_2[MAXTICOEVENTS] AS Long AT DM_LOCAL 'Digital Output
'DIM digitaloutvalue AS Long at dm_local 'tu das zu den digitalkan�len schicken tun Par_1
'DIM prozessindex AS Long at dm_local 'loop iteration counter Par_2
'DIM index_next_event AS Long at dm_local 'array index next timing event Par_3
init:
INIT:
PROCESSDELAY = 25
par_20=0
do
until (par_20=1)
'nops(0) 'for tico module 5 (started second)
DO
UNTIL (par_20=1)
'nops(0) 'for tico module 2 (started second)
nops(10) 'for tico module 1 (started first)
'par_6=0
Event:
'par_4 = read_timer()
Digout_Long(par_1) ' TODO: why do we set the Output every cycle and not just when it changes?
Digout_Long(par_1)
inc par_2
If (Data_1[par_3] = Par_2)THEN 'check wether next event reached
If (Data_1[par_3] = Par_2) THEN 'check wether next event reached
Par_1 = DATA_2[par_3]
inc par_3
ENDIF
'par_5 = read_timer()- par_4
'if(par_5 > par_6) then par_6 = par_5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment