lnetwalker / openMSR

Instrumentation,Control, Automation Tools like PLC and others
https://www.openmsr.org/
2 stars 1 forks source link

Test analog Output #53

Closed lnetwalker closed 4 years ago

lnetwalker commented 5 years ago

analog Output is implemented in PhysMach and SPS. Test the feature

lnetwalker commented 4 years ago

use the following SPS: 1 U J 1
2 = J 9
3 U J 9
4 = J 4
5 EN Zykluszeit Tz= 0.05 ms
together with the following .run_sps.cfg:

DeviceServer Analog in/out

DEVICE H http://127.0.0.1:10080/analog/read.html?§http://127.0.0.1:10080/analog/write.html? PORT A 1 211 H PORT A 2 212 H PORT A 3 213 H

PORT A 4 214 H

analog A9 der SPS wird auf DeviceServer A11 geschrieben

PORT U 9 223 H

Wenn das Schreiben analoger Werte funktioniert, muss auf dem DeviceServer A11 die gleichen Werte anzeigen wie A1

lnetwalker commented 4 years ago

obigen Test durchgeführt, a11 bleibt 0 -> schreiben der analogen Outputs funktioniert nicht ! Mittels wireshark den traffic aufgezeichnet, die sps schreibt nichts auf localhost:10080/analog/write.html check PhysMach why this is not used

lnetwalker commented 4 years ago

works now as expected, had different errors e.g. R_URL instead of W_URL in http_io_access. see commits regarding the issue