Connecting ClassicLader variables with HAL.
- Zayoo
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 9
29 Oct 2024 14:15 #313430
by Zayoo
Connecting ClassicLader variables with HAL. was created by Zayoo
Hello,
plese could you be so kind and help me connect pyvcp scale value which is i think integer number to ClassicLader %IW0 input variable to use as comparison later in classicladder.
pyvcp code:<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"my-hscale"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>1</initval>
<min_>0</min_>
<max_>999</max_>
<param_pin>1</param_pin>
</scale>
in hal ini file:
net input-password pyvcp.my-hscale classicladder.0.in-('%IW0')???
Thank you
plese could you be so kind and help me connect pyvcp scale value which is i think integer number to ClassicLader %IW0 input variable to use as comparison later in classicladder.
pyvcp code:<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"my-hscale"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>1</initval>
<min_>0</min_>
<max_>999</max_>
<param_pin>1</param_pin>
</scale>
in hal ini file:
net input-password pyvcp.my-hscale classicladder.0.in-('%IW0')???
Thank you
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 3946
- Thank you received: 1705
29 Oct 2024 14:35 #313432
by Aciera
Replied by Aciera on topic Connecting ClassicLader variables with HAL.
try:
classicladder.0.s32in-00
Please Log in or Create an account to join the conversation.
- Zayoo
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 9
29 Oct 2024 14:58 #313435
by Zayoo
Replied by Zayoo on topic Connecting ClassicLader variables with HAL.
It's ok thanks.
In meantime i figure it out that information is clearly visible in Halshow window Pins -> classicladder -> 0
In meantime i figure it out that information is clearly visible in Halshow window Pins -> classicladder -> 0
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds