C h a p t e r 2 W r i t i n g P r o g r a m s
2.6.2
Removing System Errors
When a system runs, errors may occur. If users follow the procedure introduced in this chapter, there will be no
error. After a program is written to a PLC, M1004 will be ON if an error occurs. The reason for the error may be
that operands (devices) are invalid, or syntax is incorrect. It is indicated by the error code (hexadecimal value)
in D1004. D1004 can be monitored by means of WPLSoft.
1. Click
Edit Monitored Devices
on the
View
menu in WPLSoft.
2 - 2 7