
OMRON
APPENDIX C – Troubleshooting
Release 2.0
Page 303
•
Open and close the PLC
•
See if there are errors
•
Change the PLC Mode
•
See the effect of optimisations as points are ‘Disabled’
Database errors
The database connectivity can sometimes be problematic to configure correctly. To troubleshoot CX-
Supervisor database functionality:
•
Try viewing and writing the data from another data source, for example Microsoft Access
application for mdb files etc.
•
‘Connect’ to the database from the Developer to check Table and Field names can be
correctly read. Remember to disconnect before running if the provider doesn’t support
multiuser connections (like the Excel provider)
•
Note that every database function returns an error code to confirm if the operation was
successful. Always assign this to a temporary point and after the call to check the value
•
When database errors occur, try calling DBGetLastError(). This will give a textual
description of the problem. As these errors are standard there is often information about the
cause of these errors available on the Internet – just search for the exact text of the error
How to create steps to reproduce
The first step in troubleshooting is creating steps to reproduce the problem. Not only does this help
understand the problem but is a requirement so that your potential fixes can be tested with
confidence. Computers and software are guaranteed to perform the same way with the given data and
so there are always steps to reproduce although sometimes these can be difficult to find. It can be
timing dependant (“you have to do this exactly 1.342 seconds later”!) or just very difficult to see a
pattern. However in most cases problems are quite repeatable.
Once a problem can be reproduced, the next step is to refine the steps to determine the exact cause.
The process should be repeated, attempting to leave out one step at a time to confirm if that step is
required. Where scripts are executed, each line should be removed to determine just the required
steps to reproduce the problem.
Information necessary to send to Support
If all these diagnostic suggestions fail and it becomes necessary to contact support please have the
following information:
Содержание CX-SUPERVISOR - V2.0
Страница 2: ...CX Supervisor User Manual Software Release 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor User Manual OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor User Manual OMRON Page iv Revision 2 0...
Страница 11: ...CX Supervisor User Manual OMRON Page viii Revision 2 0...
Страница 13: ...CX Supervisor User Manual OMRON Page x Revision 2 0...
Страница 15: ...CX Supervisor User Manual OMRON Page xii Revision 2 0...
Страница 17: ...CX Supervisor User Manual OMRON Page xiv Revision 2 0...
Страница 19: ...CX Supervisor User Manual OMRON Page xvi Revision 2 0...
Страница 21: ...CX Supervisor User Manual OMRON Page xviii Revision 2 0...
Страница 23: ......
Страница 67: ......
Страница 97: ......
Страница 137: ...CHAPTER 7 Graphics Library OMRON Page 114 Release 2 0...
Страница 183: ...CHAPTER 9 Animation OMRON Page 160 Release 2 0...
Страница 215: ......
Страница 263: ......
Страница 269: ......
Страница 274: ...OMRON CHAPTER 16 Connecting to Omron Industrial Components Release 2 0 Page 251...
Страница 275: ......
Страница 285: ......
Страница 319: ......
Страница 331: ......
Страница 351: ......
Страница 359: ...GLOSSARY OF TERMS CX Supervisor User Manual OMRON Page 336 Release 2 0...