F236_DGRY

Redundant instruction

NOTE

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

The function converts a value at input s to a gray code value. The result of the conversion is returned at output d.

Parameters

Input

s (DWORD, DINT, UDINT, DATE, TOD, DT)

source data to be converted

Output

d (DWORD, DINT, UDINT, DATE, TOD, DT)

destination for storing gray code

Remarks

Instead of using this F instruction, we recommend using the corresponding FP7 instruction: FP_BIN_TO_GRAYFP_BIN_TO_GRAY

Related topics:

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