mitsubishi fx3u-enet en citectscada · citectscada communications with mitsubishi fx3u-enet open fx...

13
CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard And Set module nummer Module 1 = 2de special module at the right side

Upload: others

Post on 07-Feb-2020

49 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

CitectSCADA Communications with

Mitsubishi FX3U-ENET

Open FX configuartor-EN to define

the FX3U-ENET ethernetcard

• And Set module nummer � Module 1 = 2de special module at the right side

Page 2: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Operational settings

• Select “Binary code”

• Select “Always wait for open”

• Give in the IP adress

– PLC1 192.168.3.1

– PLC2 192.168.3.2

• Check all setting and

save these with End

Operational settings

• Define one or more ports as MELSOFT connections for GX IEC Developer and

FX configutor-EN

• Define a port for CitectSCADA

– TCP

– Unpassive

– Procedure exit (MC)

– Portnumber 1300

• Check all setting and

save these with End

Page 3: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Write settings to the FX3U-ENET

• Push the Write button

• Select the right COM-port

to connect to the PLC

and press OK

• Push the Write button to

download the settings

• Set the PLC to stop

• Click OK on the message

• With Yes the PLC comes back in run

• Power the PLC OFF and ON to reset the ethernet card

Diagnose via serial

• Push the Diagnostics button

• Connection interface is still set to a COM-port

• Push the Diagnostics button in this window as well

• Select the different diagositics tabs

Page 4: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Diagnose via ethernet

• Push the Diagnostics button

• Change the transfer setup

to the IP adress of this PLC

• Push the Diagnostics button in this window as well

• Select the different diagositics tabs

GX IEC Developer via ethernet

• Select the Ethernet board on the PC side

• Select the Ethernet module in thePLC side

• Give in the IP adressof the PLC

• Set the timeout to 5 sec

• Press Connection test

• Save these setting byclosing all windwos with OK

Page 5: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Operational settings

• Define one or more ports as MELSOFT connections for GX IEC Developer and

FX configutor-EN

• Define a port for CitectSCADA

– TCP

– Unpassive

– Procedure exit (MC)

– Portnumber 1300

• Check all setting and

save these with End

Open Citect project en

start de Express Communications wizard

Page 6: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Express Communications wizard steps

• IOserver

– name = IOserver

• IOdevice

– name = PLC1

– external I/Odevice

– Mitsubishi FX Serie FX3U

Ethernet(TCP/IP)

– Adress 255 (host PLC)

• IP adress en port are not asked. See next page.

Set IP - and port adress

• Open de port settings of PLC1

• Set the special opt

-i10.10.10.160 -p1300

• Press replace to save settings

(PLC has IP adress 10.10.10.160 and

port 1300 open for Citect)

Page 7: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Cluster needed in Citect v7

• Open clusters

• Make a cluster and

press “Add”

• Open I/O servers

• Attach your IOServer to a your cluster and

press Replace

Open Variable tags and define tags

• Define a 16 bits tag

– Name = RegD0_PLC1

– Adress = D0

– IO Device Name = PLC1

– Data type = INT

• Press add

• Define a 16 bits tag

– Name = RegX0_PLC1

– Adress = X0

– IO Device Name = PLC1

– Data type = Digtal

• Press add

Page 8: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Create a page

Place a register on the page

• Past genie

• Select libary keyentery

• Select parameter2

• Press OK

• Set tag

• Press OK

• Move object and resize

to your wish

Page 9: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Place a register on the page

• Set symbol

• Place it on the page

• Insert a tag

• Press OK

Save your page

Page 10: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Check your Communications settings

Cluster1 > IOServer > BOARD1 > PORT1_BOARD1 > PLC1 > D0_PLC1

PORT

• IP adres ENET192.168.3.1

• Portnumber ENET1300

• Special Opt-i10.10.10.160 –p1300

• Default TCP & BIN

IO DEVICE

• Adress255 (host)

• ProtocolMELSCNET1

Tag = D0_PLC1

Compile your Project

Page 11: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Run Computer setup wizard

Run your project in demo mode

• Run your project

• Press OK and

run in demo mode for 15 minutes

• Via menu update pages and select page01

Page 12: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Connect more FX3U-ENET modules

• Open de ports

• Change

– portname to PORT2_BOARD1

– Port Number to 2

– IP adress to 10.10.10.X

– Press Add

• Open de IOdevices

• Change

– Name to PLC2

– Number to 2

– Press Add

• You have now 2 record of ports and of IOdevices

Define tags of PLC2

• Open the tag RegD0_PLC1

• Change

– Name to RegD0_PLC2

– IO Device Name to PLC2

• Press add

• Open the tag RegX0_PLC1

• Change

– Name to RegX0_PLC2

– IO Device Name = PLC2

• Press add

Page 13: Mitsubishi FX3U-ENET en CitectSCADA · CitectSCADA Communications with Mitsubishi FX3U-ENET Open FX configuartor-EN to define the FX3U-ENET ethernetcard • And Set module nummer

Add the PLC2 object on the page

• Copy the 2 object

from PLC1

• Change the tags

of the copied

objects

• Close the page

and save it

Run Citect