unless you made a typo in your title, the bad news is that you can't get there from here ...
in other words, the RSLogix 500 software can NOT use the SBR instruction for "passing parameters" ... the RSLogix 5 and the RSLogix 5000 software CAN do this type of operation - but they are used with bigger processor systems ...
it sounds like you're wanting use a JSR (Jump to Subroutine) instruction - along with the SBR (Subroutine) and the RET (Return) instructions to "pass parameters" to and from a subroutine (ladder) file ... you can't do that with RSLogix 500 software ... in simpler terms, the SBR instruction is just basically for "window dressing" ... it performs no useful function ...
I didn't take a look at the code that you posted ... try zipping and posting the .RSS file next time ... that makes it a lot easier for the forum to help you ...
good luck with your project ...