Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions
• If a user-defined error for the same event code already exists, the new error is not recorded in the
event log.
• Always use variables for the input parameters that pass Info1 and Info2. If you use a constant, a
building error will occur.
• An error does not occur even if the value of Code is not set as a event code on the Sysmac Studio. If
the event code is not registered, the event group and detailed information are not recorded in the
user-defined event log. The value of Code is recorded for the event name.
• Return value Out is not used when the instruction is used in ST.
• An error occurs in the following cases. ENO will be FALSE.
• The value of Code is outside of the valid range.
• An attempt was made to generate more than the maximum number of user-defined errors.
Sample Programming
In this sample, the value of variable A changes between TRUE and FALSE every five seconds. The
value of A is monitored. If it does not change for more than five seconds, a user-defined error with event
code 102 is generated. UINT#123 and UINT#456 are given as the attached information.
2-612

NJ-series Instructions Reference Manual (W502)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents