Siemens TM PosInput1 and absolute encoder

pisoj

Member
Join Date
Jul 2018
Location
Osijek
Posts
10
Hello to you all!

I hope there is someone who can clarify some things to me.....

Equipment used:
  • TM PosInput1 (6ES7138-6BA00-0BA0) to read the encoder pulses
  • Baumer absolute encoder (EAM580-BAC.7L4G.12130.A-11206897)

Firs time I thought that there is something wrong with encoder, because we run the machine and pulses read were like random: 1000, 3498, 7820, 4000,234, 2500 and so on.

Then I disconnected the encoder and connected directly to the card. Rotating it by hand, I saw that pulses were going from X to 8192, then 8192 to 0, 0 to 8192.
One rotation is 4096 pulses.

Ok, next step was opening TMPosInput configuration in Step7.

Over there, I had following parameters:
  • Frame lenght: 25
  • Bit number LSB of position value: 0
  • Bit number of MSB position value: 12

So, my conclusion was: MSB - LSB = 13 bytes
2 on the power of 13 = 8192 pulses which corresponded to the reading.

I increased the MSB from 12 to 24, and yes maximum pulses I can read then are: 2 on the power of 25 = 33554132.

But then, I connected the encoder back, and we are almost in rollover value.

Then I increased the frame lenght to 32 bits.
MSB to 30 (because this is the maximum that you can put) and I guess now i should be able to read maximum value of 2 on the power of 31 = max DINT value.

So, my question here is actually.....

What exactly is the frame lenght parameter in Step7?
Should I leave it at 25 bits. Initially, I thought that this represents the information I found with help of data sheet of my encoder (12Bit Singleturn+13Bit multiturn = 25 Bit Frame lenght???).

But if this is the case, why should my encoder be limited to only 2 to power of 24 bits resolution? Because in the data sheet there is indication that max. encoder resolution is 32Bit.

Also, with increasing the MSB to higher value, I am actually increasing the upper limit of pulses I can read?

Thanks and if something is not clear, I will try to clarify it.
Sorry if the post is messy, I came from long shift and just want to get some sleep.

Cheers!
 

Similar Topics

I'm using the Siemens PRONETA software to do some IO testing currently. I love the simplicity and fast testing capability. Does anyone know about...
Replies
0
Views
63
Hi, First time user of S5 Siemens. Is there any solution on how to solve this kind of error. HMI OP7 $613 DB-error No. 11 (0: 15) Siemens PLC...
Replies
9
Views
156
Hello, I have an issue where I want to simulate an Siemens HMI panel, through NAT connection to a PLC. I have the possibility through extended...
Replies
4
Views
137
Hi all! Please inform me if i can make programing of the HMI SIEMENS IPC477D from TIA Portal software or not? I do not have WINCC software but...
Replies
1
Views
98
I have never had the pleasure of working with a "Thermistor" until now and have a question. The Thermistor is a 10KOhm 4-20mA 2-wire device and I...
Replies
4
Views
134
Back
Top Bottom