Added support for the AMOR SPS-S5 using streamdevice

This commit is contained in:
2016-08-04 14:38:50 +02:00
parent 7c1693e606
commit 28999f2212
3 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Streamdevice protocol file for the Siemens SPS-S5 with the custom RS232 interface as used at
# AMOR
InTerminator = "\n";
OutTerminator = "\r\n";
ExtraInput = Ignore;
readDigital {
out "R";
separator="";
in "\?%d";
}
readAnalog {
out "A";
separator="";
in "\?%d";
}
push {
out "%s";
}