PMC-5151 User Manual


Add to my manuals
279 Pages

advertisement

PMC-5151 User Manual | Manualzz

ICP DAS PMC-5151 User Manual changes and return to Modbus RTU Module List.

Please note: To set up the Power On value of the AO channels on

M-7000 modules, please use DCON Utility to set the value.

7.3.6 Modbus RTU Module Setting

PMC-5151 allows connections to modules that support Modbus RTU

Slave protocol for offering I/O interface function. Through Modbus

RTU protocol, it enables to read or write 4 types of Modbus data (Coil

Output, Discrete Input, Input Register and Holding Register) from the

Modbus RTU Slave modules. And by PMC-5151 IF-THEN-ELSE rule engine, it allows to perform automation control operation on the modules. And with SCADA software, it also allows monitoring and control of the Modbus RTU modules which connect with the

PMC-5151. The Modbus RTU Slave Module setting page is shown as follow:

Figure7-42 : Modbus RTU Slave Module Setting Page

The settings are as below:

 Nickname:For user to define nickname for each I/O channel, this nickname will be displayed on the “I/O Information” and “Rule

Setting” pages.

 Description: The Description field provides a space for the user to

101

ICP DAS PMC-5151 User Manual make a brief description of this module.

 Address: The address will be the Modbus address of this Modbus

RTU module, please make sure the address is the same as the settings of the module, if the setting is not accurate, the connection for PMC-5151 to the Modbus RTU module will be failed.

 Scan Rate: Input the time interval for PMC-5151 to periodically retrieve the I/O channel data of this Modbus RTU module, the setting range will be 0 ~ 65535 seconds.

 Polling Timeout: The time interval for PMC-5151 to send command to the Modbus RTU module and wait for the response, the unit will be ms. The setting range will be 1-10000 ms.

 Retry Interval: The time interval to wait for PMC-5151 to repeatedly send command again when PMC-5151 sends command to the Modbus RTU module and get no response. The unit will be second. The setting range will be 3 ~ 65535 seconds.

After all settings are completed, click “Save” button to save the changes.

Please refer to the following sections for more detailed information of

Coil Output, Discrete Input, Input Register and Holding Register configurations on Modbus RTU Slave module.

Please Note: The number of Modbus address setting blocks will affect the data update rate for the Modbus RTU Slave module. Please minimize the number of Modbus address setting blocks; merge the conjunctive setting blocks to speed up the data update rate for the communication between PMC-5151 and Modbus RTU Slave module.

 The Coil Output Setting of Modbus RTU Module

The Modbus RTU Module Coil Output Setting page is shown as follow:

102

ICP DAS PMC-5151 User Manual

Figure7-43 : Coil Output Setting Page

The settings are as follow:

 Data Model: PMC-5151 offers 4 Data Model selections to match the Modbus RTU Slave module configuration. The Data

Model list is as follow. In this case, please select ”Coil

Output(0x)”.

Data Model

Coil Output

The Modbus Address of

Modbus RTU Slave Modules

0xxxx

Discrete Input

Input Register

Holding Register

1xxxx

3xxxx

4xxxx

 Start Address: Allows setting up the starting address of Coil

Output (0x) on the Modbus RTU Slave module you would like to retrieve.

 Data Number: After finishing the Start Address setting, specify the Data Number, it is the number of Coil Output data you would like to retrieve from the Start Address.

 After finishing the “Start Address” and “Data Number” setting, click on “Add” button. A new Coil Output address block will be added to the Modbus address mapping table. All added address blocks will be located in sequences staring from the Starting

Addressof the Coil Output (The address number on the first column of the “Local Address” indecates the local Modbus address of PMC-5151 to keep the Coil Output data.).

Figure7-44 is an example about Coil Output setting for a

Modbus RTU Slave module. The starting Modbus address of the Coil Output block is 00050(00000 + 50), it requires to set 4

103

ICP DAS PMC-5151 User Manual continuous Coil Output data in the setting. So that the

PMC-5151 can access the 00050, 00051, 00052 and 00053 Coil

Output address of the module, and these retrieved Coil Output data will be kept in PMC-5151 Modbus Address 00300, 00301,

00302 and 00303.

Figure7-44 : Coil Output Setting Example for Modbus RTU Module

 To modify the starting address or quantity setting, please click on the setting block and input the setting. Click “OK” for modification or click “Remove” to remove the setting.

 If the user wants to assign a Nickname for the address blocks, the user can click on the “Nickname Setting” tab, and then input the Nickname for each address block. The Nickname will be shown in the “I/O Information” and “Rule Setting” pages.

