...
The Mitsubishi MELSEC protocol is used for communication with Mitsubishi PLCs (MELSEC L-series and MELSEC Q-series series) equipped with Ethernet communication modules. The UDP variant using the UDP protocol (on the TCP/IP-UDP line) and the TCP variant using the TCP protocol (on the TCP/IP-TCP line) are implemented. Read and write commands are supported.
Following The following rame formats are supported (see see Frame type protocol parameter): 1E, 3E, 4E. Both binary and ASCII message encoding are supported (see the Code type protocol parameter). ASCII encoded messages are approximately 2 times longer than binary encoded messages.
Reading and writing various types of objects (device codes) is supported. These objects are bit-oriented or word-oriented, and the interpretation of several (16 or 32) consecutive bit objects as a signed/unsigned number or two consecutive word objects as a number (unsigned, signed, a real 32-bit number) is supported. Access to a specific bit of a word object is also supported.
Communication was tested against the Mitsubishi FX5UC-32MT/DSS-T model.
| Kotva | ||||
|---|---|---|---|---|
|
...
| Device type | Device code | Data type |
|---|---|---|
| Special relay | SM | bit |
| Special register | SD | word |
| Input | X | bit |
| Output | Y | bit |
| Internal relay | M | bit |
| Latch relay | L | bit |
| Annunciator | F | bit |
| Edge relay | V | bit |
| Link relay | B | bit |
| Data register | D | word |
| Link register | W | word |
| Timer Contact | TS | bit |
| Timer Coil | TC | bit |
| Timer Current value | TN | word |
| Retentive Timer Contact | STS | bit |
| Retentive Timer Coil | STC | bit |
| Retentive Timer Current value | STN | word |
| Counter Contact | CS | bit |
| Counter Coil | CC | bit |
| Counter Current value | CN | word |
| Link special relay | SB | bit |
| Link special register | SW | bit |
| Direct access input | DX | bit |
| Direct access output | DY | bit |
| Index register | Z | word |
| File register | R | word |
Device numberKotva device_number device_number
...