***
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
c4e35679
Commit
c4e35679
authored
2 years ago
by
Schabbauer, Johannes
Browse files
Options
Downloads
Patches
Plain Diff
Adding overwriting PID parameters from GUI
parent
0a319c8a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ADbasic_program_buffered.bas
+6
-0
6 additions, 0 deletions
ADbasic_program_buffered.bas
README.md
+6
-2
6 additions, 2 deletions
README.md
with
12 additions
and
2 deletions
ADbasic_program_buffered.bas
+
6
−
0
View file @
c4e35679
...
...
@@ -149,6 +149,12 @@ init:
pid_sum[i]=0
pid_prev_dError[i]=0
next i
' Set paramters of manual PID control from GUI
IF Par_21 <> 0 THEN
pid_P[Par_21] = FPar_21
pid_I[Par_21] = FPar_22
pid_D[Par_21] = FPar_23
'===========================================================INITIALIZE AOUTS============================================================
'Initialize set values of all output channels to 0V
...
...
This diff is collapsed.
Click to expand it.
README.md
+
6
−
2
View file @
c4e35679
...
...
@@ -26,12 +26,16 @@ The global variables in the ADwin can be used for data transfer with the compute
| Par_1 | Process status (running=1, finshed=0) |
| Par_2 | Stop time (in number of process cycles) |
| Par_10 | Tico Process status of
*DIO1*
at end of shot, running (fine) = 1, stopped (error) = 0 |
| Par_
20
|
Tico Process status of
*DIO2*
at end of shot, running (fine) = 1, stopped (error) = 0
|
| Par_
11
|
Start parameter of process for
*manual programming*
|
| Par_13 | Time for current event loop in number of CPU cycles (1ns) |
| Par_15 | Process index, updated every event loop |
| Par_11 | Start parameter of process for
*manual programming*
|
| Par_20 | Tico Process status of
*DIO2*
at end of shot, running (fine) = 1, stopped (error) = 0 |
| Par_21 | PID No. which gets its parameters set from GUI |
| Par_91 | Digital output of DIO1 for
*manual programming*
|
| Par_92 | Digital output of DIO2 for
*manual programming*
|
| FPar_21 | Value set from GUI for
`pid_P[Par_21]`
|
| FPar_22 | Value set from GUI for
`pid_I[Par_21]`
|
| FPar_23 | Value set from GUI for
`pid_D[Par_21]`
|
| Data_1 | Times for setting new analog output (in number of process cycles) |
| Data_2 |
**Analog**
output channel where output is updated at time from Data_1 |
| Data_3 | Output value ([-10,10]V digitized to 10 bit integer) for channel from Data_2 at time from Data_1 |
...
...
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