Zeroing sensor issue | Software | Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Zeroing sensor issue
May 25, 2012
2:34 pm
TRINAMIC_SK
Hamburg
Admin
Forum Posts: 101
Member Since:
November 25, 2011
Offline

Bart,

 

thank you for the feedback.

 

It would be nice to see some images of your working application.

 

Best Regards,

Stephan

May 25, 2012
12:12 pm
BHuijgens
Netherlands
Member
Forum Posts: 9
Member Since:
March 7, 2012
Offline

I solved my problem!

I found out that the anologe line from the optical sensor has a lot distortion on it. So it is spiking a lot and sometimes just to much and it will trigger the program.

To temporarly solve this problem I check again after triggering the first time. This way it works like a small filter and it solved my problem.

May 24, 2012
1:03 pm
BHuijgens
Netherlands
Member
Forum Posts: 9
Member Since:
March 7, 2012
Offline

As you can read in the manual: if you add 128 to the value of you reference search mode.

For you it means: 128+2=130. =>  SAP 193,0,130

 

But for me, i dont want to use the automatic reference search mode. I want to controll everything myself.

May 23, 2012
6:12 pm
Cherio
Member
Forum Posts: 6
Member Since:
March 4, 2012
Offline

ya you are right ,

parameter 27 is not affecting reference search mode.

example:

 

SAP 193,0,2

RFS START, 0
WAIT RFS, 0, 0

 

but you can change the interrupt trigger behavior

means it is triggered from 0 to 1 or from 1 to 0 right ?

 

can you also change it for the reference search mode ? …

at the moment the status of my inputs(right and left limit) is 1 when the light barrier is open and changes to 0 when i block it.

 

can i set it the other way or do i have to resolder my wiring of the sensor ?

 

Chris

 

 

May 14, 2012
7:17 am
Trinamic_OK
Hamburg
Member
Forum Posts: 47
Member Since:
November 25, 2011
Offline

No, there is definitely not a global parameter for this. The global parameter 27 on bank 3 is for confguring a TMCL interrupt for the left stop input.

Please be sure that you are using the latest version of  the TMCL firmware (currently 1.03). Can you please post your TMCL program here as a file so that I can check it better?

May 8, 2012
8:32 am
BHuijgens
Netherlands
Member
Forum Posts: 9
Member Since:
March 7, 2012
Offline

Thanks for your answer and I tried it but it does not work for me.

I manualy send the message SGP 27, 3, 1 but it does not work.

Is it really "Set Global Parameter", if so, how do you know this since i can not find anything about it.

I'm still strugling with this issue…

March 24, 2012
7:21 pm
Cherio
Member
Forum Posts: 6
Member Since:
March 4, 2012
Offline

Hi,

 

i used the internal ref. search mode

 

SAP 193,0,2

but i had to change the switching of my lightbarrier as well

its not in the manual , but this helped for me :

SGP 27, 3, 1

March 16, 2012
9:00 am
BHuijgens
Netherlands
Member
Forum Posts: 9
Member Since:
March 7, 2012
Offline

Hello,

I set-up a program in TMCL IDE to zero a movement.

The maximum time of zeroing is around 15 seconds. (the furthest distance untill the zero point takes 15 seconds with the given movement speed)

The prorgam I have:

 

I start this pogram to send the command "start TMCL application" via RS485.
Next I will question every half second the status of the TMCL application. (running or stopped).

The problem is:
Randomly the program jumps out of its comparing loops before it even reaches the zero reference optical slot.
I found out that when I change the "COMP 0" to "COMP 1" and the other one from 1 to 0, it always works. But this is not an option since my optical sensor is always blocked and unblocked at the zero reference point.

I hope my description is bit clear, if not please ask my what I need to clarify.

I hope someone has seen it before.

Kind Regards Bart

Forum Timezone: UTC 0

Most Users Ever Online: 44

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Trinamic_OK: 47

matt.s: 27

Hellmut1956: 16

ALBERTOGG: 12

BHuijgens: 9

Wolfgang Hoffmann: 8

Member Stats:

Guest Posters: 2

Members: 389

Moderators: 1

Admins: 2

Forum Stats:

Groups: 1

Forums: 7

Topics: 109

Posts: 347

Newest Members: Tom N., ze12o, rmaggertdonn, esalesugg, jovi1989, nummonseras

Moderators: ubbo_ronhardt (1)

Administrators: sradmin (3), TRINAMIC_SK (101)