Home
WISE-580x Modbus RTU Master Application Example
Contents
1. Input Register as IF Condition for Rule 1 and then click on the right side button to get into the Input Register Condition Setting page to edit detailed information Discrete Input Coil Output Input Register Holding Register Clear Save 18 In the Module amp Address field select PM 2134 17 and Address 4356 in the Operator field select gt and in the Value field select Assign Value as from the dropdown list and assign the value as 10 Click Save button to save the settings and get back to the Rule1 Setting Page Input Register Condition Setting Module amp Address Operator Value PM 2134 17 Assign Value as FT Address 4356 10 19 In the THEN section in the Action1 field select Holding Register from the dropdown list and then click on the right side button to get into the Holding Register Action Setting page to edit detailed information Rule Setting Page Holding Register _ Email u is ls fs 20 In the Module amp Address section select M 7022 18 and address 0 from the dropdown list In the Operator field select and in the Value section select Assign Value as from the dropdown list and assign the value as 5 Click Save button to save the se
2. 10 D mites DI pa Button mee ony Do Ay lt THEN gt M 7022 AO 5 V Warning Light 1768209 an M 7055 Rule2 Email Send lt IF gt M 7055 DI ON lt THEN gt M 7022A0 O0V M 7055 DO OFF Rule3 lt IF gt PM 2134 KW gt 0 lt THEN gt Data Logger Start lt ELSE gt Data Logger Stop Steps For Modbus RTU protocol each Modbus RTU Slave module must have a unique ID address The way to set up the ID address might be different from different modules In this case the ICP DAS PM 213x Power Meter module adopts DIP switch to modify the module s ID address For M 7000 module it is required to use DCON Utility to modify the module s ID address To adequately modify the ID address setting please refer to the user manual for detailed information for each module In order to connect with WISE 580x the module s ID address must be in the range 17 20 In this example PM 2134 s ID address is set as17 M 7022 s ID address is set as 18 and M 7055 s ID address is set as19 And set all module s Baudrate setting to be 38400 bps Open the WISE WEB page and get into the Basic Setting page 1 Basic Setting 2 Advanced Setting 3 Rules Setting Channel Status Upload from Module Download to Module After getting into the Basic Setting page click Modbus RTU Module setting to get into the setting page Name Setting Time Setting Communication Setting Password Setting XW Board Setting l 7000 Modul
3. Data Number Data Type HEX MIN 0000 MAX OFFF HEX Data Real MIN 0 MAX 10 oo bW HE Coil Output Discrete Input Input Register Holding Register Local Ox 4x 3x 4x Address ss 1 Address 0 Number 880 Type 16 bit HEX HEX Min HEX Max 881 Real Min Real Max 7 Please add ICP DAS Modbus RTU module M 7055 In Modbus RTU Module Setting Page i Make sure the Baudrate COM2 setting is 38400 bps and select the Address of M 7055 as 19 ll In the Name field input the module name as M 7055 iii In the Polling Timeout field input the value as 300 milliseconds iv In the Timeout Retry Interval field input the value as 5 seconds v After finish the M 7055 settings click Add button then the M 7055 will be added to the Modbus RTU Slave module list as bellow Click the M 7055 on the module list and click Setting button to get into the detail parameter setting page of the Modbus RTU Slave module Modbus RTU Module Setting Page Baudrate COM2 38400 bps Silent Interval 12 milliseconds 4 Modbus RTU Modules 16 l 7000 Modules 10 Modbus RTU Modules Mode Address Name M 7055 Polling Timeout 300 milliseconds Range 1 10000 5 seconds Timeout Retry Interval imeout Retry Interva Range 3 65535 es a eee Address Polling Timeout n mam w eo 8 Follow the description of M 7055 user manual as the following figure the Modbus
4. Geer Save 32 In the Module amp Address section select M 7055 19 and address 0 from the dropdown list In the Address Value field select OFF from the dropdown list Click Save button to save the settings and return to Rules 2 Setting Page Coil Output Action Setting Module amp Address M 7055 19 Addresso Address Value 33 Make sure all Rule 2 settings are accurate click Save button to save the changes COUT TU None gt B Condition3 B Holding Register 2 Action1 None B One Time Repeat Coil Output B _ a One Time Repeat None 34 Check the Rule 3 checkbox to enable Rule 3 then click Rule 3 Edit button for Rule 3 editing Enable No Edit Status Rulet OK Rule OK Rule3 35 On the Rule3 Setting Page on the right side select Input Register as IF Condition for Rule 3 and then click on the right side button to get into the Input Register Condition Setting page to edit detailed information Rule3 Setting Page SSCS THEN None None X B None Discrete Input Narin B Coil Output Input Register a es Holding Register None B Rule Status bumn RCA Clear Save 36 In the Module amp Address field se
5. M 7055 19 and address 0 and in the Address Value select ON from the dropdown list Click Save button to save the settings and return to Rules 2 Setting Page Module amp Address M 7055 19 Address 0 Address Value Save 29 In the THEN section in the Action1 field select Holding Register from the dropdown list and then click on the right side button to get into the Holding Register Action Setting page to edit detailed information Rule2 Setting Page Ss Discrete Input Er None A Action1 None None he ll ction2 Holding Register Ml Email None Data Logger None B Rule Status E ls 30 In the Module amp Address section select M 7022 18 and address 0 from the dropdown list In the Operator field select In the Value section select Assign Value as from the dropdown list and assign the value as 0 Click Save button to save the settings and return to Rule 2 Setting Page Module amp Address Operator M f022 18 Assign Value as Address 0 o 31 In the THEN section in the Action2 field select Coil Output from the dropdown list and then click on the right side button to get into the Coil Output Action Setting page to edit detailed information Coil Output Holding Register Email None Rule Status
6. address of DIO locates at Discrete Input 0x0000 Base 0 format decimal value is 0 the Modbus address of DOO locates at Coil Output 0x0000 Base 0 format decimal value is 0 M 7055 M 7055D utout Valid output U atch value If setting this channel channel to ON the latch value will become 0 0x0200 0x0207 to clear the DI count value Follow the following steps for M 7055 setting i In Data Model field please select Discrete Input 1x from the dropdown list li In Start Address field input 0 as the starting address of Discrete Input 1x on M 7055 you would like to retrieve ii In Continuous Data Number field input 1 as the continuous Discrete Input number which you would like to retrieve from the Start Address Click on Add button then a new Discrete Input address block for DIO will be added to the Modbus address mapping table iv In Data Model field please select Coil Output Ox from the dropdown list v In Start Address field input O as the starting address of Coil Output 0x on M 7055 you would like to retrieve vi In Continuous Data Number field input 1 as the continuous Coil Output number which you would like to retrieve from the Start Address Click on Add button then a new Coil Output address block for DOO will be added to the Modbus address mapping table vii Click Save button to save the settings and return to the Modbus RTU ModuleSetting Pag
7. ae 500 milliseconds Range 1 10000 5 seconds Timeout Retry Interval Data Model Input Register 3x v Start Address Eee Coil Output Discrete Input Input Register Holding Register Local Ox 1x 3x 4x Address Address 780 Number Type 781 32 bit Floating Point yy Address 4364 Number 1 Type 783 _ 32 bit Floating Point 5 On the Modbus RTU Module Setting Page add ICP DAS Modbus RTU module M 7022 to the list i Make sure the Baudrate COM2 setting is 38400 bps and select the Address of M 7022 as 18 ll In the Name field input the module name as M 7022 iii In the Polling Timeout field input the value as 300 millseconds iv In the Timeout Retry Interval field input the value as 5 seconds v After finish the M 7022 settings click Add button then the M 7022 will be added to the Modbus RTU Slave module list as bellow Click the M 7022 on the module list and click Setting button to get into the detail parameter setting page of the Modbus RTU Slave module Modbus RTU Module Setting Page 38400 bps Silent Interval 12 milliseconds Mode 4 Modbus RTU Modules 16 l 7000 Modules 10 Modbus RTU Modules 300 milliseconds Range 1 10000 5 seconds Ti t Retry Int imeout Retry Interva Range 3 65535 Polling Timeout PS Modbus RTU Module List of COM2 6 Follow the description of M 7022 user manual as the followin
8. as bellow Click the PM 2134 on the module list and click Setting button to get into the Modbus address setting page Modbus RTU Module Setting Page Baudrate COM2 38400 bps Silent Interval 12 milliseconds 4 Modbus RTU Modules 16 l 7000 Modules 10 Modbus RTU Modules Mode Address 17 Name PM 2134 500 milliseconds Polling Timeout olling timeou Range 1 10000 5 seconds Range 3 65535 Timeout Retry Interval Modbus RTU Module List of COM2 po Remove Move Up Move Down 4 On the Modbus RTU Module Setting page the user can set up the Modbus Coil Output Discrete Input Inout Register Holding Register address of the Modbus RTU module Please refer to the Modbus Address table for detailed information for each Modbus RTU Slave module data type and the corresponding Modbus address Follow the description of PM 2134 user manual as the following figure the Modbus address of KW data locates at Input Register 0x1104 decimal value is 4356 and the Modbus address of KWh data locates at Input Register 0x110C decimal value is 4364 All data types are floating point Please note WISE 580x s Modbus address is in Base 0 format Modbus Module 2 Input Register Voltage Current Power Energy Float for PM 2133 PM 2134 Parameter Register Dara Range Units Comment name Type Hex CIE SEE 0x1102 bord Float amp Primary f AD DWord 0x11
9. 0C e Tonoa ron T rm i JE loat Primarv DWord F Follow the following steps for PM 2134 KW data setting i In Data Model field please select Input Register 3x from the dropdown list li In Start Address field input 4356 as the starting address of Input Register 3x on PM 2134 you would like to retrieve lil In Continuous Data Number field input 1 as the continuous Input Register number which you would like to retrieve from the Start Address iv Select 32 bit Floating Point in Data Type field v Click on Add button then a new Input Register address block for KW will be added to the Modbus address mapping table Follow the following steps for PM 2134 KWh data setting vi In Data Model field please select Input Register 3x from the dropdown list vii In Start Address field input 4364 as the starting address of Input Register 3x on PM 2134 you would like to retrieve vill In Continuous Data Number field input 1 as the continuous Input Register number which you would like to retrieve from the Start Address ix Select 32 bit Floating Point in Data Type field x Click on Add button then a new Input Register address block for KWh will be added to the Modbus address mapping table xi Please check the setting click Save button to save it and return to the Modbus RTU Module Setting Page Modbus RTU Module Attribute Setting
10. 1 Setting Page Email Action Setting Email Information 2nd Receiver Email Address 4th Receiver Email Address 5th Receiver Email Address Subject The current KW value of the device is tc The current KW value of the device is n Content 25 Make sure all Rule 1 settings are accurate click Save button to save the changes Rule Setting Page Description B ne Time Repea il Out A Condition2 None A Ma upe B N A One Time Repeat i vr A Condition3 None A Sone 2 N A One Time Clear 26 Check the Rule 2 checkbox to enable Rule 2 then click Rule 2 Edit button for Rule 2 editing Enable No Edit status Rule Edit OK 27 On the Rule2 Setting Page on the right side select Discrete Input as IF Condition for Rule 2 and then click on the right side button to get into the Discrete Input Condition Setting page to edit detailed information Rule2 Setting Page ns ELSE None Discrete Input None Coil Output Input Register Holding Register Rule Status Operator Ltd ls None 28 In the Module amp Address section select
11. Data Logger 40 In the Action field select Stop from the dropdown list Click Save button to save the settings and get back to the Rule3 Setting Page 41 Make sure all Rule 3 settings are accurate click Save button to save the changes Rule3 Setting Page SCC ee 42 After finish the rule editing click the Download to Module button and input the password 1 Basic Setting 2 Advanced Setting 3 Rules Setting Channel Status Upload from Module Download to Module 43 After the download process is completed click Reboot button to make the new updated settings take effect The download process is completed Rule Overview Rule Overview Rule1 Enable Description lt IF gt PM 2134 17 Input Register 4356 gt 10 lt THEN gt M 7022 18 Holding Register 0 5 One Time M 7055 19 Coil Output 0 ON One Time Email 1 Send One Time Rule2 Enable Description lt IF gt M 7055 19 Discrete Input 0 ON lt THEN gt M 7022 18 Holding Register 0 0 One Time M 7055 19 Coil Output 0 OFF One Time Rule3 Enable Description lt IF gt PM 2134 17 Input Register 4356 gt 0 lt THEN gt Data Logger Start One Time lt ELSE gt Data Logger Siop One Time
12. WISE 580x Modbus RTU Master Application Example Scenario WISE 580x provides Modbus RTU Master function it allows to connect to I O modules that support Modbus RTU Slave protocol Assume a factory requires electricity monitoring over the devices ICP DAS PM 2134 power meter is used to monitor the instantaneous power KW value of the devices and the KW value will be transmitted to WISE 580x via Modbus RTU protocol At the same time the WISE 580x is connected to M 7055 and M 7022 modules The M 7055 is connected to one warning light and an emergency switch The M 7022 module is connected to a cooling fan When the instantaneous power KW value exceeds 10KW WISE 580x will send command to M 7055 to turn on the warning light to notify the related personal for emergency response At the same time the M 7022 will start the cooling fan to reduce the heat and send email to related personnel After the emergency has been taken care of by the related personnel he she can push the emergency switch to turn off the warning light and cooling fan the status of the emergency switch will also be sent to WISE 580x Meanwhile the cumulative power KWh value of this device will be recorded every 5 minutes and the logger file will be sent to FTP server at midnight O o clock each day for further administration management and data analysis i 4 Al Machine aw ao Jr Power Ln Sending Email WISE 5800 N Fan lt IF gt PM 2134 KW gt
13. e Modbus RTU Module Setting o WISE 5800 Local Address Coil Output 0x 1x Address Address Number Number 9 After complete all the setting of PM 2134 M 7050 amp M 7022 click Save button to save the setting Modbus RTU Module Setting Page Modbus RTU Module List of COM2 across um Poting neat 10 Open the WISE WEB page and get into the 2 Advanced Setting page 1 Basic Setting 2 Advanced Setting 3 Rules Setting Channel Status Upload from Module Download to Module 11 Click on Data Logger Setting to get into the setting page Internal Register Setting Timer Setting schedule Setting Email Setting CGI Command Setting Recipe Setting Data Logger Setting 12 On the Data Logger Setting page check the box in front of the Enable Data 20998 to start the data logger function and input the following data In the File Name field input the data log file name This name has to be in English or numbers ii In the Data Format field select PM 2134 17 a gt Input Register and address 4364 from the dropdown list the n17ri4364 string will appear in the Data Format field The string n17ri4364 indicates the value of KWh data that PM 2134 channel 0 detected For more detailed information regarding parameter settings please refer to the manual Check the box in front of the Sampling Period to enable period rec
14. e Setting Modbus RTU Module Setting In Baudrate COM2 field please select 38400 bps from the drop down list for the WISE 580x COM2 Baudrate setting The Baudrate has to be set the same as the Baudrate of Modbus RTU Slave modules connected to WISE 580x Add the PM 2134 Power Meter modules to the list There are two options in the Mode field 4 Modbus RTU Modules 16 l 7000 Modules and 10 Modbus RTU Modules In this case please select the 4 Modbus RTU Modules 16 1 7000 Modules mode li Assign the Address of PM 2134 as 17 iii In the Name field input the module name as PM 2134 iv The Polling Timeout indicates the time interval for WISE 580x to send command to the Modbus RTU Slave module and wait for the response If the Modbus RTU Slave module takes more response time or the loading of RS 485 communication is heavier it might require longer time interval please modify the setting to most adequate time interval to meet the requirements In this case please set the value as 500 ms The Timeout Retry Interval indicates the time interval for WISE 580x to resend command to Modbus RIU Slave module when its in the timeout status when performing communication between WISE 580x and Modbus RIU Slave module The default value as 5 seconds in this case After finish the PM 2134 settings click Add button the PM 2134 will be added to the Modbus RTU Slave module list
15. g figure the Modbus address of AOO locates at Holding Register 40001 Base 1 format Decimal data and the M 7022 AOO use Hexadecimal as the Data Format In this case the real value of AOO is between 0 10 therefore the mapping Hexadecimal value will be 0000 0FFF Address Mapping Addresa De Engineering 30000 0 ee OFFFh 0000h Le aa OFFFh 0000h je the following steps for M 7022 setting In Data Model field please select Holding Register 4x from the dropdown list In Start Address field input 0 as the starting address of Holding Register 4x on M 7022 you would like to retrieve Plesase note WISE 580x s Modbus address is in Base O format and M 7022 is in Base 1 format In Continuous Data Number field input 1 as the continuous Holding Register number which you would like to retrieve from the Start Address iv Because M 7022 use Hexadecimal as the Data Format please select 16 bit HEX in Data Type field and input the HEX MIN value as 0000 HEX MAX value as OFFF Real MIN value as 0 Real MAX value as 10 Click on Add button then a new Holding Register address block for M 7022 s AOO will be added to the Modbus address mapping table Make sure the setting is accurate click Save button and return to the Modbus RTU Module Setting Page Modbus RTU Module Setting ooo Data Model Holding Register 4x Start Address Continuous
16. lect PM 2134 17 and Address 4356 in the Operator field select gt In the Value field select Assign Value as from the dropdown list and assign the value as 0 Click Save button to save the settings and get back to the Rule3 Setting Page Input Register Condition Setting Module amp Address Operator PM 2134 17 Assign Value as gt r Address 4356 0 37 In the THEN section in the Action1 field select Data Logger from the dropdown list and then click on the right side button to get into the Data Logger Action Setting page to edit detailed information Rule3 Setting Page put Register X None 2 Coil Output None Holding Register 2 Email e Data Logger None v B 38 In the Action field select Start from the dropdown list Click Save button to save the settings and get back to the Rule3 Setting Page Data Logger Action Setting 39 In the ELSE section in the Action1 field select Data Logger from the dropdown list and then click on the right side button to get into the Data Logger Action Setting page to edit detailed information Rule3 Setting Page CE AE L jo Condition3 Input Register b None x None m Data Logger v B One Time Repeat Holding Register None P Email None B
17. ording function and select 5 mins from the dropdown list iv Select 1 hour from the dropdown list to specify time period to close the log file In the FTP section input the following information as indicated IP Port Login ID Password FTP Path and Timeout In the Time to Upload field select Every day at 0 o clock And then click Save button to save the settings TFou Module PM 2134 17 Input Register Addr 4364 7 je Sampling Period Enable 1 min Close Log File Every 1 hour s Setup Email Setting First Send as attachment when the log file is closed Login ID Password Timeout w milliseconds D Log file is closed Every day at 0 o clock Time to Upload 13 On the Advanced Setting page click on Email Setting to get into the setting page Internal Register Setting Timer Setting Schedule Setting Email Setting CGI Command Setting Recipe Setting Data Logger Setting 14 On the Email Setting page specify the Email Amount to be 1 and input related information for index number 1 Email such as SMTP Sever IP lf the server requires authentication please check the box in front of Authentication and input the Login ID and Password Sender Name Sender Email Address Receiver Email Address and the Subject title as The current KW value of the device is too high In the Content column in
18. put the content as The current KW value of the device is n17ri4356 User can use the I O channel selection interface to insert the Real Time variable n17ri4356 into the email content by select PM 2134 17 Input Register and address 4356 then click Add button The string 6n17ri4356 indicates the value of KW data that PM 2134 channel 0 detected When user receives the Email the n17ri4356 string will be replaced by the real KW data of PM 2134 channel 0 Click Save button to save all the settings Email Setting Page Email Amount SMTP Server IP IP or Domain Name sender Name sender Email Address 1st Receiver Email Address 2nd Receiver Email Address 3rd Receiver Email Address 4th Receiver Email Address 5th Receiver Email Address Subject ant KW value of the device is too high The current KW value of the device is n17ri4356 Content Note The length of the message cannot exceed 160 characters Insert Real Time Variable Module PM 2134 17 Input Register Addr 4356 15 Click on 3 Rules Setting to get into the Rule Setting page 1 Basic Setting 2 Advanced Setting 3 Rules Setting Channel Status Upload from Module Download to Module 16 Check the Rule 1 checkbox to enable Rule 1 then click Rule 1 Edit button for Rule 1 editing Enable No dit status 17 On the Rule1 Setting Page on the right side select
19. ttings and return to Rule 1 Setting Page Holding Register Action Setting Module amp Address Operator M 7022 18 Assign Value as Address 0 21 In the THEN section in the Action2 field select Coil Output from the dropdown list and then click on the right side button to get into the Coil Output Action Setting page to edit detailed information Rule1 Setting Page B Ss DT meme Output Iai Een Register Ema Data ger 22 In the Module amp Address section select M 7055 19 and address 0 from the dropdown list In the Address Value field select ON from the dropdown list Click Save button to save the settings and return to Rules 1 Setting Page Module amp Address Address Value 23 In the THEN section in the Action3 field select Email from the dropdown list and then click on the right side button to get into the Email Action Setting page to edit detailed information Rule1 Setting Page lt SCT Condo Holding Register B a One Time Repeat Coil O t X erT UER None e Actions None Bl Coil Output Holding Register Email Ci Data Logger 24 In the Index field select 1 from the dropdown list click Save button to save the settings and get back to the Rule
Download Pdf Manuals
Related Search
Related Contents
Lenovo IdeaCentre B40-30 Vertikal Ballenpresse DIXI 60 S/80 S - DIXI Press 保護帽の取扱説明書 CableWholesale 30ST-STFF 取扱説明書 - ミマキエンジニアリング Copyright © All rights reserved.
Failed to retrieve file