All products manufactured by ICP DAS are under warranty regarding
defective materials for a period of one year from the date of delivery to the
original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of this
product. ICP DAS reserves the right to change this manual at any time without
notice. The information furnished by ICP DAS is believed to be accurate and
reliable. However, no responsibility is assumed by ICP DAS for its use, or for any
infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright 2019 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their
The ALM-06-WF have WLAN connection complies with the IEEE802.11b/g/n
standards. With the popularity of 802.11 network infrastructure, the ALM-06-WF make
an easy way to incorporate wireless connectivity into monitoring and configuration.
They also support Modbus TCP protocol and the network encryption configuration,
which makes perfect integration to SCADA software and offer easy and safe access for
users from anytime and anywhere.
Figure 1-1: Application architecture for the ALM-06-WF
1.1 Wireless connection mode
ALM-06-WF support both Access Point(AP) & Station(STA) wireless
connection modes of WLAN.
1.2 Features
Wi-Fi communication monitoring and configuration
Compatible with IEEE 802.11b/g/n standards
Support Access Point(AP, 1 Client) & Station(STA) modes for wireless networks
Support WEP, WPA and WPA2 wireless encryption
Support Modbus TCP monitoring
Support DHCP Server(AP), DHCP Client or Static IP(STA) network configuration
Wide operating temperature range
Wide power supply range
Photo couple input, Relay output
MP3 Audio Output, external Line out
Digital Volume control
8 Alarm mode support
The ALM-06-WF offers the most comprehensive configuration to meet specific
application requirements. The following list shows the features designed to simplify
installation, configuration and application.
Compatible with IEEE 802.11b/g/n standards
ALM-06-WF complied with IEEE 802.11b/g/n standard from 2.4~2.5 GHz, and it
can be used to connect your wireless LAN.
Support Access Point(AP) & Station(STA) modes for wireless networks
AP mode lets you create a Limited AP(1 Client access allow) network with the
specified SSID to communicate directly with each other without the need for a wireless
access point.
STA mode is the more common network configuration where all wireless clients
connect to the wireless network via a WAP (Wireless Access Point).
Support WEP, WPA and WPA2 wireless encryption
WEP and WPA are common types of security that are used to protect wireless
networks. When WEP or WPA is turned on, ALM-06-WF uses a special security key
combination to allow only devices that know this key to connect to its wireless network.
This applies to laptops, smart device, or any other wireless device.
Support Modbus TCP protocols
The Modbus TCP server function on the ALM-06-WF can be used to provide data
monitoring from HMI/SCADA software built with Modbus TCP driver.
Also there is some other HMI Modbus App in Android Google Play you can use.
Built-in MP3 Audio decoder & Output
The Alarm sound output using MP3(MPEG1-Audio Layer Ⅲ) audio, it support most
of MP3 format(Sample Rate 24/44.1(prefer)/48 KHz, Bit Rate 32 64 96 128(prefer) 160
192 Kbit/s), include an 3W audio power amplifier & 1KΩ Impedance Line Out can send
the alarm sound to external PA(Power Amplifier) system.
Support 6 channel trigger input with 8 alarm mode
Include 6 channel Photo couple input & 8 kinds of mode for trigger alarm, it also
can be trigger an extend device using external Relay Output. All modes & MP3 audio
files can be monitoring, configuration & download from PC Utility, it also can monitor
status form Android APP.
The ALM Utility provides the simple way to operating and acquire I/Ostatus.
ALM Utility can used the wireless network interface to configuration. Provide
AP(Access Point) & STA(Station) mode to connect the ALM-06-WF.
ALM Utility available on both Windows & Android application to operating and
configure the ALM-06-WF.
Utility Support Windows 7 (or later versions) and Android 5.0 (or later versions).
3.1 ALM Utility(AP Mode)
The following is the main screens provided by ALM Utility, these utility tools can be
thought as a useful tool for configuration and monitoring on the ALM-06-WF. It supplies
several functions, such as Monitoring, Configuration, Connection, Wi-Fi setting and F/W
upgrade, etc.., Only PC Utility support Audio & Alarm Configuration.
3.1.1
Main Screen
Figure 3-1: ALM Utility main screen
(From left to right is Windows Utility , Android App)
Static IP:
IP: Specific an IP that is not been used.
Mask: Default will be 255.255.255.0.
Gateway: Basically define in the AP you are going to connect.
SSID
Key Type
Wi-Fi Mode:
Service Set Identifier: Connected devices must be the same SSID, SSID
length must not exceed 31 characters.
Key of Encryption, connected devices must with the same Key.
Open :No Key request.
WEP(Shared) :Key length must be 15 characters.
WPA/WPA2-PSK :Key length must between 8~15 characters.
Table 3-2: Station SSID & Key type configure
ALM Controller working mode (default is in AP)
AP (Access Point):
PC or Android Device connect to ALM Controller directly through
AP(Fixed IP:192.168.77.1), AP mode support only one connection, If Multiple
devices connect at a same time, only first connected devices can access.
STA(Station):
ALM Controller will auto connect to specific Wi-Fi AP, PC or Android
Device also need to connect to the same AP, then they can use those ALM
Controller in same domain.
*. Please check specific Wi-Fi AP is active and SSID/key is same as the setting
before use.
Location information:
Set the information for you to identify & locate those Controller easily, length
ALM-06-WF contain 8 kinds of alarm mode, Mode 0 ~ 3 are DI1~DI6 in single
independence channel trigger, in DIx channel priority, the priority of DI channel is
DI6 > DI5... > DI1.
Mode 4 ~ 7 are DI1~DI5 in Binary trigger & DI6 in single channel trigger, the
priority of DI channel in this mode is DI6 > 11111b(0x1F)>…> 00001b(0x01).
Alarm Mode
Mode Channel Trigger Function ModeBinary Trigger Function
0 General Playback 4General Playback
1
2 Hold Repeat Playbac
3 Memory Once Playback 7 Memory Once Playback
Trigger Input priority Playback
Max 4 MP3 files can be add for each Channel or Binary trigger alarm, it will
playback from #1 to #4 for the trigger depend on the setting.
Relay output can set an extend alarm output to trigger other device.
All those setting can be done in PC Utility & can be monitor Armed/DisArmed
on both PC Utility or Android APP, show as below.
If Project Edit selected, you need to save project after finish edit.
In Device Edit selected, it will auto load the setting & audio file name from device,
same as Read Device button, in Device Edit mode audio file cannot be read back,
can only be modify or recover.
Write Device button will download all your setting & audio files into ALM-06-WF
device through Wi-Fi. Also you can copy all the file inside your project directory to
the Micro SD Card.
Volume Control trackbar, range from 0(Mute)~10(Max), same as main form.
To Create new project, use Load Project button, select the directory where you want
to put and add the new directory name, show as below.
(2) Add Audio: Double Click on which File No. you are going to add the audio file,
max 64 files can be assign.
File No. play back, select Play Source (Audio file original location) or Play Project
(Audio file in project) or Play Device (Audio file in ALM-06-WF device’s SD Card,
only when Device Edit selected), click File No. and press Play button to play, and Stop
button to break playback.
Click File No. and press the Delete button to remove file name in list, show as below.
(3) Alarm Config: Frist you need to select Alarm Mode, then you can assign audio
File No. for each alarm channel from combo box, playback Repeat count & Alarm
Output Relay.
To simulation the alarm channel audio playback, select the channel from combo box,
press Channel test button to play, and Stop to break the playback, show as below.
DI1 to DI6 playback in single independence trigger of 6 channels.
A pulse input triggered the Playback. Playback repeat when the input is not release.
When alarm in playback process, any input trigger will ignore.
The highest DIx channel priority input will take place after the previous playback complete.
DI1 to DI6 playback in single independence trigger of 6 channels.
When alarm in playback process, any trigger input will break & take place the previous
playback.
In this mode, it only playback once, even the input is not release.
Only when multi trigger in same time the highest DIx channel priority will take place
DI1 to DI6 playback in single independence trigger of 6 channels.
When alarm in playback process, only higher DIx channel priority can break & take place the
previous playback.
Playback will repeat when input are not release & will stop immediately when input released.
When multi trigger in same time the highest DIx channel priority will take place
Figure 3-6: ALM-06-WF Mode 2
Mode 3: Channel Trigger- Memory Once Playback
DI1 to DI6 playback in single independence trigger of 6 channels.
When alarm in playback process, any trigger input will memory once for next playback.
In this mode, it only playback once, even the input is not release.
When multi trigger in same time the highest DIx channel priority will take place
DI1 to DI5 are used as binary input, max 31 channels & DI6 in single channel.
A pulse input triggered the Playback. Playback repeat when the input is not release.
When alarm in playback process, any input trigger will ignore.
The highest binary channel priority input will take place after the previous playback complete,
DI1 to DI5 are used as binary input, max 31 channels & DI6 in single channel.
When alarm in playback process, any trigger input will break & take place the previous
playback.
In this mode, it only playback once, even the input is not release.
The priority depend on trigger input, only when multi trigger in same time the highest binary
channel priority will take place, DI6 is the most highest channel.
DI1 to DI5 are used as binary input, max 31 channels & DI6 in single channel.
When alarm in playback process, only highest binary channel priority can break & take place
the previous playback.
Playback will repeat when input are not release & will stop immediately when input released.
When multi trigger in same time the highest binary channel priority will take place, DI6 is the
most highest channel.
Figure 3-10: ALM-06-WF Mode 6
Mode 7: Binary Trigger- Memory Once Playback
DI1 to DI5 are used as binary input, max 31 channels & DI6 in single channel.
When alarm in playback process, any trigger input will memory once for next playback.
In this mode, it only playback once, even the input is not release.
The highest binary channel priority input will take place after the previous playback complete,
The ALM-06-WF include a Modbus port that allows you to access terminals data
via Wi-Fi and communicates using a master-slave technique in which only one device
(the master) can initiate transactions (called queries). The other devices (slaves)
respond by supplying the requested data to the master, or by taking the action requested
in the query.
Most SCADA (Supervisor Control And Data Acquisition) and HMI software can
easily integrate serial devices via the Modbus protocol, such as Citect, ICONICS, iFIX,
InduSoft, Intouch, Entivity Studio, Entivity Live, Entivity VLC, Trace Mode, Wizcon,
Wonderware, etc.
For Android Device, a freeware HMI Modbus is easy to use.
5.1 What is Modbus TCP/IP?
Modbus is a communication protocol developed by Modicon in 1979.
Different versions of Modbus used today include Modbus RTU (based on serial
communication like RS485 and RS232), Modbus ASCII and Modbus TCP, which is the
Modbus RTU protocol embedded into TCP packets.
Modbus TCP is an internet protocol. The protocol embeds a Modbus frame into a
TCP frame so that a connection oriented approach is obtained thereby making it reliable.
The master query’s the slave and the slave responds with the reply. The protocol is
open and hence highly scalable.
The function code field of a Modbus data unit is coded in one byte. Valid codes are
in the range of 1 ... 255 decimal (the range 128 - 255 is reserved and used or exception
responses). When a Modbus request is sent from a Modbus Client to a Server device the
function code field tells the Server what kind of action to perform.
The Modbus/TCP feature of ALM series controller supports 6 function codes,
which allows the reading and writing of data contents of registers.
Function Code Descriptions
01 (0x01) Read Coil Status
02 (0x02) Read Input Status
03 (0x03) Read multiple Analog Output registers
05 (0x05) Force Single Coil
06 (0x06) Write single Analog Output registers register
16 (0x10) Write multiple Analog Output registers register
Table 5-2: Supports Function Codes of ALM series
Any other function code request will be returned with an error response indicating
the function code is not supported, as well as a request for too much data or data at a
register address that not present.
5.2.3 Data
The data field of Modbus request sent from a client to server devices contains
additional information that the server uses to take the action defined by the function
code. This can include items like discrete and register addresses, the quantity of items
to be handled, and the count of actual data bytes in the field.
The data field may be nonexistent (of zero length) in certain kinds of requests, in
this case the server does not require any additional information. The function code
alone specifies the action.
If no error occurs related to the Modbus function requested in a properly received
Modbus PDU (Protocol Data Unit) the data field of a Modbus response from a server to
a client contains the data requested. If an error related to the Modbus function requested
occurs, the field contains an exception code that the server application can use to
determine the next action to be taken.
For example a client can read the ON/OFF states of a group of digital input or
output or it can read/write the data contents of a group of registers.
When the server responds to the client, it uses the function code field to indicate
either a normal response or that some kind of error occurred (called an exception
response). For a normal response, the server simply echoes to the request the original
function code.
For an exception response, the server returns a code that is equivalent to the
original function code from the request PDU with its most significant bit set to logic 1.
5.2.5 Data Encoding
Modbus uses a “big-endian” representation for address and data items. This means
that when a numerical quantity larger than single byte is transmitted, the most
significant byte (MSB, also called the high-order byte) is send first. The following subtopics describe the different byte of encoding and show how the data is encoded as it is
within the Modbus/TCP packet.
5.2.5.1 Binary
A binary item is represented as a single bit within a data word. All binary is packed
into 16-bits data words, which are accessed using function code 01 and 02. Therefore, a
single register contains 16 bits of binary data, each having a specific meaning.
Value 1st 2nd
0xAA55
(1010101001010101)
0xAA
(10101010)
0x55
(01010101)
Table 5-3: A single register contains 16 bits of binary data