manualshive.com logo in svg
background image

ALM-04-MRTU User’s Manual

 

 

ALM-04-MRTU 

User’s Manual (Rev1.0, Jan./2020) ------------- 24

 

4.3

 

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 RTU packet. 

 

4.3.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 4-3: A single register contains 16 bits of binary data

 

 

4.3.2 

16-bits Word(INT16) 

 
A  16-bits  word  item  is  transmitted  with  the  most  significant  byte  first.  Function 

code 03 and 04 read 16-bits items at a time; therefore, each of these data items will fit 
within one register that is read. 

 

Value 

1st 

2nd 

0x1234 

0x12 

0x34 

Table 4-4: A 16-bits word item

 

 
 

 
 
 
 
 

Содержание ALM-04-MRTU

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

Страница 2: ...ALM 04 MRTU User s Manual ALM 04 MRTU User s Manual Rev1 0 Jan 2020 2 Document Revision Version Date Description of changes Rev1 0 2020 01 02 First release for ALM 04 MRTU...

Страница 3: ...nnection define 11 2 4 2 Digital Input DI wiring 11 2 4 3 Relay Output wiring 12 2 4 4 Line Out wiring 12 2 4 5 Power Input 12 2 4 6 RS 485 Wiring 12 3 Software 13 3 1 ALM04 Editor Utility 13 3 1 1 Ma...

Страница 4: ...ing and control systems Which makes perfect integration to monitoring in SCADA software HMI Modbus Utility Figure 1 1 Application architecture for the ALM 04 MRTU 1 1 Features RS 485 Interface Modbus...

Страница 5: ...3 Audio decoder Audio Output The Alarm sound using MP3 MPEG1 Audio Layer audio it support most of MP3 format Sample Rate 24 44 1 prefer 48 KHz Bitrate 32 64 96 128 prefer 160 192 Kbit s include an 3W...

Страница 6: ...Blue for System status Red for Alarm status Protection ESD IEC 61000 4 2 8 kV Air for Random Point EFT IEC 61000 4 4 2 kV for Power Waterproof IEC 60529 IP54 Panel Mount Upright Position Power Requir...

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

Страница 8: ...Manual Rev1 0 Jan 2020 8 2 Hardware 2 1 Outward Appearance ALM 04 MRTU 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 Connect...

Страница 9: ...r LED Controller Status LED Status PWR Power On Blue LED Alarm Status Red LED 2 1 2 Connector Pin Define Terminal NO Pin Name Wire Color 1 DI1 Brown 2 DI2 Red 3 DI3 Orange 4 DI4 Yellow 5 D Green 6 D B...

Страница 10: ...elease the ALM 04 MRTU will restore to default setting default Device ID is 1 RS 485 setting is 115200 N 8 1 Volume is 5 Figure 2 4 Reset button locate in the bottom side of ALM 04 MRTU 2 3 Dimensions...

Страница 11: ...04 MRTU User s Manual Rev1 0 Jan 2020 11 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 Digital Input DI wiring Fi...

Страница 12: ...MRTU User s Manual Rev1 0 Jan 2020 12 2 4 3 Relay Output wiring Figure 2 8 Relay Output wiring 2 4 4 Line Out wiring Figure 2 9 Line Out wiring 2 4 5 Power Input Figure 2 10 Power Input 2 4 6 RS 485...

Страница 13: ...ation to configure the ALM 04 MRTU Utility Support Windows 7 or later versions 3 1 ALM04 Editor Utility The following is the main screens provided by ALM Utility these utility tools can be thought as...

Страница 14: ...x01 Alarm Mode Mode Channel 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 Playba...

Страница 15: ...e Load Project button select the directory where you want to put and add the new directory name newwork1 etc show as below Figure 3 3 New a Project in Editor Then Follow the step number 1 Set Modbus R...

Страница 16: ...audio file max 64 files can be assigned File No play back select Play Source Audio file original location or Play Project Audio file in project click File No and press Play button to play and Stop but...

Страница 17: ...al Rev1 0 Jan 2020 17 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 Figure 3 5 Ala...

Страница 18: ...01 mp3 064 mp3 is MP3 audio file user can assign in editor m3fn txt Content MP3 file s long file name plist cfg Content the alarm index play rules alarm mode relay output enable repeat count rtu cfg C...

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

Страница 20: ...lease will stop immediately when input released When multi trigger in same time the highest DIx channel priority will take place Figure 3 10 ALM 04 MRTU Mode 2 Mode 3 Channel Trigger Memory Once Playb...

Страница 21: ...place after the previous playback complete DI4 is the most highest channel Figure 3 12 ALM 04 MRTU Mode 4 Mode 5 Binary Trigger Trigger Input priority Playback DI1 to DI4 are used as binary input max...

Страница 22: ...released When multi trigger in same time the highest binary channel priority will take place DI4 is the most highest channel Figure 3 14 ALM 04 MRTU Mode 6 Mode 7 Binary Trigger Memory Once Playback D...

Страница 23: ...0bps The following Modbus functions are supported 4 1 Function Code Function Code Descriptions 01 0x01 Read Coils 02 0x02 Read discrete Inputs 03 0x03 Read multiple Output registers 05 0x05 Write Sing...

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

Страница 25: ...N R Table 4 6 FC02 Read Discrete Inputs address 1xxxx Address MB Addr CH Descriptions Range INT16 Type 40001 0 Volume Level 0 10 R Length must always be 1 Table 4 7 FC03 Read multiple Output registers...

Страница 26: ...MRTU User s Manual ALM 04 MRTU User s Manual Rev1 0 Jan 2020 26 Technical Support If you have problems about using the ALM 04 MRTU controller please contact ICP DAS Product Support Email service icpd...

Отзывы: