YASKAWA MP920 communication driver is the driver to communicate with machine controller of Yaskawa in Japan.
<Figure 1> is YASKAWA MP920 communication driver read setting examples.
<Figure 1> Read setting example of YASKAWA MP920 communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(2), Data Bit(8), Stop Bit(1) respectively, according to setting of controller.
Baud rate, parity bit, data bit, stop bit of Modicon PLC can set by using Setting program. ( default = 19200, 2, 8, 1, default station = 1 )
YASKAWA MP920 communication driver read schedule
Read schedule setting parameters are as follows:
1) Station – controller station number. ( default = 1 )
2) Memory type = 1 = Coil status, 2 = Input relay status, 3 = Holding register, 4 = Input register.
3) Read start address – read start address int memory type.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read size – word unit reading size.
Read schedule example)
READ, 1, 3, 0, 0, 25,
READ, 1, 4, 0, 25, 25,
You can control MP920 controller by using 'write settings'.
Digital Write
Digital write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION controller station number.
3) ADDRESS writing address in memory type.
4) Extra1 fixed to Coil status memory.
5) Extra2 don't care
Write example 1)
PORT:0, station:1, ADDRESS:0003, Extra1: , Extra2 : 0
The setting parameter shown above is bit(On/Off) writing example for 0003 address( 0 word 3 bit ) of Coil status memory.
Write example 2)
PORT:0, station:1, ADDRESS:012A, Extra1: , Extra2 : 0
The setting parameter shown above is bit(On/Off) writing example for 012A address( 12 word A bit ) of Coil status memory.
Analog Write
Analog write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION controller station number.
3) ADDRESS writing address in memory type.
4) Extra1 fixed to Holding register memory.
5) Extra2 don't care
Write example 1)
PORT:0, station:1, ADDRESS:0015, Extra1: , Extra2 : 0
The setting parameter shown above is word data writing example for 0015 word address of Holding register memory.
Write example 2)
PORT:0, station:1, ADDRESS:0125, Extra1: , Extra2 : 0
The setting parameter shown above is word data writing example for 0125 word address of Holding register memory.
1) MP920 communication driver support 'MEMOBUS Binary Mode'.
2) RS-232C communication cable only can use full connection. Please refer to User amanual of MP920 for more information about connection of communication cable.
3) When you using CPU communication port, you have to connect at 'Port1'.