The Debug-interface
Deutschmann Automation GmbH & Co. KG
12
Fieldbus-Gateway UNIGATE
®
CX C4Map - PROFIBUS V. 1.0
28.9.20
5
The Debug-interface
5.1 Overview of the Debug-interface
The UNIGATE
®
features a Debug-interface, that allows a step-by-step processing of a Script.
Normally this interface is only required for the development of a Script.
5.2 Starting in the Debug-mode
When applying power to the UNIGATE
®
(power up) the firmware will output the binary character
0 (0x00) after a self-test was carried out on this interface. If the UNIGATE
®
receives an
acknowledgement via this interface within 500 ms, it is in the Debug-mode. The
acknowledgement is the ASCII-character O (0x4F).
With the start in the Debug-mode the further execution of Script commands will be put to a stop.
5.3 Communication parameter for the Debug-interface
The Debug-interface is always operating with 9600 baud, no parity, 8 data bit, 1 stop bit. It is not
possible to change this parameter in the Protocol Developer. Please consider the fact that these
settings have to be in accordance with those of the PC-COM-interface and that the flow control
(protocol) has to be set on „none“ there.
5.4 Possibilities with the Debug-interface
Usually the Protocol Developer is connected to the Debug-interface. With it a step-by-step pro-
cessing of a Script, monitoring jumps and decisions and looking at memory areas is possible.
Moreover breakpoints can be set. It basically possesses all characteristics a software-develop-
ment tool is typically supposed to have. However, it is also possible to carry out a Scrip-update
via this interface.
From Script version [27] on you can also output data with the Script command
"
SerialOutputToDebugInterface
". Please also pay attention to the remark in the manual
’Protocol Developer’.
5.5 Commands of the Debug-interface
The commands for the use of the Debug-interface are described in the instruction manual Proto-
col Developer.
Summary of Contents for UNIGATE CX C4Map
Page 2: ...Handbuch Art Nr V4412E ...
Page 56: ......