***
Wartungsfenster jeden ersten Mittwoch vormittag im Monat
***
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADwin
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quantuminfo
Experiment Control
ADwin
Commits
2287eefe
Commit
2287eefe
authored
2 years ago
by
Schabbauer, Johannes
Browse files
Options
Downloads
Patches
Plain Diff
Removed unused (commented) code
parent
427fbc47
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tico_DIO32.bas
+7
-26
7 additions, 26 deletions
Tico_DIO32.bas
with
7 additions
and
26 deletions
Tico_DIO32.bas
+
7
−
26
View file @
2287eefe
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment