3.3.3 10BASE-5 installation
CHAPTER 7 GMWIN FUNCTION BLOCK
2) For RX Frame
7.5 Function Block Service of the Redundant System
7.5.1 Overview
The redundant system of communication using the FEnet module is a Redundancy Network that sends and receives the same data at the same time and configures the two networks like [Figure 7.5.1]
[Figure 7.5.1(A)] Example of a redundant system
[Figure 7.5.1(B)] Example of a redundant system Ethernet Network
Ethernet Network 2
G3Q-RY4A RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TXRX
L010200 0304 0506 07COM
L16
1718 1904 2122 23COM 08
L09
1011 1213 1415 COM
08 L262725 2829 3031 COM +- DC24V RELAY AC250V 2A DC24V 2A PROGRAMMABLE
CONTROLLER
GLOFA
GM3-PA1A
PWR
G3L-EUEA RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TXRX
MODE 12345
0
678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER
DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T RUN GM1-CPUA
RUN STOP REMOTE FAIL ERROR
PAU/REM STOP
G3L-EUEA RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TXRX
MODE 12345
0
678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T
Redundant CPU System
Single CPU System (GM3)
PROGRAMMABLE CONTROLLER
GLOFA
GM3-PA1A
PWR
G3L-EUEA RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TXRX
MODE 123 450 678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T RUN GM1-CPUA
RUN STOP REMOTE FAIL ERROR
PAU/REM
STOPA
GM1-DIFA A SEL A+B B AEL CPU-A CPU-B
A+B B
EXT PWR
RS232C RUN GM1-CPUA
RUN STOP REMOTE FAIL ERROR
PAU/REM STOP
G3L-EUEA RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TXRX
MODE 123450 678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER
DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T PROGRAMMABLE
CONTROLLER
GLOFA
GM3-PA1A
PWR
Ethernet Network 1 Ethernet Network2
Redundant CPU System
( )
Single CPU System (GM3)
G3Q-RY4A RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TX RX
L010200 03 04 0506 07 COM
L16
1718 19 04 2122 23 COM 08 L101109
1213 1415 COM
08 L262725 2829 3031 COM +- DC24V RELAY AC250V 2A DC24V 2A PROGRAMMABLE
CONTROLLER
GLOFA
GM3-PA1A
PWR G3L-EUEA
RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TX RX MODE
1234 5
0
678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T RUN GM1-CPUA
RUN STOP REMOTE FAIL ERROR
PAU/REM STOP
G3Q-RY4A RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TX RX
L010200 03 04 0506 07 COM
L16
1718 19 04 2122 23 COM 08 L101109
1213 1415 COM
08 L262725 2829 3031 COM +- DC24V RELAY AC250V 2A DC24V 2A PROGRAMMABLE
CONTROLLER
GLOFA
GM3-PA1A
PWR G3L-EUEA
RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TX RX MODE
1234 5
0
678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T RUN GM1-CPUA
RUN STOP REMOTE FAIL ERROR
PAU/REM
PROGRAMMABLE STOP
CONTROLLER
GLOFA
GM3-PA1A
PWR
G3L-EUEA RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TXRX
MODE 12345
0
678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T RUN GM1-CPUA
RUN STOP REMOTE FAIL ERROR
PAU/REM
STOPA
GM1-DIFA A SEL A+B B AEL CPU-A CPU-B
A+B B
EXT PWR
RS232C RUN GM1-CPUA
RUN STOP REMOTE FAIL ERROR
PAU/REM STOP
G3L-EUEA RUN CPU I/F RUN FB-SERVECE HS-SERVICE GMWIN-SERVICE GLOFA-SERVICE FTP-SERVICE H/W-ERROR 10BASE5 ENABLE 10BASE2 ENABLE 10BASE-T LINK 10BASE-T PLRTY TXRX
MODE 12345
0
678 9 0: ON.RUN 1: TEST1 2: TEST2 EXT.POWER DC IN +12V 12G FG
10BASE5
10BASE2
10BASE-T PROGRAMMABLE
CONTROLLER
GLOFA
GM3-PA1A
PWR
[Figure 7.5.2] Example of a redundant system
7.5.2 Characteristics of redundant Function Blocks
If the Function Block is used in a redundant system, it has the following characteristics compared with the existing Function Block.
- In a redundant Function Block, 2 Function Blocks perform their services with different communication paths at the same time. Therefore, if one side is not in service, the other side is continuing to do the service.
- Basic I/O data is identical to the existing Function Block.
- If only one of the two paths succeeds in its service, it still output normal data.
- The time of a redundant Function Block is a bit longer than the existing Function Block for data processing.
- The TX/RX size of the dual system is different from that of the single system. (See below)
Total Data Size GMR CPU GM1/2/3/4
READ 1024 Bytes 1400 Bytes
WRITE 400 Bytes 1400 Bytes
HS_LINK 120 Bytes 400 Bytes
IP:210.206.91.190 IP:210.206.91.191 IP:210.206.90.190 IP:210.206.90.191 Upper System
IP: 210.206.91.189 IP: 210.206.90.189
Upper System IP: 210.206.91.189 IP: 210.206.90.189
PC PC
HUB HUB
B Side IP:210.206.0.188 A Side
IP:210.206.91.188
- The library used when implementing the redundant system is as follows.
(The name of the redundant Function Block is Dxxx. The existing Function Block is xxx.)
Classification GMR CPU GM1/2 CPU GM3 CPU GM4 CPU GM4 CPU
Single System -- COMMUNI.
1FB
COMMUNI.
3FB
COMMUNI.
2FB
COMMUNI.
4FB COMMUNI.
RFB
COMMUNI.1 FB
COMMUNI.3 FB
COMMUNI.
2FB
COMMUNI.4 FB Redundant
System
-- DUAL_FB.
1FB
DUAL_FB.
3FB
DUAL_FB.
2FB
DUAL_FB.
4FB [Table 7.5.1] Library of redundant Function Block
DUAL_FB.xFB is the user library using the existing Function Block edited for redundancy.
7.5.3 Types of redundant Function Blocks
The redundant Function Block used to edit a program in a redundant system is as follows. Its function, type and usage are the same as the content written in chapter 7.2.
Types Uses
DE_CONN When the logical communication channel is established with the destination station.
DTCP_SEND Sends data from the local station using TCP/IP to the destination station..
DTCP_RCV Receives data from destination station using TCP/IP.
DUDP_SEND Sends data from the local station using UDP/IP to the destination station.
DUDP_RCV Receives data from the destination station using UDP/IP.
[Table 7.5.2] The types of the redundant Function Blocks
7.5.4 Action of the redundant Function Block
GMR CPU A
FEnet A FEnet A
Dual FB GM1/2/3/4 CPU Dual FB
FEnet B FEnet B
GMR CPU B
In [Figure 7.5.4] two FEnet modules are executing the same communication at the same time. In the user program, the modules implement it only with the dual Function Block.
The following describes characteristics of the common I/O of each Function Block.
Input
NET_NO:
It specifies the slot number that the communication module is installed. For slot position, slot number ‘0’ is next to CPU, and it increases ‘1’ by ‘1’ and the setting range is from 0 to 7.
In the case of GM1/2/3/4 in the following figure, the slot number of the left module out of two FEnet modules is specified. (Two communication modules must be installed close to each other.)
0 1 2 3 0 1 2 3 0 1 2 3 4
IP_ADDR, D_PORT, S_PORT, CH_NO:
If the Function Block is input for one of two FEnet modules, both modules are applied at the same time.