How to assign Initial values to Tags
http://www.plctalk.net/qanda/showthread.php?t=53556For any defined tag, if it isn't initialized explicitly, it is retentive. All memory tags on the Logix platform are fully retentive, you don't mark them as you do with Siemens.
To set an initial value, if nothing is writing to the tag, just use the tag browser, and set it there. If you want to make sure that it initializes to a certain value, make an initialization routine, and scan it on "XIC S:FS", which is the first scan bit. In the routine, use MOV instructions to set the values you want.
OOP (Object Oriented Programming) and UDT (User Defined Data Types) are greatly appreciated.
plcdev.com/book/export/html/431naThis page has tips and tricks too.
http://www.plcdev.com/book/export/html/431na
Books
https://www.google.com/search?q=learning+rslogix+5000+programming+pdf&sxsrf=ALeKk01eNlor1_aUSIfq5cRirvH3BY1KQQ:1590304248402&ei=-B3KXvWOGOSF4-EPiYeC6Ac&start=10&sa=N&ved=2ahUKEwj16r3--MvpAhXkwjgGHYmDAH0Q8tMDegQIDBAx&biw=1024&bih=450https://books.google.co.in/books?id=u-B5CgAAQBAJ&pg=PA167&lpg=PA167&dq=rs+logix+5000+tag+initialization&source=bl&ots=jO4qAwoOFk&sig=ACfU3U1TJsfVOAnItupXDmjjNoUXk8fYFA&hl=ja&sa=X&ved=2ahUKEwj9rZi26MvpAhV64jgGHaL1CRkQ6AEwFXoECAkQAQ#v=onepage&q=rs%20logix%205000%20tag%20initialization&f=false
No comments:
Post a Comment