Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
guitastro_device_siemensae02
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
IRAP-OMP
guitastrolib
guitastro_device_siemensae02
Commits
d633314f
Commit
d633314f
authored
8 months ago
by
Alain Klotz
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
9de63262
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-5
11 additions, 5 deletions
README.md
with
11 additions
and
5 deletions
README.md
+
11
−
5
View file @
d633314f
...
...
@@ -6,21 +6,27 @@ GuitAstro is a Python module that provides classes and methods to write easily P
[
GIT repository: https://gitlab.in2p3.fr/irap-omp/guitastrolib/guitastro.git
](
https://gitlab.in2p3.fr/irap-omp/guitastrolib/guitastro.git
)
Guitastro device Siemensae02 complete Guitastro to provide access to SIEMENSAE02
focuser
drivers:
Guitastro device Siemensae02 complete Guitastro to provide access to SIEMENSAE02
PLC
drivers:
[
GIT repository: https://gitlab.in2p3.fr/irap-omp/guitastrolib/guitastro_device_siemensae02.git
](
https://gitlab.in2p3.fr/irap-omp/guitastrolib/guitastro_device_siemensae02.git
)
## Few basic examples of use
First example: To connect a Siemensae02 controler and drive a
focuser
:
First example: To connect a Siemensae02 controler and drive a
PLC
:
```
import guitastro
import guitastro_device_siemensae02
dev = guitastro_device_siemensae02.Device_Siemensae02()
name = "AE02"
delay_put_read = 0.1
end_of_command_to_receive = "@"
hostname = "192.168.10.59"
port = 4002
dev = guitastro_device_siemensae02.Device_Siemensae02("TCH_TCP", transport="TCP", port=port, hostname=hostname, delay_put_read=delay_put_read, end_of_command_to_receive=end_of_command_to_receive, name=name)
dev.open(False)
dev.commandstring("focuser SET target 50000")
dev.commandstring("focuser GOTO")
state = dev.commandstring("relays DO STATE")
state = dev.commandstring("relays DO ACTION 'Close TOIT_SUD'")
```
## Guitastro functionalities
...
...
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