8/29/2022 4:44 PM | |
Joined: 4/9/2021 Last visit: 11/21/2023 Posts: 3 Rating: (0) |
Hi! Could you help me? Im attaching DR34. thanks a lot, regards, Esteban. ------------------------------------------------------------------------------------------ |
Last edited by: TebiPor at: 08/29/2022 16:44:43Last edited by: TebiPor at: 08/29/2022 18:37:23Last edited by: The Helping Hand at: 08/31/2022 10:44:39New subject after splitting |
|
8/31/2022 1:00 PM | |
Joined: 2/27/2015 Last visit: 12/3/2024 Posts: 18 Rating: (6) |
Hi TebiPor, if you want to see the actual value in DR34 you have to read this with command 2034 in a cyclic way. In the example project from here: https://support.industry.siemens.com/cs/ww/en/view/94109373 this is done with the help of the "CMD_HANDLING" block, that is called in OB30 "Cyclic interrupt", see screen shots "Call_CMD_HANDLING" and "CMD_HANDLING". If this is done you can enter command codes to "CMD_A" and "CMD_B", that will be executed in a cyclic way, see screen shot "CMD_2034". If this is done you see the command are executed in "s_CMD3" in a cyclic way. Anyway if you want to see the actual value you can also look into the "s_IO_DATA.PROCESS_VAL_1", with standard parametrized DR14, you will see the actual weight in this parameter, updated each OB1 call, without doing anything. Regards ABenn0 AttachmentScreenShots.zip (673 Downloads) |
Last edited by: ABenno2 at: 08/31/2022 13:04:10 |
|
Follow us on