Advanced Search

Search Results (Searched for: )

  • Lcvette
  • Lcvette's Avatar
24 Dec 2024 16:58

Probe Basic M6G43 (m6_tool_call_tool_page) not working

Category: QtPyVCP

missing this line in your main hal under the tool change signals it looks like:

# ---ignore tool prepare requests---
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
  • PCW
  • PCW's Avatar
24 Dec 2024 16:49 - 24 Dec 2024 18:41
Replied by PCW on topic Timed delay

Timed delay

Category: Advanced Configuration

This may be closer to what you want:

# Input and output configuration
net button-press <= hm2_7i95.0.inmux.00.input-05 # Connect input pin 5 to signal button-press
net relay-1-control => hm2_7i95.0.ssr.00.out-01 # Connect signal relay-1-control to relay output 1
net relay-2-control => hm2_7i95.0.ssr.00.out-03 # Connect signal relay-2-control to relay output 3

# Load and configure timedelay
loadrt timedelay count=1
addf timedelay.0 servo-thread

loadrt xor2
addf xor2.0  servo-thread

setp timedelay.0.on-delay 1.0 # 1-second delay
setp timedelay.0.off-delay 0.0 # No off delay

# Timedelay connections
net button-press => timedelay.0.in xor2.0.in0       # Link button-press to timedelay and logic
net relay-1-control <= timedelay.0.out  xor2.0.in1 # Link timedelay output to relay-1-control and logic
net relay-2-control <= xor2.0.out                           # Link xor out to relay-2-control
 
  • Sternfox
  • Sternfox
24 Dec 2024 16:26
Replied by Sternfox on topic Timed delay

Timed delay

Category: Advanced Configuration

Many thanks for your reply. So how would I make one button activate the two outputs with the delay of one second? I want when the input 05 is pressed relay one opens for 1 second. Once the relay closes after the one second, then relay 2 opens and stays open untill I release the button
I'm so lost with this
  • Sandro
  • Sandro
24 Dec 2024 16:25

Probe Basic M6G43 (m6_tool_call_tool_page) not working

Category: QtPyVCP

Okay attaching the config did not work. Second try ;)
Displaying 20836 - 20839 out of 20839 results.
Time to create page: 0.362 seconds
Powered by Kunena Forum