I am upgrading a 5TI to an A-B SLC500. I have a printout of the orig. code but am unfamiliar w/ how a few of the instructions work:
Question #1.: Timers
Sample Code:
STR X50
STR X50
TMR 0 ;(or TMR 1)?
#2569
$0
OUT CR14
I need to know what type of timer is this, how does it reset, what is the preset, what are the preset units (secs? millisecs?) and what format is used (ie octal? decimal?), and any other useful info.
Question #2.: Counters
Sample Code:
STR CR1
STR-NOT CR12
CTR 0
#1028
$0
OUT CR31
My questions are the same for the counter as the ones I listed above for timers.
Question #3.: JMP Instructions
I am familiar with jumps in other PLC's but I do not see any "Labels" for the JMP to go to. How does this work and how do I know where it is jumping to if there is no label (which there isn't).
Sample Code:
STR X64
AND CR2
JMP 3
Thank you in advance for any help anyone may have to offer.
Question #1.: Timers
Sample Code:
STR X50
STR X50
TMR 0 ;(or TMR 1)?
#2569
$0
OUT CR14
I need to know what type of timer is this, how does it reset, what is the preset, what are the preset units (secs? millisecs?) and what format is used (ie octal? decimal?), and any other useful info.
Question #2.: Counters
Sample Code:
STR CR1
STR-NOT CR12
CTR 0
#1028
$0
OUT CR31
My questions are the same for the counter as the ones I listed above for timers.
Question #3.: JMP Instructions
I am familiar with jumps in other PLC's but I do not see any "Labels" for the JMP to go to. How does this work and how do I know where it is jumping to if there is no label (which there isn't).
Sample Code:
STR X64
AND CR2
JMP 3
Thank you in advance for any help anyone may have to offer.