background image

ALM-06-WF User’s Manual

 

 

ALM-06-WF 

User’s Manual (Rev1.0, Feb./2019) ------------- 34

 

5.2.4 

Response 

 

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 sub-
topics 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

 

 

Содержание ALM-06-WF

Страница 1: ...ting 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 re...

Страница 2: ...ALM 06 WF User s Manual ALM 06 WF User s Manual Rev1 0 Feb 2019 2 Document Revision Version Date Description of changes Rev1 0 2019 05 17 First release for ALM 06 WF...

Страница 3: ...nnection 12 3 Software 14 3 1 ALM Utility AP Mode 14 3 1 1 Main Screen 14 3 1 2 Controller Status 15 3 1 3 DI DO Status Control 15 3 1 4 Status Bar 15 3 1 5 Icon Button 16 3 1 6 Configuration Setup 17...

Страница 4: ...ALM 06 WF User s Manual ALM 06 WF User s Manual Rev1 0 Feb 2019 4 5 2 5 Data Encoding 34 5 3 ALM 06 WF Address Mapping 35...

Страница 5: ...om 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 Feat...

Страница 6: ...d 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 t...

Страница 7: ...wer Status One 2 colors LED Blue for System status Purple Blue Red for Connective status Locator Isolation Intra module Isolation Field to Logic 3000 VDC Protection ESD IEC 61000 4 2 8 kV Air for Rand...

Страница 8: ...Form A Contact Rating Resistive Load DC50V 100mA Table 1 3 Audio Specification Audio Sound Pressure Level 99dB 1KHz 1meter Volume Control Digital Volume Control Number of Playback 64 Max Audio File Fo...

Страница 9: ...Manual Rev1 0 Feb 2019 9 2 Hardware 2 1 Outward Appearance ALM 06 WF contains I O connectors Micro SD Reset to Default and LEDs Figure 2 1 Front Panel Figure 2 2 Back Panel Micro SD T Flash Connector...

Страница 10: ...le Blue Red LED ON Power On Blue LED Locator Red LED Blinking Process reset to default Blue LED Blinking Fast Alarm Status Red LED 2 1 2 Connector Pin Define Terminal NO Pin Name Wire Color 1 DI1 Brow...

Страница 11: ...Red LED quick flash then release to restore ALM 06 WF default setting default is set in AP mode Figure 2 4 Reset button locate in the bottom side of ALM 06 WF 2 3 Dimensions The diagrams below provid...

Страница 12: ...Manual Rev1 0 Feb 2019 12 2 4 Wire Connection 2 4 1 Wire connection define The following describe the wire color function Figure 2 6 Wire color function 2 4 2 I O connection 2 4 2 1 Digital Input DI...

Страница 13: ...User s Manual ALM 06 WF User s Manual Rev1 0 Feb 2019 13 2 4 2 2 Relay Output wiring Figure 2 8 Relay Output wiring 2 4 2 3 Line Out wiring Figure 2 9 Line Out wiring 2 4 2 4 Power Input Figure 2 10 P...

Страница 14: ...ting 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 u...

Страница 15: ...ce IP in STA mode 3 1 3 DI DO Status Control Show the DI Relay Output status The value can be read DI or set Relay Output in this area Volume Control trackbar range from 0 Mute 10 Max Armed DisArmed b...

Страница 16: ...een Android versions Setup function under the icon Find Controller Red Led blinking use to find the connected Controller Refresh Refresh status Menu Only Android Device Include setup FW Version About...

Страница 17: ...effect on new setting AP SSID Name 1 Default Controller s SSID in Wi Fi AP mode will be ALM 06 xxxxxx Note xxxxxx is the last 6 characters MAC address of your device Key Type AP mode SSID Key type de...

Страница 18: ...type configure Wi Fi Mode 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...

Страница 19: ...al Rev1 0 Feb 2019 19 3 2 Station Mode STA IP scanner There are lot of free IP scanner tools in both Windows Android OS for example Advanced IP Scanner for Windows Network Analyzer for Android those a...

Страница 20: ...el Trigger Function Mode Binary Trigger Function 0 General Playback 4 General Playback 1 Trigger Input priority Playback 5 Trigger Input priority Playback 2 Hold Repeat Playback 6 Hold Repeat Playback...

Страница 21: ...d 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...

Страница 22: ...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 an...

Страница 23: ...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...

Страница 24: ...ject Copy all the file to the MicroSD root directory where your project directory locate this will be the same as Write Device from project 3 4 2 Insert a New MicroSD To start a new MicroSD please ins...

Страница 25: ...ger will ignore The highest DIx channel priority input will take place after the previous playback complete Figure 3 8 ALM 06 WF Mode 0 Mode 1 Channel Trigger Trigger Input priority Playback DI1 to DI...

Страница 26: ...elease 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 Playbac...

Страница 27: ...place after the previous playback complete DI6 is the most highest channel Figure 3 8 ALM 06 WF Mode 4 Mode 5 Binary Trigger Trigger Input priority Playback DI1 to DI5 are used as binary input max 31...

Страница 28: ...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...

Страница 29: ...is way Figure 4 1 ALM PC Laptop Smart Device application architecture 4 1 Connection with Modbus TCP utility a Open Modbus TCP utility and key in the IP address Port as 502 Finally click the Connect b...

Страница 30: ...x01 and set the Reference Number as 0x00 Bit Count as 0x01 to get the Relay Output value f Figure 4 3 Relay Status reading screen g Use the function code 0x05 and set the Reference Number as 0x00 valu...

Страница 31: ...tocol 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 Modbu...

Страница 32: ...tion Data Unit 5 2 1 MBAP The Modbus TCP extension includes 7 additional bytes to the original Modbus protocol which allows for transport over the TCP IP layers A dedicated header is used on TCP IP to...

Страница 33: ...le 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 wi...

Страница 34: ...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 mo...

Страница 35: ...d A 32 bits word item is transmitted with the most significant byte first Function 04 read 32 bits items at a time therefore each of these data items will fit within 2 register that is read Value 1st...

Страница 36: ...layback 0xFF Stop Playback W 00009 00014 1 6 Simulation Channel Test 0xFF Run Test W Table 5 8 FC05 Write DO address 0xxxx Address CH Descriptions Range Access Type 40001 1 Volume Level 0 10 16bit Wor...

Отзывы: