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

The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
11
Views
265
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
159
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
311
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
124
Hi everyone hope you'll well. Is it possible for me to download a Crack version of tia portal v13..sorry to say this but the software is very...
Replies
5
Views
199
Back
Top Bottom