Out of curiosity, could you let me know which value did "False" stand for?
If False And MfgControl.AdvancedHMI.Drivers.PCCCAddress.IsPLC5(ProcessorType) Then DataSize -= 1 End If