Chapter 8 - EtherNet - IP - Module
Chapter 8 - EtherNet - IP - Module
ROKAE robotics│Page : 2
01 Introduction to Gateway HD67664-A1
HD67664-A1
ROKAE robotics│Page : 3
1. HD67664-A1
HD67664-A1 is an Ehernet/IP slave to Modbus TCP master converter. It has the following specifications:
MN67664-A1_ENG.pdf
ROKAE robotics│Page : 4
02 Preparation
hardware & networking
ROKAE robotics│Page : 5
2.1 Hardware -- Gateway
ROKAE robotics│Page : 6
2.1 Hardware -- Rockwell PLC
ROKAE robotics│Page : 7
2.2 Topology of network
192.168.2.170 192.168.2.241
Flexpendant
(optional) PLC PC / HMI
ROKAE robotics│Page : 8
2.2 Topology of network
ROKAE robotics│Page : 9
2.3 Network confirmation
Use ‘MobaXterm’ to do network scan. Confirm network is operational.
ROKAE robotics│Page : 10
03 Configurations
Gateway , xCore robot controller, PLC
ROKAE robotics│Page : 11
3.1 Configuration - HD67664-A1
ROKAE robotics│Page : 12
3.1 Configuration - HD67664-A1
Step2: Choose ore new a configuration file. We can choose build-in example file ‘Example1’.
2. Choose ‘Example1’.
1. Open configuration, or
you can use ‘new
configuration’ next to it.
ROKAE robotics│Page : 13
3.1 Configuration - HD67664-A1
Step3:
Config port1 as EtherNet/IP slave
Port1 is EtherNet/IP slave
while port2 as modbus TCP master.
Timeout
ROKAE robotics│Page : 14
3.1 Configuration - HD67664-A1
Step4: Config modbus slave whom to communicate with.Input slave IP, port ,register type, address start , register quantities.
Both in read and write.
Modbus slave IP
is robot IP
ROKAE robotics│Page : 15
3.1 Configuration - HD67664-A1
Step5: Update configuration to gateway to run in ‘running mode’ later on.
If network is ok, green word ‘device has found’ will appear after click ‘Ping’ button.
ROKAE robotics│Page : 16
3.1 Configuration - HD67664-A1
ROKAE robotics│Page : 17
3.2 Configuration – Robot controller
New
Step1: Add a new bus or edit the exist one. -> Communication -> Fieldbus Device -> Edit
IP is 192.168.2.160 or 0.0.0.0
Match configuration of
the gateway
ROKAE robotics│Page : 18
3.2 Configuration – Robot controller
New
Step2: Add new registers. -> Communication -> Register -> Edit
ROKAE robotics│Page : 19
3.2 Configuration – Robot controller
Step3: Open fieldbus. Wait for connection from modbus master.
ROKAE robotics│Page : 20
3.3 Configuration – PLC
Step1: Rockwell PLC L24ER-QB1B. Open ‘Studio 5000’, create a new project.
ROKAE robotics│Page : 21
3.3 Configuration – PLC
Step2: Search PLC model, choose the exact one. In this case , I use ‘QB1B’, enter ‘QB1B’.
ROKAE robotics│Page : 22
3.3 Configuration – PLC
Step3: Clique com o botão direito em 'Ethernet', escolha 'Novo módulo'. Um novo módulo EtherNet/IP
escravo será estabelecido.
ROKAE robotics│Page : 23
3.3 Configuration – PLC
Step4: Digite 'ethernet' na barra de pesquisa. Escolha... ‘Generic Ethernet module’.
Note: Existem diversos tipos de dispositivos EtherNet/IP. Escolha o que corresponde ao seu hardware.
ROKAE robotics│Page : 24
3.3 Configuration – PLC
Step5: Digite as informações dos registros de entrada e saída EtherNet/IP.
Neste caso, estou usando input ‘1~10’ ,output ‘100~109’.
ROKAE robotics│Page : 25
3.3 Configuration – PLC
Step6: Modificar o endereço IP do PLC. Neste caso, estou usando 192.168.2.170.
ROKAE robotics│Page : 26
3.3 Configuration – PLC
Step7: Abra o monitor de controller tag. Fique de olho no ‘gateway:I’ e ‘gateway:o’. Esses são registros de entrada e
saída.
ROKAE robotics│Page : 27
04 Communication demo
ROKAE robotics│Page : 28
4.1 Communicate demo – R/W from control panel
1. Certifique-se de que a chave do gateway esteja na posição
"OFF".
2. O dispositivo Fieldbus está ligado no xCore-HMI.
3. Toda a rede está operacional.
connected
Modbus master’s IP
ROKAE robotics│Page : 29
4.1 Communicate demo – R/W from control panel
ROKAE robotics│Page : 30
4.1 Communicate demo – R/W from control panel
ROKAE robotics│Page : 31
4.2 Communicate demo – R/W RL program
ROKAE robotics│Page : 32
4.2 Communicate demo – R/W RL program
Note: I rename the register’s names. From ‘register0’ to ‘int_write_1’, from ‘register1’ to ‘int_read_1’!
ROKAE robotics│Page : 33
4 Communicate demo
ROKAE robotics│Page : 34
05 Precauções
ROKAE robotics│Page : 35
5 Precautions
Este gateway não tem um desempenho muito alto. Se você deseja mais registros, deve
configurar as configurações em muitos slots. Dessa forma, você pode obter uma latência menor
do que simplesmente colocá-los juntos.
ROKAE robotics│Page : 36
5 Precautions
ROKAE robotics│Page : 37
5 Precautions
If you get jumbled numbers, try to check endian.
We offer 4 different endian.
In my case, ‘DCBA’ endian just match this Rockwell PLC while our default endian is ‘CDAB’.
ROKAE robotics│Page : 38
5 Precautions
If PLC cannot go online, check if the network path configuration in PLC is right.
Use tool named ‘RSLink Classic’.
ROKAE robotics│Page : 39
5 Precautions
Add the NIC(Network Interface Card) to path with direct cable link, choose PC’s NIC.
Or add the router’s NIC to path with router or switch link, choose remote subnet.
ROKAE robotics│Page : 40
THANK YOU