Ethernet Communication Module Manual en
Ethernet Communication Module Manual en
CBEH/CBEH-0A/CBEH-2A/CMEH/CM5EH
Table of Contents
Chapter 1 Introduction of Ethernet Communication Module ....................................... 5
1.1 Summary .................................................................................................... 5
1.2 Main Product Functions ............................................................................. 5
1.3 Product Features ........................................................................................ 6
1.4 Manual Reading Guidance ......................................................................... 8
1.5 Product Appearance .................................................................................. 9
1.6 Companionate Softwares......................................................................... 13
Chapter 2 PLC and Ethernet Communication Interfaces ............................................. 15
Chapter 3 Basic Configuration Settings ........................................................................ 18
3.1 Use of Ether_Config software ..................................................................... 18
3.1.1 LAN connection ............................................................................ 19
3.1.2 IP Address Setting ........................................................................ 21
3.1.3 Operation Mode Setting .............................................................. 22
3.1.4 Access Control .............................................................................. 23
3.1.5 Port Mapping ............................................................................... 24
3.1.6 Service Ports................................................................................. 26
3.1.7 Password ...................................................................................... 26
3.1.8 External Servers ........................................................................... 27
3.1.9 Offline Configuration Setting ....................................................... 28
3.2 Setting Through Web Browsers................................................................ 30
3.2.1 System Page ............................................................................... 31
3.2.2 IP Address Setting ........................................................................ 32
3.2.3 Operation Mode Setting (Port2/4 Setting) .................................. 34
3.2.4 Access Control .............................................................................. 34
3.2.5 Port Mapping ............................................................................... 35
3.2.6 Service Port .................................................................................. 36
3.2.7 Password ...................................................................................... 37
3.2.8 External Servers ........................................................................... 38
Chapter 4 Customized Web Page Design ..................................................................... 40
4.1 Changing Web Page Style ......................................................................... 40
4.2 Adding Menus .......................................................................................... 44
4.3 Add Contents............................................................................................ 45
4.4 Updating Customized Webpage............................................................... 56
Chapter 5 Sending Emails, Email to SMS ..................................................................... 58
Chapter 6 Internet Clock Synchronization ................................................................... 64
6.1 Enable the Internet Clock Synchronization Function ............................... 64
6.2 Synchronization of Real Time Clock with Network Time ......................... 65
2
6.3 Sample Application .................................................................................. 66
Chapter 7 Monitoring PLC’s Internal Status Using System Webpage .......................... 67
7.1 Adding Monitoring Points ........................................................................ 67
7.2 Modifying and Deleting Monitoring Points ............................................. 68
7.3 Modify the Value of Monitoring Point ..................................................... 69
Chapter 8 Active Call Back ........................................................................................... 70
8.1 Option Setting Page ................................................................................. 70
8.2 Guest List .................................................................................................. 71
8.3 Active Call Back Application Example ...................................................... 72
Chapter 9 Firmware Update ................................................................................. 74
3
Version Revision date Author Detail
V1.0 2016/12/28 Edison Lin Update with
CBEH-0A and 2A
model
V1.1 2017/1/23 Edison Lin 1) 4.4 Modify
service provider
from SMS King
to Message
Media
2) Modify
document
format
V1.2 2017/3/23 Edison Lin Fix NP description
where left is
replaced with right
at section 1.5
V1.3 2017/3/24 Edison Lin Fix NP description
to the left and add
firmware version
notice at section 1.5
V1.4 2017/6/12 Edison Lin Add CMEH
V1.5 2018/1/4 Edison Lin Add CM5EH
4
Chapter 1 Introduction of Ethernet Communication Module
1.1 Summary
Port1 and Port2 of CPU modules will be used when an expansion board is mounted.
Port1 is fixed as Fatek server mode and can be used for editing and debugging of
ladder programs. Port2 is used to support Modbus/TCP or Fatek client mode. When
in operation, the parameters of communication ports, Port1 and Port2, will be
configured automatically according to the work mode set. FBs-CMEH modules work
just like FBs-CBEH series does, on the exception of occupying Port3 and Port4 instead.
FBs-CM5EH modules also inherit most of the functions from FBs-CMEH and can be
used as a gateway between Ethernet and RS485 network, which provides a
cost-effective solution for monitoring or communicating with FBs-PLCs in the RS485
network. FBs-CM5EH currently supports only Fatek and Modbus Server mode.
In addition to the functions mentioned above, this product series also provides a web
server function; besides providing the function of setting the module’s configuration
contents through a web browser, it also provides user with the ability to customize a
webpage that fits the application. Through this function, the user can use the
customized webpage to easily browse or control the status within the PLC.
The difficulty to work behind internet firewalls has always been problems faced by
internet remote maintenance applications. This product series provides an active
remote service call back function that can completely eliminate these problems. If
only used for remote maintenance, under most circumstances, it can be immediately
used without the need to setup.
When a situation arises on site, the Email sending function can be used to notify the
remote maintenance personnel, or use the Email to SMS internet service to provide a
more real-time SMS(Text) messaging to notify the maintenance personnel.
5
ports of CPU modules depending on the models.
Email sending
For a more responsive maintenance requirement, this product series expansion
board provides the Email sending function. When special situations occurred on the
workstation, the ladder program can issue the “send Email command” to send an
Email to notify the maintenance personnel. In addition, through Internet service
provider that provides “Email to SMS” sending functions, real-time notifications by
SMS also can be achieved.
6
7
Note*1
1. When Fatek client function is selected, it does not provide the Modbus
server or client function. FBs-CM5EH does not support client modes.
2. Applicable web browsers - IE 9.0, Firefox 8.0, Google Chrome
16.0.912.75 or above.
8
1.5 Product Appearance
The introduction to the FBs-CBEH series expansion board’s appearance and function
parts are as follows:
FBs-CBEH
1 2 3 4
5 8
9
6
10
11
① NP jumper: When the jumper is set on the left two pins, it is not
password-protected.
② Boot jumper: When the jumper is set on the left two pins, it will be forced to
enter Boot operation mode when started up.
③ Expansion board status indicator (Run): When operating normally, this indicator
will flicker rapidly; when entered the Boot operation mode, this indicator will
flicker slowly.
④ Ethernet status indicator (Link): When this is on, it means that the internet
connection is normal.
⑤ Ethernet transmitting status indicator (Tx): When this is on, it means that the
expansion board is currently sending message to the Ethernet.
⑥ Ethernet receiving status indicator (Rx): When this is on, it means that the
expansion board detected that there are messages appear on the Ethernet.
⑦ CPU module’s Port2 TX red signal indicator: When this is on, it means that there
are messages being sent to this expansion board from Port2 of the CPU module.
⑧ CPU module’s Port2 RX green signal indicator: When this is on, it means that
Port2 of the CPU module received the messages sent by this expansion board.
⑨ CPU module’s Port1 TX red signal indicator: When this is on, it means that there
are messages being sent to this expansion board from Port1 of the CPU module.
⑩ CPU module’s Port1 RX green signal indicator: When this is on, it means that
Port1 of the CPU module received the messages sent by this expansion board.
⑪ Ethernet connector: RJ45 standard connector.
9
FBs-CBEH-0A
1 2
3 4
① NP jumper: When the jumper is set on the left two pins, it is not
password-protected (Firmware version older than V7.6 is NP mode without
attaching any jumper or set on the right two pins).
② Boot jumper: When the jumper is set on the right two pins, it will be forced to
enter Boot operation mode when started up.
③ Ethernet status indicator (Link): When this is on, it indicates a connection; When
blinking, network traffic is active.
④ Ethernet status indicator (Speed): When this is on, it indicates a 100Base-TX
connection. Otherwise it’s a 10Base-T connection.
⑤ Port1 RX green signal indicator: When this is on, it means that there are
messages being sent to this expansion board from Port1 of the CPU module.
⑥ Port1 TX red signal indicator: When this is on, it means that this expansion
board is sending messages to CPU module through Port1.
⑦ Port2 RX green signal indicator: When this is on, it means that there are
messages being sent to this expansion board from Port2 of the CPU module.
⑧ Port2 TX red signal indicator: When this is on, it means that this expansion
board is sending messages to CPU module through Port2.
⑨ Ethernet connector: RJ45 standard connector.
10
FBs-CBEH-2A
1 2
10
11 5
12 6
13 7
14 8
3 4
① NP jumper: When the jumper is set on the left two pins, it is not
password-protected (Firmware version older than V7.6 is NP mode without
attaching any jumper or set on the right two pins).
② Boot jumper: When the jumper is set on the right two pins, it will be forced to
enter Boot operation mode when started up.
③ Ethernet status indicator (Link): When this is on, it indicates a connection; When
blinking, network traffic is active.
④ Ethernet status indicator (Speed): When this is on, it indicates a 100Base-TX
connection. Otherwise it’s a 10Base-T connection.
⑤ Port1 RX green signal indicator: When this is on, it means that there are
messages being sent to this expansion board from Port1 of the CPU module.
⑥ Port1 TX red signal indicator: When this is on, it means that this expansion
board is sending messages to CPU module through Port1.
⑦ Port2 RX green signal indicator: When this is on, it means that there are
messages being sent to this expansion board from Port2 of the CPU module.
⑧ Port2 TX red signal indicator: When this is on, it means that this expansion
board is sending messages to CPU module through Port2.
⑨ Ethernet connector: RJ45 standard connector.
11
⑩ ADC0: First voltage input ( 0 ~ 10V ) *1
⑪ ADC0: First current input ( 0 ~ 20mA ) *1
⑫ ADC1: Second voltage input ( 0 ~ 10V ) *1
⑬ ADC1: Second current input ( 0 ~ 20mA ) *1
⑭ ADC Ground
Note*1: The same ADC input set does not allow concurrent voltage and current input
FBs-CMEH
1
2
3
7 8
9
① Power LED: Lit on when power is on
② Run LED: Blink when normal.
③ Error LED: Lit on when failed to perform automatic Baud adjustment on Port 3.
④ Port 4 R/TX: Blink when there’s communication.
⑤ Port 3 R/TX: Blink when there’s communication.
⑥ PHY Status LED: Indicating Speed and Link/Act status.
⑦ RJ45: Ethernet cable slot.
⑧ Boot jumper: Boot into Boot operation mode when set on the left two pins.
⑨ NP jumper: Ignoring password check when set on the right two pins.
12
FBs-CM5EH
1
2
3
10 4
7
8
9
① Power LED: Lit on when power is on
② Run LED: Blink when normal.
③ Error LED: Lit on when failed to perform automatic Baud adjustment on Port 3.
④ Port 4 R/TX: Blink when there’s communication.
⑤ Port 3 R/TX: Blink when there’s communication.
⑥ PHY Status LED: Indicating Speed and Link/Act status.
⑦ RJ45: Ethernet cable slot.
⑧ Boot jumper: Boot into Boot operation mode when set on the left two pins.
⑨ NP jumper: Ignoring password check when set on the right two pins.
⑩ Port 4(RS485): Terminal block to RS485 network
13
An application that works with this product series provides a window-based
software used to configure basic settings, password protection and firmware
update etc. Please refer to Chapter 3.1 for detailed explanation.
It provides the function to allow users to easily browse or control the status
within the PLC through a customized web page; the customized web page can
be created through this software without requiring the user to have the skills to
write HTML. Please refer to chapter 4 for detailed explanation.
14
In terms of maintenance immediacy, this product series provides the Email
sending and Email to SMS functions, which can be set through the windows tool
“Email Editor” in Easy Web Designer. Please refer to chapter 5 for detailed
operation contents.
The Service Call Center software is provided to work with remote maintenance
operations, used to perform maintenance tasks when the PLC workstation’s IP is
acquired with the dynamic IP method or when it is in a more complicated
network environment and the IP is difficult to acquire. Please refer to Chapter 8
for detailed operation contents.
15
Active Call Back
Register Description
Active call back and initialization setting command code
Setting value Function
Execute active call back, value zero must be
D3950 0x3359 entered when terminating connection.
(CPU written*1)
Reset module. When the local machine’s internet
parameter is changed, it can reset without
0x3450
powering off; will be changed to zero after the
command is executed.
Resets to factory settings. Will be changed to
0x3451 zero after the command is executed.
Call Status
Note*1: The values in this table is written by the CPU. For D3978~D3989 and D3991~D3999, all
registers are written by this product series except for when D3990 is written as 0x4951,
Email Sending
Register Description
D3961 Email command code
(CPU Written*1) Setting value Status
0x3370 Execute Email sending, when completed, value
zero must be entered.
D3962
The message number of the Email to be sent
(CPU Written*1)
16
Email send status
Content value Status
0 Standby
D3963 1 Executing
2 Send complete
10 Email code error
11 Send failed
12 Construction data error
ADC Digits
D3964 ADC0
D3965 ADC1
Network Parameters
Register Description
D3978~D3981 Primary domain name server(DNS)IP
D3982~D3985 Secondary domain name server (DNS)IP
D3986 The first decimal number of the local network mask (MY_MASK.A)
D3987 The second decimal number of the local network mask (MY_MASK.B)
D3988 The third decimal number of the local network mask (MY_MASK.C)
D3989 The fourth decimal number of the local network mask (MY_MASK.D)
D3990 network parameter setting mode
(CPU Written*1) =0x4951, network parameters determined by register contents
=0x4960, acquired using DHCP
=other value, determined by the contents of the configuration tool
D3991 The first decimal number of the board network address (MY_IP.A)
D3992 The second decimal number of the board network address (MY_IP.B)
D3993 The third decimal number of the board network address (MY_IP.C)
D3994 The fourth decimal number of the board network address (MY_IP.D)
D3995 The first decimal number of the router network address (ROUTER_IP.A)
D3996 The 2’nd decimal number of the router network address (ROUTER_IP.B)
D3997 The 3’rd decimal number of the router network address (ROUTER_IP.C)
D3998 The 4’th decimal number of the router network address (ROUTER_IP.D)
D3999 Board’s serial number (S/N)
Note 1: Example of network address (IP) 192.168.2.1, first code: 192, second code: 168, third code: 2,
fourth code: 1.
Note 2: When D3990 is not 0x4951, after started up the contents of D3978~D3989 and D3991~D3998
will display the actual setting value.
Note 3: D3964~D3976 reserved.
17
Chapter 3 Basic Configuration Settings
Users can perform settings through the Ether_Config software or built-in system
webpages. The comparison of the two setting methods are listed in the table below:
Users can refer to the descriptions mentioned in the table above and chose the
suitable method to set the device configuration according to their needs. The
content of this chapter will describe configuration setting methods and the meaning
of each setting fields.
Ether_Config software provides the following features to configure for the FBs-CBEH
series, FBs-CMEH and FBs-CM5EH modules:
Basic module data setting: Contents include network address, gateway address,
network mask, operation mode, module identification name and module
comment etc.
Security setting: Authorized IP (network address) setting; when this function is
used only command messages sent by authorized IP will be accepted by this
module or expansion board.
Local station number and remote network address and station number setting:
The maximum number of slave station PLC that can be connected through the
network is 254 stations; when the module operation is in client mode, in order
to map the local station number (to the main PLC) to the slave station PLC on
18
the network, the mapping table must first be set when applying this function.
Firmware update function: The Ether_Config software provides the function to
update the firmware. Please refer to Chapter 10 for detailed operation contents.
External service setting: It provides internet clock synchronization (NTP Server),
SMTP Server, Service Callback Server and DNS Server functions that require
external services which can be set and used according to the user’s needs.
Note
Only Ether_Cfg with version V3.0 or above supports the FBs-CBEH
module.
Only Ether_Cfg with version V3.8 or above supports the FBs-CMEH
module.
Only Ether_Cfg with version V3.9 or above supports the FBs-CM5EH
module.
When this product series and host computer(PC) access the same local area network
(LAN) and you do not know the IP address, you can execute the Ether_Config
software and use the following method to connect:
19
1
If you already know the IP address and the address matches the domain it is in, you
can use the following method to connect:
20
Note
1. If you want to use this method to connect a PC and this product series
in different domains, then the target module’s Remote Config. Enabled
option (please refer to the explanations in 3.1.2) must first be checked.
2. When this product series is behind a firewall, you must first open the
firewall’s port 111 to perform remote configuration setting.
The first step to enter configuration setting is to set the IP, subnet mask and gateway
address, which is set on the General function tab as shown in the figure below:
The following describes the meaning of each field for the user’s reference:
IP Assign Mode: IP acquisition mode. Users can set according to their
application needs, there are:
1. Static: Static acquisition. User needs to manually set the network, mask and
gateway address.
2. DHCP: Dynamic acquisition. User does not need to set the network, mask
and gateway address; usable address will be acquired through the DHCP
server’s status.
3. By PLC: Decided by the PLC’s register (Please refer to the descriptions in
Chapter 2).
IP Address: The unique IP address in the network.
Subnet Mask: The subnet mask for identifying the domain.
GateWay: The gateway of the domain where the module is located.
Host Name: Used for commenting, able to identify different modules; a
maximum of 11 characters can be entered.
Comment: Used for commenting; used to explain detailed module information,
21
a maximum of 21 characters can be entered.
Remote Config. Enable: Used for security setting. When checked, it allows
remote setting of Ether_Config through the internet. This item must be checked
if you want to use the internet setting method mentioned above; it is suggested
to use a password along with this method in order to avoid security leakages.
Please do not check this option if not necessary in order to avoid inappropriate
changes.
Remote Web Access Enable: Used for security setting. When checked, it allows
remote web page operations through the internet. This item must be checked if
you want to use the internet setting method mentioned above; it is suggested
to use a password along with this method in order to avoid security leakages.
Please do not check this option if not necessary in order to avoid inappropriate
changes.
Import, Export: Use the Export function to save all of the module’s setting
information, and later on use the Import function to read the Exported file or
file generated with offline editing (please refer to the descriptions in 3.1.8) for
more convenient module data setting.
Under the General setting page, in addition to setting fields related to the IP address,
there’s also a section used to set the operation mode, as shown in the figure below:
FBs-CBEH series:
FBs-CMEH:
Port1(Port3 for FBs-CMEH) is fixed to be used for the Fatek Server can be used for
the editing of ladder programs or the accessing of data. Port2(Port4 for FBs-CMEH) is
used to support Modbus/TCP or Fatek client mode. When Port2(Port4 for FBs-CMEH)
is selected to Modbus client mode or Fatek client mode, the user must also set the
“Properties” setting in the Port Mapping setting page (please refer to the
descriptions in chapter 3.1.4).
FBs-CM5EH:
22
FBs-CM5EH supports Fatek Server and Modbus Server modes. The Baud of the
FBs-PLCs in the RS485 network has to be adjusted to match with the Baud setting
here for the communication to work.
While setting, you can move the mouse cursor into the table and right-click the
mouse, a menu will pop out as shown below:
Click Add to add a new authorization data entry. Click Del to delete an authorization
data entry. Click Edit to modify an authorization entry. The following screen will
appear after clicking Add:
Use this screen to set a group of consecutive authorized IP (or PLC station number).
Please enter the smallest IP address in the Grant IP field, and in the Group Size field,
enter the number of corresponding controllers.
23
3.1.5 Port Mapping
When the operation mode of Port2(Port4 for FBs-CMEH) is set as Modbus/Fatek
client mode in the basic settings page, an extra port mapping tab will appear. The
following screen will appear after clicking the tab with the mouse:
There is a “Group Mode” combo list providing the “Group Mode” selection, its
meaning is as follows:
Consecutive Station No.: Consecutive station number. When the Group Size is
specified, its contents will be set to a fixed network address and continuous
station numbers, as shown in the figure below:
Note: Group mode setting will apply to entire table; data can not be set entry by
entry.
When setting is needed, you can move the mouse cursor into the table and
right-click the mouse, a menu will appear as shown below:
Click Add to add a new mapping data entry. Click Del to delete a mapping data entry.
Click Edit to modify a mapping data entry. The following screen will appear after
clicking Add:
24
The following is the meaning of each field:
Local Station: Represents the remote PLC’s station number at the local end.
Remote Station: Represents the station number of the mapped remote PLC.
Remote IP: The IP address of the remote PLC.
Remote Port: The IP port number of the remote PLC.
Group Size: When Group mode is set to Consecutive Station No., a mapped
group station numbers can be defined one at a time; for example, if you want to
set the local station numbers 10~19 to map the remote station numbers 20~29,
and the remote IP is 192.168.1.3, you can set Local Station=10, Remote
Station=20, Group Size=10, Remote IP=192.168.1.3, the Remote Port is generally
set to 500. A maximum of 18 group mapping can be set within the Ethernet
interface conversion module. When Group mode is set to Consecutive IP No., a
group IP mapping can be defined at once for this setting.
25
3.1.6 Service Ports
When this product series is working under TCP or UDP server mode, the external
service ports must be set so that the external client workstations can send service
requests according to the set service port numbers.
The default Fatek communication protocol service port is 500, Modbus’
communication protocol service port is 502, Http communication protocol service
port is 80. A maximum of 2 service port numbers can be provided to each service at
the same time; one is a fixed default port (Secondary Port) and the other is a
modifiable port (Major Port). If the user wants to modify the latter to a non-default
port number, the Service Ports setting page can be used to make the modification.
While modifying, just enter the port number you want to modify to in the Major Port
field.
3.1.7 Password
Password protection: The factory’s default password is 1234; if the user wants to
change the password, they can click the Password setting page and the following
screen will appear:
Just enter the password you want to use in the New Password and Confirm Password
fields, and then press the Change button to complete the setting. To cancel the
password, just press the Remote button.
26
3.1.8 External Servers
This product series provides some functions that require external services; to use
these functions, click the External Servers setting page, and the following screen will
appear:
NTP Server: It provides the internet clock synchronization function, eliminating the
trouble of manually correcting the time on a regular basis. To activate this service,
just check Enable; when the service is activated, it will periodically request the
newest clock data from the NTP server and set the data into Calendar register
(D3953~D3960) accordingly (Please refer to Chapter 6 for details).
IP(URL): The IP address of the internet time server (NTP server), please
refer to the setting of the PC for internet time server address and
directly paste it over to use.
Time Zone: The time zone of the application location; the example
above uses Taipei GMT + 08:00, which means that the time zone of
Taipei is Greenwich Standard Time + 8 hours.
SMTP Server: It provides Email sending function; to use this function, the working
address of the messenger server must be filled into the IP(URL) field.
Attention: Generally, SMTP Server does not need security check. When you realized
27
SMTP Server needs security check, please chooses and then the
following message will be shown. Fill in your login name and password of SMTP
Server
Service Call Back Server: This product series provides automatic service callback
function; to use this function, the user must first fill in the network address and port
number of the working callback server.
DNS Server: Domain Name Server. When the server IP address is filled in with the
domain name format, it will require the use of external domain name query services.
To use this service, the user must first fill in the data of the following fields; you can
refer to the Windows operating system’s primary DNS and secondary DNS fields in
the internet option settings to perform this setting. If the IP acquisition mode is set
to dynamic (DHCP) mode, then setting is not needed. The DNS setting in the figure
below is the DNS server location of Chunghwa Telecommunications:
28
function, the user can first edit configuration offline, and save the edited content into
a file, and later on when connected, use the Import function to access the
configuration contents saved on the file and directly perform settings to the module.
The following are the operation steps and description:
① Open the Ether_Cfg software and select File from the main menu above.
② Select New… from the menu to start creating the offline configuration setting
file.
③ Select the target module for the Module Model.
④ Click the OK button to start the setting and editing of offline configuration.
The configuration editing method is the same as the previous chapters (please
refer to Chapters 3.1.2 to 3.1.8).
When configuration editing is complete, you can follow the following steps to save
the setting file:
29
1
3
2
When the user already knows the module IP address, and that address matches the
actual connecting domain section (for example if the actual domain section is
192.168.2.X and the expansion board’s network address is 192.168.2.5), then web
browsers can be used to enter the webpage provided by the expansion board to
perform configuration settings (of course the PC must also be able to connect to that
domain section). Open the web browser and enter the IP address in the web address
column to get the login web page. As shown in the example below, when the IP
address to be connected is 192.168.2.32, then in the web browser, enter:
30
If the IP is correct then the login page will be shown as follow
On the login page, users must select the system page from the “login page” combo
list and enter the password (the default factory setting of password is 1234), then
press the Login button to log in. If the password is correct, it will enter the system
page.
The system page provides related setting and control for basic configuration, external
services, and real-time monitoring etc. for the user; the user can understand the
entire system page’s environment and architecture from the figure below.
31
1 2
5 6
7 8
Common data setting: Set the module’s network address, mask and gateway
parameters. To set these parameters click the General setting page, and the following
screen will appear:
32
The following describes the meaning of each field:
IP Assign Mode: IP acquisition mode. Users can set according to their
application needs, there are:
1. Static: Static acquisition. User needs to manually set the network, mask and
gateway address .
2. DHCP: Dynamic acquisition. User does not need to set the network, mask
and gateway address; usable address will be acquired from the DHCP server.
3. By PLC: Obtained from the PLC’s register (Please refer to the descriptions in
Chapter 2).
IP Address: The IP address in the network.
Subnet Mask: The subnet mask for identifying the domain.
GateWay: The gateway of the domain where the module is located.
Host Name: Used for commenting, able to identify different modules; a
maximum of 11 characters can be entered.
Comment: Used for commenting; used to explain detailed module information,
a maximum of 21 characters can be entered.
MAC: The MAC Address of this expansion board.
S/N: The manufacturing serial number. The module can use this serial number
to directly connect to the web page. Using serial number 14336 in the figure
above as a usage example, in the browser web address column enter:
http://fac14336 to connect to the web page. This method can only be used
under the local area network (LAN) connection.
Firmware Version: Displays the expansion board’s firmware version.
Remote Web Access: Security setting. When checked, it allows remote web
page setting through the internet. This item must be checked if you want to use
the internet setting method mentioned above.
Note
It is suggested to use the password protection when Remote Web Access
is checked in order to avoid security leakages. Please do not check this
option if not necessary in order to avoid malicious access.
33
3.2.3 Operation Mode Setting (Port2/4 Setting)
FBs-CBEH series and FBs-CMEH module use Port1/Port3 for the Fatek Server and
Port2/Port4 for Modbus/TCP or Fatek client mode. For configuration, click on the
Port2 setting page and you will see the following screen:
Click the combo list box behind Operation Mode to select one of the following
operation modes:
1. Fatek Client 2. Modbus Server 3. Modbus Client
When Port2 is selected to Modbus client mode or Fatek client mode, the user must
perform settings in the Port Mapping setting page (please refer to Chapter 3.2.4 for
detailed descriptions). Select according to the user’s need and then click the Apply
button to complete the setting.
FBs-CM5EH uses Port 4 for communication with RS485 network and the PLC. Click
the combo list box behind Operation Mode to select one of the following operation
modes:
1. Fatek Server 2. Modbus Server
For configuration, click on the Port4 setting page and you will see the following
screen:
34
When setting is required you can fill in the authorization data in the New/Edit-Grant
IP field; in the Grant IP field, enter the smallest IP address, and in the Group Size field,
enter the number of IPs; click the Add button when completed. To modify or delete
an authorization data, click the icons behind the Grant IP List field to perform the
operations:
The icon is modify; when pressed, it will change to the icon, and the
highlighted parts will turn red, then you can modify above the field and then press
Apply to complete the modification. To delete an authorization data, click the
icon directly to delete it.
When the operation mode in the basic settings page is set as Modbus/Fatek client
mode, an extra port mapping page will appear. The following screen will appear after
clicking it with the mouse:
When setting is required, users can enter the mapping data in the New/Edit-Port
Mapping fields. The following is the meaning of each field:
Local Station: Represents the remote PLC’s designated station number at the
local end.
Remote Station: Represents the actual station number of the mapping network
remote PLC.
Remote IP: The IP address of the remote PLC.
Remote Port: The IP port number of the remote PLC.
Group Size: A group of station numbers mapping can be defined every time for
this setting; for example, if you want to set the local station numbers 10~19 to
35
map the remote station numbers 20~29, and the remote IP is 192.168.1.3, you
can set Local Station=10, Remote Station=20, Group Size=10, Remote
IP=192.168.1.3, the Remote Port is generally set to 500. A maximum of 18 group
mapping can be set.
IP: Consecutive network addresses. When the Group Size is specified, its
contents will be a consecutive network address and a fixed station number
configuration, as shown in the figure below:
Station: Consecutive station number. When the Group Size is specified, its
content will be a fixed network address and consecutive station number
configuration, as shown in the figure below:
Note: The Group’s IP or Station radio button setting is a global setting; it can not be
set entry by entry.
To modify or delete a mapping data, you can press the icons behind the Port
Mapping List field to operate:
The icon is an edit tool; when pressed, it will change to the icon, and the
highlighted parts will turn red, then you can modify above the field and then press
Apply to complete the modification. To delete a data, click the icon directly to
delete the mapping data.
The service ports must first be set before the server function of the module can
operate; the external client-ends will use this service port to send connection
requests to the module and so the messages can be received.
36
If the user wants to modify the modifiable service port, the Service Ports setting page
can be used to make the modification. While modifying, just enter the port number
you want to modify into the Major Port field.
3.2.7 Password
Password protection: To set the password, click the Set Password setting page, and
the following window will appear:
According to operation privilege differences, this product series divides the password
section into User password and System password. To enter an operation page, the
user password or system password must be entered in order to log in; and to enter
the system webpage, the system password must be entered to log in. There is no
password set for the default factory user password, and the default factory system
password is 1234.
If modification to the user or system webpage password is required, you can check
the box in the page and enter the same password twice and then press the Set
button to complete the modification:
Hint
37
If the password protection mechanism is not needed, check the
corresponding page and press the Set button directly to cancel the
password.
This product series provides some functions that require external services; to use
these functions, click the “External Servers” setting page, and the following screen
will appear:
DNS Server: Domain name service server. Just like the primary DNS and secondary
DNS set on the PC. This setting is not necessary if the network address setting is set
to the dynamic (DHCP) mode. The preferred DNS setting in the figure below is the
DNS server address of Chunghwa Telecommunications:
NTP Server: It provides the internet clock synchronization function, eliminating the
trouble of manually correcting the time on a regular basis. To enable this service, just
check the box and enter the NTP server address; when the service is enabled, the
synchronization time data can be queried from the NTP Calendar register
(D3953~D3960) (Please refer to Chapter 6 for details).
NTP IP (URL): The IP address or domain name of the NTP server. There are
many NTP servers all over the world. The easiest way to get the IP address of
NTP server is to refer the setting of PC.
Time Zone: Time zone configuration; the example above uses Taipei GMT +
38
08:00, which means that the time zone of Taipei is Greenwich Standard Time + 8
hours.
Service Call Back Server: It provides the automatic service callback server function;
to use this function, the user must first fill in the network address and port number
of the maintenance center:
SMTP Server: It provides Email sending function; to use this function, just enter the
send server’s IP address or domain name into the SMTP Server field:
39
Chapter 4 Customized Web Page Design
This product series provides the web server function, in addition to the system
webpage, it also allows users to create own customized webpage to easily browse or
control the status within the PLC. In order to help the user to create their own web
page without knowing the web page authoring language - HTML, a convenient
software – “Easy Web Designer” is provided. Below we will introduce how to
complete a customized webpage by using this software.
4.1 Changing Web Page Style
The changing of webpage style is mainly to customize the login page for different
languages (locale). The styles include displayed font style of the web page, the
company name, web page title, description string of the login page and login error
hint messages etc., this changes can be made by using the “Easy Web Designer”
software.
5
3
If you want to change the setting described above, please follow the following steps
40
to perform the setting:
Step 1, open Easy Web Designer, and double click on “Page Style Setting” on the
created project.
Step 2, after double clicking, the style setting window will appear, click the “login
page” tab to perform setting; detailed description of each field are as follows.
Operation-page style
41
The webpage operation-page is as shown in the figure below; the data specified in
the figure are parts where the style can be changed.
If you want to change the data described above, please follow the following steps to
perform the setting:
Step 1, open Easy Web Designer, and double click on “Page Style Setting” on the
created project.
Step 2, after double clicking, the style setting window will appear, click the “login
page” tab to perform setting; detailed description of each field are as follows.
42
Page title: The title text displayed on the web browser.
Company title: The title text displayed on top of the login screen.
When operating, users can enter the string they want to set directly in the field
mentioned above, or click the Load Built-in style button on top to apply it directly.
The default style is selected from default styles provided for the three languages i.e.
Traditional Chinese, Simplified Chinese and English.
43
4.2 Adding Menus
The operation methodology of the customized webpage uses the Multi-level Menu
navigation method. Through this method, complicated control operation and
contents can be categorized into groups with a systematic and intuitive method to
display and further achieving the goal of controlling. The figure below is an example
of a user page. The webpage architecture composition includes the “Menu Item” to
the left and the “Control Content” to the right, and every menu item is created by a
hierarchical menu. A complete menu can have a maximum of two levels, and every
level can contain a maximum of 10 menu items. The lowest level is formed by the
content items, and the lowest level can contain a maximum of 64 content items. The
method to creating a customized web page is as follows:
Step 1, add new menu item.
Open Easy Web Designer, and in the created project, click Main Menu, at this time a
menu editing function button will appear on the toolbar.
In addition, you can also right-click on Main Menu, and similarly, the menu editing
option will also appear.
After clicking Add new menu with the two methods mentioned above, the following
add new menu setting window will appear:
44
The Menu Caption in the add new menu setting window is the menu item text in the
web page, and the Description part is only a comment in the Easy Web Designer.
After filling out the Menu Caption content value, just press OK. As shown in the
figure below, the first level menu item is added into the operation menu.
To add a second level sub-menu, just use the mouse and add a new menu in the first
level menu just as described above, and as shown below, a sub-menu is added into
the first level menu item.
45
The adding method of control contents is to click on the created menu; when the
menu item is clicked, the “ Add Content” function button will appear on the
toolbar. When this toolbar button is pressed the add new content function window
will appear; select the content type needed to complete the setting and upload it
onto the FBs-CPU module to achieve simple PLC controlling and status monitoring.
Easy Web Designer provides 8 content items, please refer to the table below for their
setting methods:
Title
Function Description
Title text used for control item categorization; only used for identification, no
actual control contents. When designing, title text can be used to separate
control items with different features on the same page for easy identification.
Sample Screenshot
Setting Method
46
Button
Function Description
Sample Screenshot
Setting Method
47
48
Value
Function Description
Sample Screenshot
Setting Method
49
Value Button
Function Description
Used to display and control the contents of a register; it uses two buttons to
modified the value of register. For each press of button, the register’s value will
be increased or decreased by an amount.
Sample Screenshot
Setting Method
50
Step/Set Value: The fixed value, set value, add value, subtract value, add
subtract value all use this value as their setting.
Max.: Set this value to restrict the maximum value can be set to the register.
Min.: Set this value to restrict the minimum value can be set to the register.
Decimal Point: Adds a decimal point symbol to the value displayed; this only
displays on the application, it does not have any effect on controlled register.
Unit: The text is displayed behind the value; normally used to denote the value
unit. This only displays on the application, it does not have any effect on
controlled register.
Signed: If this box is checked, the value of the register will be interpreted as a
number with sign.
List
Function Description
Uses the list item to display and control the value of the register/contact with
listed strings.
Sample Screenshot
Setting Method
51
“Seq” List item number.
“Value”: The value of register to be mapped.
“String”: The string that mapped to the value in value field.
Read Only: If this item is checked, this control item only has the display
function; the data content can not be changed.
Memo
Function Description
Sample Screenshot
Setting Method
52
Image
Function Description
Sample Screenshot
Setting Method
Title String: The title description of this control item, such as the text displayed
in the Sample Screenshot “Example-Image”; displays below the image.
Image Source: Select the file path or image URL of the picture to display in the
web page. When this field starts with http:// it means that the image source is
a URL.
53
Video
Function Description
Use this function to embed an internet video for playback in the web page. It
can be used as an application for machine operation demonstration.
Sample Screenshot
Setting Method
54
○
1 . Click share button.
○
2 . Click Embed button.
○
3 . This section will appear after “Embed” button is depressed. Copy the text in
this section.
○4 . Paste the copied text into “Video Embed Code” field to finish the embed
code entry.
55
4.4 Updating Customized Webpage
After finished creating the menu item and control contents, you must transfer the
designed content to the module in order to browse the content of controller based
on this design with web browser.
After using the Easy Web Designer to design the navigation menu and its contents,
after clicking the toolbar’s download webpage function button, the designed
webpage can be transfered to the module.
After confirming that the designed webpage content did not exceed the memory
capacity, click the OK button.
Step 2, target IP and password input.
Before start to transfer the webpage contents, the Web Page Transfer window will
appear. Please fill in the IP address for downloading in the “Target IP”, and enter the
correct System Password in the “Password” field, and then press the Start Download
56
button to execute the download.
57
Chapter 5 Sending Emails, Email to SMS
In terms of the maintenance immediacy, this product series provides the Email
sending function. When special situations occurred on the workstation, an Email can
be sent to notify the maintenance personnel by activating the Email send command
code. In addition, through telecommunication companies that provide Email to SMS
sending functions, real-time notifications can be achieved using the Email to SMS
function. Before sending Emails, a tool “Email Editor” can be used to setup the
messages to be sent and the email account information required to send the email.
This editor can be opened from “Easy Web Designer” -> “Tools”.
The figure below is the Email Editor window; detailed descriptions of its fields are as
follows:
58
Msg. Body: Set according to the working mode; in “Email” mode, just like
ordinary Emails, fill in the Email content to send. And when the working mode is
“Email to SMS”, users must refer to the setting of the service provider that
provides the Email to SMS function for this field; the received SMS content is
the subject content.
Subject Table: Subject content that can be set as default; when actually sending
the SMS, the subject sent is determined by the content of the control register
(D3962) when actually sending. If it’s the 0 SMS, it uses the 0 subject; if it’s 1
SMS it uses the 1 subject and so on.
Include Source ID in Subject: If this box is checked, the input string in the source
ID field will be automatically prefixed to the subject content before sending.
The format is [*Source ID*] Subject Content. For example if the content of the
source ID is PLC, then the sent subject will turn into [*PLC*] Subject Content.
By using this function, the source of the message can be identified.
Below we will introduce how to send ordinary Emails and how to send Email to SMS
messages.
How To Send Ordinary Emails
Step 1, confirm the configuration setting.
Before sending Emails, the SMTP Server address must be filled in the IP (URL) field.
Attention: Generally, SMTP Server does not need security check. When you realized
SMTP Server needs security check, please chooses and then the
following message will be shown. Fill in your login name and password of SMTP
Server.
Step 2, open the Email Editor and set the Email sending information.
Just like ordinary Emails, fill in information such as the Email’s recipient, Email body
and subject content etc.; if you want to add source ID before the subject, you can
check the “Include Source ID in Subject” option.
59
Step 3, download the Email configuration previously set
After completing the basic Email settings, these information must be uploaded to the
module. Click “Tools” -> “Download e-mail configuration” from the main menu.
The “Email Configuration transfer” window will appear at this time; in the “Target IP”
field, fill in the IP address to download the information, then confirm that the correct
password is entered in the “Password” field and press the “Start Download” to
perform the downloading.
Note
60
After completing the steps mentioned above, every time X0 changes from 0 to 1, and
when D3962 is 0, it will receive the Email.
Step 2, open the Email Editor and set the Email to SMS information.
To use Email to SMS, you must go through service providers that provides
Email-to-SMS services ; Here we use Message Media as an example:
http://www.message.com.tw
As shown in the figure below, in the recipient field(TO), fill in the account for Email to
SMS provided by the service provider; please refer to the format provided by the
service provider for the Email body. For Message Media, the information needed to
be entered in the Email body are service account, service password, and the mobile
phone number that is going to receive the SMS. (Note: Under Email to SMS
mode, the SMS content received by the mobile phone is the subject
content.)
61
Step 3, Transfer the Email configuration
After completing the basic Email settings, these information must be sent to the
module. Click “Tools” -> “Download Email configuration” from the main menu
The “Email Configuration transfer” window will appear at this time; in the “Target IP”
field, fill in the IP address to download the configuration, then confirm that the
correct password is entered in the “Password” field and press the “Start Download”
to perform the downloading.
62
After completing the steps mentioned above, every time X0 changes from 0 to 1, and
when D3962 is 0, the mobile phone will receive the SMS.
63
Chapter 6 Internet Clock Synchronization
This product series provides the internet clock synchronization function; its main goal
is to eliminate the problem of manually correcting the time on a regular basis.
After the internet clock synchronization function is enabled, the system will get the
standard time from the internet time server (NTP server) set by the user every 10
minutes. If the user needs to use the clock synchronization function, it can be set
through the Ether_Config software or open the browser and enter the built-in system
page to perform the settings.
6.1 Enable the Internet Clock Synchronization Function
The steps to enable internet clock synchronization function through the Ether_Config
software are as follows:
4
3
① Move the mouse cursor to the line indicating the target module, double-click it
or click the Properties… button to enter configuration setting.
64
② Select the External Servers setting page.
③ Check the Enable under NTP Server.
④ Enter the internet time server’s IP address/URL and application location’s time
zone.
Steps to enable internet clock synchronization function through a web browser are as
follows:
① Open the web browser and enter the IP address.
② Select the system page and enter the password to log in (Please refer to Chapter
3.2 for detailed operation steps)
65
6.3 Sample Application
This product series reads the standard time from the internet time server once every
10 minutes. Each time when receives a new data, it will increment the value of
D3960 flag register and simultaneously update the contents of other calendar
registers. The status change feature of the D3960 flag register can be used to control
M1952 to perform data movement and RTC setting or reading. The following is a
sample ladder program and its description:
Program example
The program compares the content of R0 and D3960 to detect the changes in D3960;
every time D3960 changes, the comparison output will enable the movement of the
contents of D3953~D3959 to R4128~R4134 and set the value of R0 to the same as
D3960 in preparation for the detection of the next D3960 change. When scanned the
next time and the contents of R0 and the D3960 register is the same, therefore the
comparison output is again changed of OFF and the M1952 also changes to OFF. The
action of controlling M1952’s status to change from ON to OFF will write the newest
time in R4128~R4134 into RTC, therefore achieving the goal of automatic time
synchronization.
66
Chapter 7 Monitoring PLC’s Internal Status Using System
Webpage
This product series provides the function to monitor the status of the PLC with web
browser. To use this function, open a web browser and connect to the module, select
system page and login, then click the PLC Status page to see the following screen:
67
When the new point is added, the newly added data can be seen in the Status
Monitoring field, as shown in the figure below:
You can also notice that the communication signal on the top-right of the webpage
will start to flicker, this means that the communication status with the PLC is normal:
To modify a monitoring point, click the button behind that point in the Status
Monitoring field, the icon is to modify; when pressed, the icon will change to and
the highlighted parts will turn red, then you can edit the Add/Edit-Status field on top
and then press the Apply button to complete the modification. To delete a point,
please directly press the button to delete that corresponding data entry.
68
7.3 Modify the Value of Monitoring Point
To control the monitoring point content, first move the mouse cursor to the Value
field of the point you want to control and click the left button. The following pop-up
window will appear:
Here different pop-up windows will appear according to the data type and display
formats; there are total of three types as shown below:
2
3
① When the monitoring point is a contact type such as X, Y, M, this window will
appear; it can only be set to 0 or 1.
② When the monitoring point is a positive or negative integer or positive integer,
this window will appear.
③ When the monitoring point is hexadecimal, this window will appear.
If the user wants to modify the value content, input the data in the popped-up
window and then press the Enter button to complete the modification of the content
of that point.
69
Chapter 8 Active Call Back
Service Call Center (hereinafter referred to as SVC) is a remote maintenance software;
when the PLC workstation’s IP address is acquired using dynamic IP or if it’s behind a
firewall and access from outside is difficult, this software can be used to simplify the
maintenance operation.
The application architecture of active call back is as shown in the figure below; it uses
one computer to execute the SVC software as the maintenance center. When a
workstation equipped with this product series executes active call back (○1 ), it will
send a connection request ( ○2 ) to the maintenance center according to the
configuration setting; the maintenance center will confirm the workstation’s
connection request (○3 ) and then the application program(such as Winproladder) can
be automatically opened through this connection to carry out the maintenance
operations (○4 ).
3 1
4 2
70
Listen Port – PLC: Specify a communication port as the maintenance center’s
external service port; the default value is 5700.
Listen Port – Application: Specify a IP port number as the application software’s
external service port. If it’s the Winproladder application software, it is set to
500.
Start Application Automatically …: When the workstation and maintenance
center has successfully connected, if the application program needs to be
automatically started up, this option must be checked.
Application – Path: When the workstation and maintenance center has
successfully connected, if the application program needs to be opened, the path
of the application program to be opened must be entered here.
Application – Argument: If additional command parameters need to be added
when opening the application program, enter it in this field.
The default content of this page is set when the application program is Winproladder.
Unless there are other application considerations, there are no need for
modifications to the contents of this page.
71
and the contents of Comment are the information look up from the guest list that
uses the factory serial number as the key value. In the left figure below, the
connection request shows that its manufacturing serial number is 14336 and is listed
in the guest list, and its IP is the same as the data created, therefore the color of the
displayed information are all black; on the other hand, the serial number of the
connection in the right figure below is 14336 and is listed in the guest list, but its IP is
192.168.2.32 which is different from the registry information, therefore the IP
information is displayed in red as a reminder.
When the connection request window appears, the maintenance personnel can
press the Yes button to accept this connection or press the No button to reject this
connection.
8.3 Active Call Back Application Example
The steps to execute the active callback function are as follows:
72
register D3950 will be set to 3359H, which will execute the active call back. In
addition, the status of register D3951 can be used to monitor the operation
execution of the call back. In the example, when the connection is successful, Y1 will
be ON. When connection failed, Y2 or Y3 will be ON. When connection is terminated,
D3951 must be set to 0 in order to accept the new call back request command.
73
Chapter 9 Firmware Update
When a new version of firmware is released, the user can choose whether to update
it according to their needs. If update is needed, users can go to FATEK’s official
website to download the image file of the new version, and use the ether_cfg
software tool to perform the update.
※Note: Firmware update function of Ether_cfg software only supports FBs-CBEH
series, FBs-CMEH and FBs-CM5EH modules.
The firmware update can only be performed under a local area network environment,
please install the module in a local area network environment, then execute the
Ether_Cfg software and follow the following steps to perform the firmware update
operation:
1
3
74
4
6
5
⑦ The software will display the current firmware version alongside the firmware
version selected by the user, and ask the user whether to update. If you are sure
you want to update, press the Yes button to directly start the update operation.
If you do not want to update because the version number is the same or due to
other elements, you can also press the No button to exit the update operation.
75
Note
Please take note of the following items when updating the firmware:
1. Do not interrupt the power during update.
2. If the update operation was interrupted due to unknown issues, you
can turn off and on the power to perform the update operation
again.
76