Thanks for all the comments and corrections. I have now redrawn the 'CSMIO Digital Inputs' diagram as one sketch incorporating all (I think) the comments.