User`s manual

http://www.adtechcn.com 108
) 7. Debugging and observing program running through serial
interface
ADT-8840 provides methods to help developers debug program through observation of the
information on running.
After serial interface 0 is connected to PC, run the serial-interface debugging software
“SSCOM32.EXE”. Then the user can open or close the corresponding debugging information
through the function “Uart_show(int dev_num,unsigned int on_off)” in the application. The
definitions of the related values are as follows: on_off=0: close debugging information; on_off=1:
display all debugging information; on_off=2: only display non-timed inquiry information.
Chapter X Precautions and Troubleshooting
) Precautions
For your safety:
1 Never attempt to open the machine shell without permission.
2 Cut off the power to the control card if it will not be used for an extended period of time.
3 Keep the control card away from dust and iron powder.
Instructions:
Improper use of the control card can lead to malfunction, or even cause damage to it. Please
follow the instructions below when you use the control card.
1. If the output relay is a non-solid one, the user must install a follow-current diode in a
parallel way on the coil. Check whether the power supply for each part is conforming so
as to prevent the control card from being damaged by nonconforming power source.
2. The service life of the control card is subject to the ambient temperature. Therefore, if the
temperature is too high at the site, the user should install a fan to disperse the heat.
3. Never use the control card in an environment with high temperature, high humidity, dust
and erosive gases.
4. Use a rubber cushion as buffer where the vibration is violent.
5. The conforming power for ADT8840 is 24VDC.
6. The voltage of output circuit is 12VDC24VDC, and 24VDC is a recommended value.
) Maintenance
Caution before maintenance
1. Cut off the power supply for the main return circuit before any maintenance work is
carried out.
2. The operator should make sure the power supply is cut off to avoid unexpected accident.
Caution before power-on