F240_COLM

Redundant instruction

NOTE

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

The function creates a bit column out of a value given at input s that is returned within an ARRAY at output d. The position of the column in the ARRAY is specified at input n. The value assigned at n can be between 0 and 15.

Parameters

Input

s (WORD, INT, UINT)

source

n (WORD, INT, UINT)

specifies bit position

Output

dARRAY [0..15] of (WORD, INT, UINT)

destination area that will be rewritten with bit column

Remarks

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if the bit position specified at input n is not between 0 and 15

  • if the conversion operation results in an overflow of the address area at output d.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if the bit position specified at input n is not between 0 and 15

  • if the conversion operation results in an overflow of the address area at output d.

Related topics:

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