Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #49 #53

Merged
merged 1 commit into from
Feb 19, 2021
Merged

Fix for issue #49 #53

merged 1 commit into from
Feb 19, 2021

Conversation

tscofield
Copy link

Correct 32bit mask for probe invert. My setup works with $6=0, but the output below shows the code working as expected when $6=0 and $6=1

$6=0
Probe Physically Open
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:ZA>
Probe is not triggered

Probe Physically Closed
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:PZA>
Probe is triggered

$6=1
Probe is Physically Open
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:PZA>
Probe is triggered

Probe is Physically Closed
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:ZA>
Probe is not triggered

Correct 32bit mask for probe invert.

Probe Physically Open
$6=0
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:ZA|WCO:0.000,0.000,0.000,0.000>
Probe is not triggered

$6=1
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:PZA|Ov:100,100,100>
Probe is triggered

Probe Physically Closed
$6=0
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:ZA|WCO:0.000,0.000,0.000,0.000>
Probe is not triggered

$6=1
<Alarm|WPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:PZA|Ov:100,100,100>
Probe is triggered
@cprezzi cprezzi merged commit 6da1169 into cprezzi:master Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants