Finally got the grayscale values from HS(V). There is a node named RGBtoHSV. In this case: TEXTURE SAMPLE > RGBtoHSV > Mask(B)
This is the attachment for previous Invalid Attachment 86381: