F121_ROL

Redundant instruction

NOTE

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

Rotates n bits of the 16-bit data specified by d to the left if the trigger EN is in the ON-state.

Parameters

Input

n (INT)

number of bits to be rotated

Output

d (WORD, INT, UINT)

16-bit area

Remarks

The following example rotates one bit to the left:

When n bits are rotated to the left,

  1.  (1) Bit position
  2.  (2) Special internal relay R9009 (carry flag)
  3.  (3) Data in bit position 15
Related topics:

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