- LinuxCNC
- General LinuxCNC Questions
- Signal Status Input of position ATC Blinks by itself in stop time .
Signal Status Input of position ATC Blinks by itself in stop time .
- abdulasis12
- Offline
- Premium Member
Less
More
- Posts: 130
- Thank you received: 8
13 Sep 2023 02:04 #280589
by abdulasis12
Signal Status Input of position ATC Blinks by itself in stop time . was created by abdulasis12
Hi
My Board : 7i96s + 7i77
I wiring input signal of ATC 5 wire to 7i96s on input 00-04 .
I open hallshow and click for show this :
hm2_7i96s.0.inm.00.input-00
hm2_7i96s.0.inm.00.input-01
hm2_7i96s.0.inm.00.input-02
hm2_7i96s.0.inm.00.input-03
hm2_7i96s.0.inm.00.input-04
I'm not action or move anything but circle status in halshow will trick between yellow and red .
I think it's noise right ?
I try call hm2_7i96s.0.inm.00.input-00-slow for show in list, back of it's I click set.
input status look good no blink in no action and show correct when change position.
I have question,
In file.hal how to call for use input-00-slow
now I use this net atc-enc-1 motion.digital-in-11 <= hm2_7i96s.0.inm.00.input-00
seccond , How long time when use input-00-slow time for detect signal , Because I use motor induction gear for rotation ATC, I fear if long time for detect signal maybe tool will over position .
Asis,
My Board : 7i96s + 7i77
I wiring input signal of ATC 5 wire to 7i96s on input 00-04 .
I open hallshow and click for show this :
hm2_7i96s.0.inm.00.input-00
hm2_7i96s.0.inm.00.input-01
hm2_7i96s.0.inm.00.input-02
hm2_7i96s.0.inm.00.input-03
hm2_7i96s.0.inm.00.input-04
I'm not action or move anything but circle status in halshow will trick between yellow and red .
I think it's noise right ?
I try call hm2_7i96s.0.inm.00.input-00-slow for show in list, back of it's I click set.
input status look good no blink in no action and show correct when change position.
I have question,
In file.hal how to call for use input-00-slow
now I use this net atc-enc-1 motion.digital-in-11 <= hm2_7i96s.0.inm.00.input-00
seccond , How long time when use input-00-slow time for detect signal , Because I use motor induction gear for rotation ATC, I fear if long time for detect signal maybe tool will over position .
Asis,
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19460
- Thank you received: 6529
13 Sep 2023 12:24 #280629
by tommylight
Replied by tommylight on topic Signal Status Input of position ATC Blinks by itself in stop time .
Yes it is noise or interference, use shielded cable or twisted pair for sensors.
Is this with spindle on or off?
If off, then you will have much more issues when spindle is on, so this needs to be fixed in hardware, not software.
Is this with spindle on or off?
If off, then you will have much more issues when spindle is on, so this needs to be fixed in hardware, not software.
Please Log in or Create an account to join the conversation.
- abdulasis12
- Offline
- Premium Member
Less
More
- Posts: 130
- Thank you received: 8
13 Sep 2023 16:28 #280645
by abdulasis12
this is spindle inverter standby stage, No run .
Can't for use hm2_7i96s.0.inm.00.input-00-slow ?
Replied by abdulasis12 on topic Signal Status Input of position ATC Blinks by itself in stop time .
Hi, TommyYes it is noise or interference, use shielded cable or twisted pair for sensors.
Is this with spindle on or off?
If off, then you will have much more issues when spindle is on, so this needs to be fixed in hardware, not software.
this is spindle inverter standby stage, No run .
Can't for use hm2_7i96s.0.inm.00.input-00-slow ?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17940
- Thank you received: 4811
13 Sep 2023 16:42 #280648
by PCW
Replied by PCW on topic Signal Status Input of position ATC Blinks by itself in stop time .
Default inm digital filter settings are 250 usec for fast time
and 25 ms for slow time:
The fast and slow digital filter times are set by these parameters:
hm2_7i96s.0.inm.00.slow_scans ( default is 500 so 25 ms )
hm2_7i96s.0.inm.00.fast_scans ( default is 5 so 250 usec )
hm2_7i96s.0.inm.00.scan_rate ( default is 20000 Hz = 50 usec per scan)
and 25 ms for slow time:
The fast and slow digital filter times are set by these parameters:
hm2_7i96s.0.inm.00.slow_scans ( default is 500 so 25 ms )
hm2_7i96s.0.inm.00.fast_scans ( default is 5 so 250 usec )
hm2_7i96s.0.inm.00.scan_rate ( default is 20000 Hz = 50 usec per scan)
The following user(s) said Thank You: abdulasis12
Please Log in or Create an account to join the conversation.
- abdulasis12
- Offline
- Premium Member
Less
More
- Posts: 130
- Thank you received: 8
13 Sep 2023 17:58 #280659
by abdulasis12
If i want input-00 to 04 for slow scan ( 500 so 25 ms )
and want input-05 to 11 for fast scan ( 5 so 250 usec )
how to type in file hall ?
Please type for example code for guild me
Right ?
Asis,
Replied by abdulasis12 on topic Signal Status Input of position ATC Blinks by itself in stop time .
Hi, MR.PCWDefault inm digital filter settings are 250 usec for fast time
and 25 ms for slow time:
The fast and slow digital filter times are set by these parameters:
hm2_7i96s.0.inm.00.slow_scans ( default is 500 so 25 ms )
hm2_7i96s.0.inm.00.fast_scans ( default is 5 so 250 usec )
hm2_7i96s.0.inm.00.scan_rate ( default is 20000 Hz = 50 usec per scan)
If i want input-00 to 04 for slow scan ( 500 so 25 ms )
hm2_7i96s.0.inm.00.input-00
hm2_7i96s.0.inm.00.input-01
hm2_7i96s.0.inm.00.input-02
hm2_7i96s.0.inm.00.input-03
hm2_7i96s.0.inm.00.input-04
and want input-05 to 11 for fast scan ( 5 so 250 usec )
hm2_7i96s.0.inm.00.input-05
hm2_7i96s.0.inm.00.input-06
hm2_7i96s.0.inm.00.input-07
hm2_7i96s.0.inm.00.input-08
hm2_7i96s.0.inm.00.input-09
hm2_7i96s.0.inm.00.input-10
hm2_7i96s.0.inm.00.input-11
how to type in file hall ?
Please type for example code for guild me
hm2_7i96s.0.inm.00.slow_scans.input-00
hm2_7i96s.0.inm.00.fast_scans.input-05
Asis,
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17940
- Thank you received: 4811
13 Sep 2023 18:09 - 13 Sep 2023 18:12 #280662
by PCW
Replied by PCW on topic Signal Status Input of position ATC Blinks by itself in stop time .
No, the timing parameters are global (for all inm.00 pins)
To set inputs 00 through 04 to "slow" you would:
setp hm2_7i96s.0.inm.00.input-00-slow true
setp hm2_7i96s.0.inm.00.input-01-slow true
setp hm2_7i96s.0.inm.00.input-02-slow true
setp hm2_7i96s.0.inm.00.input-03-slow true
setp hm2_7i96s.0.inm.00.input-04-slow true
( The default is "fast" for all pins at startup )
To set inputs 00 through 04 to "slow" you would:
setp hm2_7i96s.0.inm.00.input-00-slow true
setp hm2_7i96s.0.inm.00.input-01-slow true
setp hm2_7i96s.0.inm.00.input-02-slow true
setp hm2_7i96s.0.inm.00.input-03-slow true
setp hm2_7i96s.0.inm.00.input-04-slow true
( The default is "fast" for all pins at startup )
Last edit: 13 Sep 2023 18:12 by PCW. Reason: correct pin names
The following user(s) said Thank You: abdulasis12
Please Log in or Create an account to join the conversation.
- abdulasis12
- Offline
- Premium Member
Less
More
- Posts: 130
- Thank you received: 8
13 Sep 2023 18:21 #280663
by abdulasis12
Thank you very much, Tomorow I will try for this solution (set slow) for 5 wire encoder .
Replied by abdulasis12 on topic Signal Status Input of position ATC Blinks by itself in stop time .
Got it all.No, the timing parameters are global (for all inm.00 pins)
To set inputs 00 through 04 to "slow" you would:
setp hm2_7i96s.0.inm.00.input-00-slow true
setp hm2_7i96s.0.inm.00.input-01-slow true
setp hm2_7i96s.0.inm.00.input-02-slow true
setp hm2_7i96s.0.inm.00.input-03-slow true
setp hm2_7i96s.0.inm.00.input-04-slow true
( The default is "fast" for all pins at startup )
Thank you very much, Tomorow I will try for this solution (set slow) for 5 wire encoder .
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- Signal Status Input of position ATC Blinks by itself in stop time .
Time to create page: 0.073 seconds