1/27/2016 9:49 PM | |
Joined: 8/16/2010 Last visit: 7/25/2024 Posts: 636 Rating: (12) |
Thank's a lot. That's clear for me, but I want to know how to use OB82, and check codes to recognize wire break, and other errors I found this: IOstate How to know exact IOstate bits status, for example, analog input wire break? |
1/28/2016 12:22 AM | |
Joined: 9/27/2006 Last visit: 9/13/2024 Posts: 12282 Rating: (2683) |
Hello Milosh; Look at the following screenshots, taken from the S7-1200 System Manual:
SIMATIC S7 S7-1200 Programmable controller
https://support.industry.siemens.com/cs/ww/en/view/109478121 You can use OB82 on analog output modules, and also on RTD/TC temperature input modules (check the manual Appendix A.8 and A.9 for more details). For analog input modules, you must rely on the 4-20 mA undercurrent reading for broken wire diagnostics in your program, as explained earlier by Mazenjer. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 1/28/2016 12:36:41 AM |
|
This contribution was helpful to1 thankful Users |
10/23/2019 2:27 PM | |
Joined: 5/30/2014 Last visit: 9/13/2024 Posts: 146 Rating: (18) |
Hi Daniel, I am a bit confused. So, if wire is broken, I should get 0 mA (which corresponds to the integer -6912). But what if I get 32767? Look at the picture attached here, please. Upper values are raw integers, lower values are temperatures in range 0...50°C, except the first one, which is -50...50°C). Please, ignore the first two sensors, they are connected wrong! Sensor is QAA2071. Values are scaled according to the For an S7-1200/S7-1500 controller in STEP 7 (TIA Portal), how do you scale integer values in real numbers and vice versa for analog inputs and outputs? I am using Analog Input module (6ES7 231-4HF32-0XB0), each input is configured as 4-20 mA. My question is: why for disconnected sensors I do not get 0, only 32767? |
Last edited by: C-3PO at: 10/23/2019 14:28:46Last edited by: C-3PO at: 10/23/2019 14:31:19Last edited by: Jen_Moderator at: 10/24/2019 10:26:30Optimized link. Last edited by: C-3PO at: 10/28/2019 09:04:35Sensors are verified, question refined If you find my contribution helpful please RATE it :)) |
|
Follow us on