Building an Add-On Instruction: the Parameters, the Local Tags, and the Revision Nobody Manages

The Valve_Ctrl definition: seven parameters with usage, data type, required and visible flags, and the three local tags underneath

The Import Configuration dialog offers three words: Rename, Overwrite, Use Existing. Behind Collision Details, the Property Compare tab says Revision 1.4 against Revision 2.1 and two different Edited Dates. The Project References tab says the existing Valve_Ctrl is used in 38 places. Pick Overwrite and all 38 calls are now calling a different instruction. The … Read more

JSR, SBR and RET: Passing Parameters Into a Routine Without a Controller Tag

A diagram of one JSR call: the calling routine's program-scoped tags on the left, the JSR instruction with two input parameters and one return parameter in the middle, the subroutine's own program-scoped tags on the right, and a numbered list of the five steps from rung true to RET copying the answer back

JSR, SBR and RET: Passing Parameters Into a Routine Without a Controller Tag Type 4, Code 31 on a 1756-L83E, and the routine it pointed at was three rungs long. The general instructions reference gives three separate ways to earn that code and every one of them is about counting: a JSR with fewer input … Read more

Advertisement