Rockwell Structure text Question

toddp65

Member
Join Date
Aug 2014
Location
Florence, Ky
Posts
282
I'm working with a project that contains some routines in ST but mostly in ladder. Am I correct in assuming this 'rung':
DB1001DO._01AV55_OPEN := DB370._01AV55.OUT_VALVE_OPEN is basically a move instruction moving DB1001DO._01AV55_OPEN to the right side of the equals? Like 1:1?
Been watching some YouTube vids on ST trying to get caught up.

Thanks
 
I'm working with a project that contains some routines in ST but mostly in ladder. Am I correct in assuming this 'rung':
DB1001DO._01AV55_OPEN := DB370._01AV55.OUT_VALVE_OPEN is basically a move instruction moving DB1001DO._01AV55_OPEN to the right side of the equals? Like 1:1?
Been watching some YouTube vids on ST trying to get caught up.

Thanks
It looks like you have it backwards. The right side of the := is moved to the left

To move DB1001DO._01AV55_OPEN to DB370._01AV55.OUT_VALVE_OPEN it should be

DB370._01AV55.OUT_VALVE_OPEN := DB1001DO._01AV55_OPEN;
 
The value goes the other way i.e. right to left, i.e. that statement assigns the value of variable (tag) DB370._01AV55.OUT_VALVE_OPEN at the time the statement executes to the variable DB1001DO._01AV55_OPEN.
 
ok, right to left. I just copied the line from the program and assumed the logic moved left to right like ladder. I believe it's taking a valve call and assigning a 1 to the HMI indicator light for the valve on the graphic indicating Green, or Open.
 

Similar Topics

I have got an Rockwell PLC 1769-L36ERMS . I have assigned a IP address to it . But every-time I Reboot the PLC it looses Communication to my PC...
Replies
0
Views
16
Hi all. I have 1793-IE4 (4)analog inputs modules in a 1794-ADN IOFlex DeviceNet Rack. I cannot find if I can I have access to individual channel...
Replies
1
Views
25
Hi All, Wondering if anyone has a source for information about products with problematic production runs from allen bradley/rockwell. Ive seen...
Replies
2
Views
120
I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
5
Views
183
Hi all. Customer wants analog faceplates really bad, even if we explained that it doesn't make much sense in his process. What he wants to see...
Replies
5
Views
131
Back
Top Bottom