Knowledge Base / Rockwell In-chassis / ControlLogix / MVI56 Series / MVI56-BAS

How can I prevent the user of an MVI56-BAS module from modifying the BASIC program while installed on a customer site?

Search KB

Categories

You cannot prevent someone from modifying the BASIC program, however, the following steps help ensure the integrity of your program.

Use the following steps to finalize the code and the MVI56-BAS module for production:

  1. Write the program and test it in RAM.
  2. Use PROG to transfer the program from simulated RAM to ROM 1 of the simulated EEPROM on the Compact Flash card.
  3. Use PROG2 to tell BASIC to automatically execute ROM 1 on power-up.
  4. Use NEW to clear the BASIC program out of simulated RAM.

 

Once this has been done, the following steps are required to edit the program:

  1. Either change the setup jumper to power-up to the BASIC command prompt, or start the program then hit ^C to stop it.
  2. Use XFER to transfer the BASIC program to RAM.
  3. Use PROG0 to nullify the previous PROG2 command.
  4. Use RAM to change the BASIC program pointer to RAM.

Now the you can edit the program in RAM.