Siemens - Changeing th DB values

alekbeck

Member
Join Date
Mar 2009
Location
Tønsberg
Posts
40
Hi everyone

I am using the PID function block (FB41 C) to regulate airflow. From my controll screen i want to change the P, I , D and gain values. Is is possible to write new values directly to the Data block from my controll screen ? If so how do i adress this in the program ?

I found the command "DB1.DBD0" , but this is DINT, my value is TIME

Hope someone understood my question !
 
Hi there
In fron if TI and TD of your FB41 you can directly enter time value. For example t#2s

Or you can create a DB with data type : TIME

So if your TI is DB1.DBD0 (with data type time) then you can change this value from variable table to whichever value you want anytime.
 
Okay thanx ! Can i alsow write to this adress from the controll screen (Made in citect) ?

This way i doent have to use so many MD adresses!
 

Similar Topics

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
0
Views
38
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
85
Hello, I have a CPU 317-2DP Firmware Version V2.1.8. In TIA Portal only V2.6 is available, and there is no option to upgrade FW. Then I open it...
Replies
9
Views
177
HI everyone, i am new to Siemens plc programming and i am in need of some help. yesterday we had an S7-1200 CPU 1214C fail to turn on an output to...
Replies
12
Views
436
Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
2
Views
126
Back
Top Bottom