F66_WOR

Redundant instruction

NOTE

This is a redundant instruction. It is replaced by: OR

Executes OR operation of each bit in 16-bit equivalent constant or 16-bit data specified by s1 and s2 if the trigger EN is in the ON-state. The OR operation result is stored in the 16-bit area specified by d. When 16-bit equivalent constant is specified by s1 or s2, the OR operation is performed internally converting it to 16-bit binary expression. You can use this instruction to turn ON certain bits of the 16-bit data.

Parameters

Input

s1, s2 (WORD, INT, UINT)

16-bit area or 16-bit equivalent constant to be compared

Output

d (WORD, INT, UINT)

16-bit area for storing OR operation result

Example

  1. Bit position

  2. start: ON

Remarks

The variables s1, s2 and d have to be of the same data type.

Related topics:

Modified on: 2019-01-24Feedback on this pagePanasonic hotline