Hi there, I'm not so similiar with PLC , but what I remember was you need to have + on the L side and - on the M.
have PLC300 siemens with AI 8 x 13 BIT (331-1KF02-0ab0) and A0 2 x 12 BIT (332-5HB01-0AB0) and DI 32 X DC24V 321-1BL00-0AA0 and DO 16 x DC24V/0,5A 322-1BH01-0AA0.
Do I need to have any supply to the models to DI and D0? what I mean is, its says L+ on the top and M- on the bottom inside, do I need to do anything with that?