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
326
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
9
Views
224
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
153
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
311
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
118
Back
Top Bottom