RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
510
Comments • If
Path
= NULL, then the path of the user program’s current working directory is used.
Caution: It is not always the folder from which the user program has been launched.
The current working directory can change, for example, when a file from another
folder is selected by the Windows Explorer (unless the “NoChangeDir” flag has been
set when incorporating the Explorer window into the user program).
• After each hardware reset (powerup), the first user program must begin by issuing a
load_program_file command during initialization of the RTC6 board, see Initializing
the Board, page 98. load_program_file should also be executed (for example, if
another user program acquires the board – see acquire_rtc) when the board needs to
be returned to the default state.
• If multiple RTC6 boards are connected as master and slave, then load_program_file
must have been called on all boards prior to initializing and operating the individual
boards with further commands, see Chapter 6.6.3 ”Master/Slave Operation”,
page 124.
• After execution of load_program_file:
– The laser focus is in the center of the Image Field (0|0)
– The laser control is deactivated
– On the state of the various output ports, see Chapter 7.4.1 ”Enabling, Activating and
Switching Laser Control Signals”, page 184 (LASERON, LASER1, LASER2),
Chapter 9.1.1 ”16-Bit Digital Output Port”, page 282 (EXTENSION 1
socket connector), Chapter 9.1.2 ”8-Bit Digital Output Port”, page 283
(EXTENSION 2 socket connector), Chapter 9.1.3 ”2 Bit Digital Output Port”,
page 283 (LASER Connector), Chapter 9.1.4 ”12-Bit Analog Output Port 1 and 2”,
page 283 (LASER Connector).
• Caution! In general, sporadic load_program_file calls in your user program:
– Contradict the safe switch-on sequence prescribed in Chapter 5.6 ”Safe Start-up and
Shutdown Sequences”, page 91
– Pose the risk of personal injury and/
or property dam
age
(cases have been reported where lasers with poor electric have emitted)
If you absolutely cannot refrain from sporadic load_program_file calls in your
user program, you must implement appropriate messages that warn users
accordingly and prompt them to take actions that prevent these hazards.
• load_program_file does not load correction tables. Even 1-to-1 tables therefore need
to be explicitly requested, see load_correction_file. Already-loaded correction tables
remain loaded after load_program_file.
• load_correction_fi
le assigns a correction table by
select_cor_table( 1,
0 )
but does
not execute a galvanometer scanner motion to the corrected output position.
• load_program_file only returns to the calling user program, when DSP initialization
has been completed.
Ctrl Command load_program_file