minerman
Member
First time using Siemens...
From what I understand, all analog IO raw data is stored on the PLC as 16-bit words. I am configuring 4-20mA inputs/outputs. I have read that analog channel data is scaled from 0-27648, 4mA = 0 and 20mA = 27648.
Question 1: Is this true for all modules? I've noticed that in the HW config, it specifies that some modules are 12-bit resolution, and 13-bit resolution. I don't understand the significance of these resolutions, if its true that all analog io is 0-27648? I'm confused, how could you describe the number 27648 in 12 bits?
Question 2: What is the easiest way to convert this data to and from real numbers? It doesn't seem like Step 7 is very friendly when it comes to data conversion. I don't see a possibility for converting a Word to a Real, unless its a BCD word, which the io is not? right? Same the other way, I don't see any converter functions to convert a real to anything?
Learning this software...It's the simple things that are throwing me off.
From what I understand, all analog IO raw data is stored on the PLC as 16-bit words. I am configuring 4-20mA inputs/outputs. I have read that analog channel data is scaled from 0-27648, 4mA = 0 and 20mA = 27648.
Question 1: Is this true for all modules? I've noticed that in the HW config, it specifies that some modules are 12-bit resolution, and 13-bit resolution. I don't understand the significance of these resolutions, if its true that all analog io is 0-27648? I'm confused, how could you describe the number 27648 in 12 bits?
Question 2: What is the easiest way to convert this data to and from real numbers? It doesn't seem like Step 7 is very friendly when it comes to data conversion. I don't see a possibility for converting a Word to a Real, unless its a BCD word, which the io is not? right? Same the other way, I don't see any converter functions to convert a real to anything?
Learning this software...It's the simple things that are throwing me off.