Flexible Input Output Modules are IO modules in which a single channel can be configured as any of the IO…