Knowledge Base

A ModBus Master script command. Don’t confuse with the regular GoTo instruction.

When processed this command will result in a jump to the script entry at NVEM0 address NVPtr16. This is the basic mechanism for making a script run in a continuous loop.

Note that this command cannot be entered using a single NV0Byte directive, because an NVEM0 address cannot be specified in an NV0Byte list. Instead you need to use two lines. For example, if the target script line has the label Foo, the entry would be:

NV0Byte        128       ;GoTo
/knowledgebase/programming-reference/instructions-arranged-by-function/non-volatile-memory/nv0ptr-directive-d15/ Foo