RTC
®
5 PC Interface Board
Rev. 1.9 e
2 Product Overview
32
2.7.2 Porting RTC
®
4 Programs to the
RTC
®
5
User programs written for the RTC
®
4 can only run on
the RTC
®
5 after suitable code revision. This applies
even when the actual program flow shall remain
unchanged and none of the RTC
®
5’s new function-
ality is being accessed.
Changed Initialization
The program’s initialization section should be revised
at least as follows:
• At the beginning of the program, a init_rtc5_dll
command must be inserted for initializing the DLL
and board management (see page 64).
• The files for initializing the board via
load_program_file must be supplied and called
differently than with the RTC
®
4 (see command
description).
• Scan system initialization via
load_correction_file and select_cor_table
utilizes different correction files (with file
extension
.ct5
) (see page 120).
• For laser control initialization, the
set_laser_control command must be
additionally inserted (see page 128), even when
only standby signals are to be outputted.
Command Changes
All unsupported RTC
®
4 commands must be removed
or replaced (also see chapter 10.3 "Unsupported
RTC
®
2/RTC
®
3/RTC
®
4 Commands", page 561).
Changed or enhanced RTC
®
4 commands might need
to be handled differently in the program (e.g. by
modifying supplied parameter values or evaluating
returned values differently). Relevant changes to
supported commands are listed in the individual
command descriptions (in chapter 10.2) under the
heading “RTC
®
4 RTC
®
5”.
Below is a list of RTC
®
4 commands that need to be
replaced or checked:
• aut_change not supported
• auto_cal changed
• auto_change_pos changed
• control_command changed
• dsp_start not supported
• get_head_status changed
• get_hi_data changed
• get_list_space changed
• get_marking_info changed
• get_rtc_version changed
• get_startstop_info changed
• get_status changed
• get_value changed
• get_waveform changed
• get_xy_pos not supported
• get_xyz_pos not supported
• goto_xy changed
• goto_xyz changed
• list_jump_cond changed (depending on the
memory configuration)
• list_nop changed
• load_cor not supported
• load_correction_file changed
• load_pro not supported
• load_program_file changed
• read_pixel_ad not supported
• read_status changed
• rtc3_count_cards /
rtc4_count_cards
not supported
• select_cor_table changed
• select_list not supported
• select_rtc changed
• set_control_mode enhanced
• set_control_mode_list enhanced
• set_laser_mode
enhanced
• set_laser_timing Firmware changed
• set_list_mode not supported
• set_matrix changed
• set_matrix_list changed
• set_offset changed
• set_offset_list changed
• set_piso_control not supported
• set_pixel changed
• set_pixel_line changed
• set_softstart_mode changed
• set_trigger enhanced
• set_wobbel changed
• set_wobbel_xy not supported