I see you’ve already noticed the Trouble integrating into Logic Pro X setup topic, does the information there help get it working?
I don’t have experience with Logic Pro, but otherwise, to get the MIDI data from the computer to a physical MIDI output, you’d have to have “From USB A” -> “To MIDI A” pipeline. To get physical MIDI input to the computer, you’d have to use “From MIDI A” -> “To USB A”. The USB ports are usually named using numbers in the OS itself, the order corresponds to the letter order.