I’m curious are you using a SoftLogix 5800 controller? The reason I ask is that as far as I know the JXR is used exclusively for SoftLogix. That said it functions very similar to the JSR (Jump to Subroutine) instruction. To implement either one, simply put your conditional logic (the event or condition you’re speaking of) in front of the JXR/JSR and then in the instruction point to the routine you want to jump to. If you don’t need to pass any parameters into the routine, simply remove them and just do a straight jump. After the routine executes it will return back to the calling routine automatically.
Hope that helps.