This is an old revision of the document!
It is possible to handle a custom serial protocol in Mervis using ST or FBD. To operate with a port using io functions (openport/writeport/getportstatus) a io.comhandle is required. That is well described in the integrated Mervis IDE help.
Axon series
Models S105, S155, M205, L205
| RS485-1 | RS232-2 | RS485-3 | USB1 | USB2 |
Port ID | 6 | 3 | 2 | 10 | 11 |
Models M505, M525, L505, L225
| RS485-1.1 | RS232-1.2 | RS485-1.3 | RS485-2.1 | USB1 | USB2 |
Port ID | 6 | 3 | 2 | 7 | 10 | 11 |
Model S115
| RS485-1 | RS485-2 | RS485-3 | RS485-4 | USB1 | USB2 |
Port ID | 6 | 1 | 3 | 2 | 10 | 11 |
Models S165, M265
| RS485-1 | RS485-2 | USB1 | USB2 |
Port ID | 6 | 2 | 10 | 11 |
Model M565
| RS485-1.1 | RS232-1.2 | RS485-2.1 | USB1 | USB2 |
Port ID | 6 | 2 | 7 | 10 | 11 |
Model S175
| RS485-1 | RS485-2 | RS232-3 | USB1 | USB2 |
Port ID | 6 | 2 | 7 | 10 | 11 |
Model S215, S515, S605
| RS485-1 | RS232-2 | USB1 | USB2 |
Port ID | 2 | 3 | 10 | 11 |
M515, M535
| RS485-1.1 | RS232-1.2 | RS232-2.1 | USB1 | USB2 |
Port ID | 2 | 3 | 6 | 10 | 11 |
S205, S505
| RS485-1 | USB1 | USB2 |
Port ID | 2 | 10 | 11 |
Neuron Series
All Neuron models share the same port IDs except the ones that do not have the additional RS485-2.1 or RS485-3.1
S103, M103, M203, M303, M403, M503, M523, M603, L203, L303, L403, L503, L523, L513. L533
| RS485-1.1 | RS485-2.1 | RS485-3.1 | USB1 | USB2 | USB3 | USB4 | COM1 (TTL) |
Port ID | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 1 |
UniPi 1
UniPi 1 and UniPi 1 Lite
| USB1 | USB2 | USB3 | USB4 | COM1 (TTL) |
Port ID | 10 | 11 | 12 | 13 | 1 |