Signal Status Input of position ATC Blinks by itself in stop time .

More
13 Sep 2023 02:04 #280589 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,

 
Attachments:

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Sep 2023 12:24 #280629 by tommylight
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.

Please Log in or Create an account to join the conversation.

More
13 Sep 2023 16:28 #280645 by abdulasis12

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.

Hi, Tommy
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.

More
13 Sep 2023 16:42 #280648 by PCW
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)
The following user(s) said Thank You: abdulasis12

Please Log in or Create an account to join the conversation.

More
13 Sep 2023 17:58 #280659 by abdulasis12

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)

Hi, MR.PCW
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
Right ?

Asis,

Please Log in or Create an account to join the conversation.

More
13 Sep 2023 18:09 - 13 Sep 2023 18:12 #280662 by PCW
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 )

 
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.

More
13 Sep 2023 18:21 #280663 by abdulasis12

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 )


 

Got it all.
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.

Time to create page: 0.073 seconds
Powered by Kunena Forum