WCD_BWDG
Member
I feel like a complete dunce asking this question, but I can't find any information pertaining to it in the instruction manuals or online.
I'm passing a DINT parameter via JSR to my SBR and getting:
Error: Rung 0: Missing output instruction. because I have no idea what to use as my output instruction. In example code and in the instruction manual there is an OTE following the SBR, but I just don't get it. What is the point of an output following the SBR? Can't I just pass my DINT in to the routine and be done with it? I have no reason to output anything on the first rung, no logic to support it.
I can MOV the DINT parameter into itself to satisfy the error but that just seems silly...I would appreciate some guidance on this. I'm super frustrated.
I'm passing a DINT parameter via JSR to my SBR and getting:
Error: Rung 0: Missing output instruction. because I have no idea what to use as my output instruction. In example code and in the instruction manual there is an OTE following the SBR, but I just don't get it. What is the point of an output following the SBR? Can't I just pass my DINT in to the routine and be done with it? I have no reason to output anything on the first rung, no logic to support it.
I can MOV the DINT parameter into itself to satisfy the error but that just seems silly...I would appreciate some guidance on this. I'm super frustrated.