104

ICP DAS PMC-5151 User Manual

 After all Coil Output settings of the Modbus RTU module are completed, click “OK” button to save the changes.

 The Discrete Input Setting of Modbus RTU Module

The Modbus RTU module Discrete Input Setting page is shown as follow:

Figure7-45 : Discrete Input Setting Page

The settings are as follow:

 Data Model: WISE-580x offers 4 Data Model selections to match the Modbus RTU Slave module configuration. Please

refer to the section “

The Coil Output Setting of Modbus RTU

Module

” for detailed information. In this case please

select ”Discrete Input(1x)”.

 Start Address: Allows to set up the starting address of the data on the PMC-5151 that would be retrieved to the Discrete

Input(1x) on the Modbus RTU module.

 Data Number: After finishing the Start Address setting, specify the Data Number, it is the number of Discrete Input data that would be retrieved from the Start Address.

 After finishing the “Start Address” and “Data Number” setting, click on “Add” button. A new Discrete Input address block will be added to the Modbus address mapping table. All added address blocks will be located in sequences staring from the

Starting Address(The address number on the first column of the

“Local Address” indecates the local Modbus address of

PMC-5151 to keep the Discrete Input data.).

Figure7-46 shows an example about Discrete Input setting for a

Modbus RTU module. The starting Modbus address of the

Discrete Input block is 10020(10000 + 20), it requires to set 6

105

ICP DAS PMC-5151 User Manual continuous Discrete Input data in the setting. So that the

PMC-5151 can access the 10020, 10021, 10022, 10023, 10024, and 10025 Discrete Input address of the module, and these retrieved Discrete Input data will be kept in PMC-5151 Modbus

Address 10300, 10301, 10302, 10303, 10304 and 10305.

Figure7-46 : Discrete Input Setting Example for Modbus RTU Module

 To modify the starting address or quantity setting, please click on the setting block and input the setting. Click “OK” for modification or click “Remove” to remove the setting.

 If the user wants to assign a Nickname for the address blocks, the user can click on the “Nickname Setting” tab, and then input the Nickname for each address block. The Nickname will be shown in the “I/O Information” and “Rule Setting” pages.

106

ICP DAS PMC-5151 User Manual

 After all Discrete Input settings of the Modbus RTU module are completed, click “OK” button to save the changes.

 The Input Register Setting of Modbus RTU Module

The Modbus RTU module Input Register Setting page is shown as follow:

Figure7-47 : Input Register Setting Page

The settings are as below:

 Data Model: WISE-580x offers 4 Data Model selections to match the Modbus RTU Slave module configuration. Please

refer to the section “

The Coil Output Setting of Modbus RTU

Module

” for detailed information. In this case please

select ”Input Register (3x)”.

 Start Address: Allows to set up the starting address of Input

Register(3x) on the Modbus RTU module the user would like to retrieve.

 Data Number: After finishing the Start Address setting, specify the Data Number, it is the number of Input Register data you

107

ICP DAS PMC-5151 User Manual would like to retrieve from the Start Address.

 Type: The system support 6 kinds of data type setting for Input

Register of Modbus RTU module. The 6 Data Type options are

“16-bit Signed Integer”, “16-bit Unsigned Integer”, “16-bit

Hex”, “32-bit Signed Long”, “32-bit Unsigned Long”, and

“32-bit Floating Point”. If the “16-bit HEX” option is selected, it is required to setup the corresponding scale parameters for linear transformation from HEX value to real value. The

PMC-5151 will retrieve the HEX value and transfer it to real value in floating point format, this real value could be included in the IF-THEN-ELSE rule for edition.

If users select “32-bit Signed Long”, “32-bit Unsigned Long”, or “32-bit Floating Point”, the option “Inverse(Big Endian)” will appear. Enable “Inverse(Big Endian)” to receive the data in big endian format correctly.

 After finishing the “Start Address”, “Data Number”, and “Type” setting, click on “Add” button. A new Input Register address block will be added to the Modbus address mapping table

(shown as below). All added address blocks will be located in sequences staring from the Starting Address (The address number on the first column of the “Local Address” indecates the local Modbus address of PMC-5151 to keep the Input Register data.).

