Understanding / Learning S5 Logic

stupidav

Member
Join Date
Oct 2003
Location
South West Michigan
Posts
59
I am looking at a Print out and I am trying to understand what is happinging and after quite a bit of reading there is still a lot I a am lost at.


Code:
Segment 2 :

UN   M 36.0
SPB FB 181
NAME E DB 11
***

Segment 3 :

SPA PB 1

***


What is the UN. The M 36.0 is just Memory Bit 0 of Byte 36.

I know that the SP* is to call a different areas of code. but what is the difference between A and B in this example.

I am not sure what the Name does or the E does. DB 11 is just full of Hex Values (KH 0000 and stuff like that).
 
UN = AND NOT
SPB = Jump Conditionally (in this case when M36.0 = 0)
You will need to look at FB181 to see what is happening BUT it looks like it is using DB11
SPA PB1 = Jump Unconditionally to PB1
 

Similar Topics

I am using Allen Bradley PLC for Ethernet/IP communication. I send any explicit msg request (Get attribute or Set attribute), I observed packet...
Replies
0
Views
61
Took a new job and the controls schemes are fairly old and I'm used to Allen Bradley and Siemens. I'm looking to replace a pair of Superior...
Replies
1
Views
97
Hello Team, I am desperate for some help with an assessment I have as part of a Level 3 general engineering course. I am in a role that is much...
Replies
9
Views
338
Good day is there somewhere i can see the situation and compatibility regarding different firmware revisions. I have a 2711-K5A5, series H and...
Replies
4
Views
207
Good Evening , I should know more about Solid State Relays . I have a system with 8) 120 vac Vibrators . These Solid State Relays have...
Replies
24
Views
2,025
Back
Top Bottom