MJ71E71 communication driver is the driver to communicate with MELSEC PLC( ethernet communication ) of Mitsubishi in Japan.
Note) Ladder setting for MELSEC ethernet
<Figure 1> is read setting example of MJ71E71 communication driver.
<Figure 1> Read setting example of MJ71E71 communication driver |
Device part of <Figure 1> input Device type(TCP/IP), IP address of PLC(192.168.1.101), service port of TCP/IP protocol ( 1280 ),respectively, according to setting of PLC.
Note) It need TCP/IP inital setting and 'Connection/Disconnection' routine at PLC for MJ71E71 module.
MJ71E71 communication driver read schedule
Read schedule setting parameters are as follows:
1) Station – station number of PLC. direct connection = 255, other = according to connection.
2) Read memory type – memory type = X, Y, M, L, S, B, F, TS, TC, CS, CC, TN, CN, D, W, R, ....
3) Read start address – reading start address in memory.
X, Y, B memory = read start address x 16.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – word unit read size.
Read schedule example)
READ, 255, X, 0, 0, 10,
READ, 255, Y, 0, 10, 10,
READ, 255, M, 0, 20, 10,
READ, 255, L, 0, 30, 10,
You can set Melsec PLC by using 'writing settings'.
Digital Write
Digital write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION station number of PLC. ( single PLC = 255 )
3) ADDRESS address in PLC memory.(X, Y, B memory = hex-decimal address, converting requires to decimal )
4) Extra1 write memory type = X, Y, M, L, S, B, F, TS, TC, CS, CC, TN, CN, D, W, R, ....
5) Extra2 don't care.
Write example 1)
PORT:0, station:1, ADDRESS:001A, Extra1: Y, Extra2 : 0
The setting parameter shown above is bit control(On/Off) example for 1 word, A(10th)bit of Y PLC memory.
Analog Write
Analog write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION station number of PLC. ( single PLC = 255 )
3) ADDRESS address in PLC memory.(X, Y, B memory = hex-decimal address, converting requires to decimal )
4) Extra1 write memory type = X, Y, M, L, S, B, F, TS, TC, CS, CC, TN, CN, D, W, R, ....
5) Extra2 don't care.
Write example 1)
PORT:0, station:1, ADDRESS:0015, Extra1: D, Extra2 : 0
The setting parameter shown above is word write example for 15 word of D PLC memory.
Please note DIP switch setting of MJ71E71.
1) Please set 'Binary mode' between ASCII mode and Binary mode.
2) If you want to write to the PLC, you should to set 'Write mode = Enable' at DIP Switch.