Figure 7-48 shows an example about Input Register setting for a

Modbus RTU module. The starting Modbus address of the Input

Register block is 30010(30000 + 10), it requires to set 3 continuous Input Register data in the setting, and the data type is “32-bit Floating Point”. So that these retrieved Input Register data will be kept in PMC-5151 Address 30300, 30302, and

108

ICP DAS PMC-5151 User Manual

30304.

Figure7-48 : Input Register Setting Example for Modbus RTU Module

 To modify the starting address or quantity setting, please click on the setting block to perform the modification. The user could also modify Type, Scale Ratio, Offset and Deadband on this interface. The Scale Ratio setting and Offset setting allows user to transform the Input Register value in this block by linear transformation. The formula is as follow:

Transformed Value = Scale Ratio x Input Register value +

Offset

After the linear transformation, the Transformed Value will be saved in floating point format on the PMC-5151(no matter what format the raw Input Register value was in the device). The default Scale Ratio will be 1 and the default Offset is 0, indicating not using linear transformation.

For more information about Deadband setting, please refer to

7.2.3 XW-Board AI Channel Settings

”. Click “OK” for

modification or click “Remove” to remove the setting.

109

ICP DAS PMC-5151 User Manual

 If the user wants to assign a Nickname for the address blocks, the user can click on the “Nickname Setting” tab, and then input the Nickname for each address block. The Nickname will be shown in the “I/O Information” and “Rule Setting” pages.

 After all Input Register settings of the Modbus RTU module are completed, click “OK” button to save the changes.

 The Holding Register Setting of Modbus RTU Module

The Modbus RTU Slave module Holding Register Setting page is shown as follow:

Figure7-49 : Holding Register Setting Page

The settings are as below:

 Data Model: WISE-580x offers 4 Data Model selections to match the Modbus RTU Slave module configuration. Please

refer to the section “

The Coil Output Setting of Modbus RTU

Module

” for detailed information. In this case please select ”

Holding Register (4x)”.

 Start Address: Allows to set up the starting address of Holding

110

ICP DAS PMC-5151 User Manual

Register(4x) on the Modbus RTU Slave module you would like to retrieve.

 Data Number: After finishing the Start Address setting, specify the Data Number, it is the number of Holding Register data you would like to retrieve from the Start Address.

 Type: The system support 6 kinds of data type setting for

Holding Register of Modbus RTU module. The 6 Data Type options are “16-bit Signed Integer”, “16-bit Unsigned Integer”,

“16-bit Hex”, “32-bit Signed Long”, “32-bit Unsigned Long”, and “32-bit Floating Point”. If the “16-bit HEX” option is selected, it is required to setup the corresponding scale parameters for linear transformation from HEX value to real value. The PMC-5151 will retrieve the HEX value and transfer it to real value in floating point format, this real value could be included in the IF-THEN-ELSE rule for edition.

If users select “32-bit Signed Long”, “32-bit Unsigned Long”, or “32-bit Floating Point”, the option “Inverse(Big Endian)” will appear. Enable “Inverse(Big Endian)” to receive the data in big endian format correctly.

 After finishing the “Start Address”, “Data Number”, and “Type” setting; click on “Add” button. A new Holding Register address block will be added to the Modbus address mapping table. All added address blocks will be located in sequences staring from the Starting Address (The address number on the first column of the “Local Address” indecates the local Modbus address of

PMC-5151 to keep the Holding Register data.).

Figure 7-50 shows an example about Holding Register setting for a Modbus RTU module. The starting Modbus address of the

Holding Register block is 40060(40000 + 60), it requires to set

111

ICP DAS PMC-5151 User Manual

2 continuous Holding Register data in the setting, and the data type is “32-bit Floating Point”. So that these retrieved Holding

Register data will be kept in PMC-5151 Address 40300 and

40302.

Figure7-50 : Input Register Setting Example for Modbus RTU Module

 To modify the starting address or quantity setting, please click on the setting block to perform the modification. The user could also modify Type, Scale Ratio, Offset and Deadband on this interface. For more detailed information, please refer to section

The Input Register Setting of Modbus RTU Module

”.

 If the user wants to assign a Nickname for the address blocks, the user can click on the “Nickname Setting” tab, and then input the Nickname for each address block. The Nickname will be shown in the “I/O Information” and “Rule Setting” pages.

 After all Holding Register settings of the Modbus RTU module

112

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents