Quantcast
Channel: Allen Bradley / Rockwell Automation Latest Topics
Viewing all articles
Browse latest Browse all 3721

Micrologix 1000 STI questions

$
0
0

Micrologix 1000 fixes STI_INT at program file 5.  I have a a rung that simply does "INT SUS 5".  I have tried other instructions in place of the SUS like toggling an I/O or incrementing a work in N memory.  I call in MAIN_PROG " XIC B3:0/1 STS 5 50 ".  B3:0/1 is set to a 1.  Before the program runs I clear the STI enable, file and interval in S2, S30, S31.  When I run the program in the emulator and view the STI settings they seem OK, ie: the STS call seems to have worked.  Yet I never seem to get the STI interrupt to fire and call STI_INT service routine.

Interestingly enough if I set the STI file to -1, as soon as I run the program it faults with an invalid call on the first rung of MAIN_PROG.  It makes me think that the problem is simply that I am not putting the proper file number in the STI S31 file, ie: it expects something other than the program file number there.

The emulator help docs seems to imply STI is supported.

I must be missing something simple.  Any ideas?


Viewing all articles
Browse latest Browse all 3721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>