Siemens OB100 Moves

DLMUK

Member
Join Date
Jun 2013
Location
Southampton
Posts
311
Hi,

I am trying to get the status of an RS232 Port_Config_DB to move into my program. However however I try to configure this, the values don't move.

I have my port config DB on one rung of my ladder, the "DONE" output of this I have tried linking in multiple ways to another Datablock in my program. Image attached, showing two ways I have tried but neither work.

I know it works, because my RS232 port is running and I can receive data, but I want to save the status.

Can anyone help?

Thanks

IMG - https://www.dropbox.com/s/rmew21b8wke59q3/OB100.png?dl=0
 

Thanks - not sure I follow though. How would this move the done and status values into another datablock within the PLC?

I want to be able to move the value of done changing from 0 to 1 and the status word into another DB so these can be displayed on a HMI.
 
I would put this is a regular OB and trigger it with a srattup flag. I suspect that the port config takea more then one cycle to complete and therefore you cant move the status since the OB is only run once at startup
 
I would put this is a regular OB and trigger it with a srattup flag. I suspect that the port config takea more then one cycle to complete and therefore you cant move the status since the OB is only run once at startup


Program execution will not start until startup OB is completed.
 

Similar Topics

OK. You guys helped me out a bunch with my first Siemens question. I found a bunch of issues with integrity checking the PLC programs I was...
Replies
7
Views
377
I'm using the Siemens PRONETA software to do some IO testing currently. I love the simplicity and fast testing capability. Does anyone know about...
Replies
0
Views
60
Hi, First time user of S5 Siemens. Is there any solution on how to solve this kind of error. HMI OP7 $613 DB-error No. 11 (0: 15) Siemens PLC...
Replies
9
Views
145
Hello, I have an issue where I want to simulate an Siemens HMI panel, through NAT connection to a PLC. I have the possibility through extended...
Replies
4
Views
128
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
1
Views
92
Back
Top Bottom