Upload
others
View
53
Download
0
Embed Size (px)
Citation preview
FS Series Modbus Master v1.0
1
EasyIO FS Series Modbus Master User Guide
FS Series Modbus Master v1.0
2
Document Change Log
27th
Dec 2019
Document created for FS series ONLY.
FS Series Modbus Master v1.0
3
Disclaimer Confidentiality Notice
The information contained in this document is confidential information of EasyIO Holdings Pte Ltd. Such information and the software described herein, is furnished under a license agreement and may be used only in accordance with that agreement. The information contained in this document is provided solely for use by EasyIO Holdings Pte Ltd employees, licensees, and system owners; and, except as permitted under the below copyright notice, is not to be released to, or reproduced for, anyone else. While every effort has been made to assure the accuracy of this document, EasyIO Holdings Pte Ltd is not responsible for damages of any kind, including without limitation consequential damages, arising from the application of the information contained herein. Information and specifications published here are current as of the date of this publication and are subject to change without notice. The latest product specifications can be found by contacting our corporate headquarters or support channel. Trademark Notice EasyIO logo are registered trademarks of EasyIO Holdings Pte Ltd. CPT Tool is by Online Tools Inc. BACnet and ASHRAE are registered trademarks of American Society of Heating, Refrigerating and Air- Conditioning Engineers. All other product names and services, mentioned in this publication, that are known to be trademarks, registered trademarks, or service marks are the property of their respective owners. Copyright and Patent Notice This document may not, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine-readable form without prior written consent from EasyIO Holdings Pte Ltd Copyright © 2019 EasyIO Holdings Pte Ltd. All rights reserved
Disclaimer
The material in this manual is for information purposes only. The contents and the product it describes are subject to change without notice. EasyIO Holdings Pte Ltd makes no representations or warranties with respect to this manual. In no event shall EasyIO Holdings Pte Ltd be liable for any damages, direct or incidental, arising out of or related to the use of this manual.
EasyIO Holdings Pte Ltd 101, Cecil Street #09-07 Tong Eng Building Singapore 069533 Worldwide and Asia Pacific Support : [email protected] Americas Support : [email protected] Europe Support : [email protected]
FS Series Modbus Master v1.0
4
Federal Communication Commission Interference Statement
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15
of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a
residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not
installed and used in accordance with the instructions, may cause harmful interference to radio communications.
However, there is no guarantee that interference will not occur in a particular installation. If this equipment does
cause harmful interference to radio or television reception, which can be determined by turning the equipment off
and on, the user is encouraged to try to correct the interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
Caution: Any changes or modifications not expressly approved by the party responsible for compliance could void
the user's authority to operate this equipment.
FCC Caution
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This
device may not cause harmful interference, and (2) this device must accept any interference received, including
interference that may cause undesired operation.
FCC Radiation Exposure Statement
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This
equipment should be installed and operated with minimum distance 20cm between the radiator & your body.
RF Exposure: A distance of 20 cm shall be maintained between the antenna and users, and the transmitter module
may not be co-located with any other transmitter or antenna.
FS Series Modbus Master v1.0
5
Table of Contents Introduction ................................................................................................................................................................... 6
Prerequisites .................................................................................................................................................................. 6
Device Software Configuration Limitations ................................................................................................................... 6
Configuring the Modbus Serial Network ....................................................................................................................... 7
Configuring the Modbus TCP Network ........................................................................................................................ 12
Configuring the Modbus TCP Gateway Network ......................................................................................................... 16
Technical Support ........................................................................................................................................................ 19
FS Series Modbus Master v1.0
6
Introduction
EasyIO FS Series supports Modbus as a Master Driver. It is capable of handling the following Modbus protocols; This document is compatible for both FS Series since the hardware profile of 2 models are identical.
1. Modbus RTU Master (NO Modbus ASCII support) 2. Modbus TCP Master 3. Modbus TCP Gateway
Prerequisites 1. CPT Tool dated 10th Oct 2018 or later. Latest CPT at the time of the document is 06th Dec 2019. 2. For FS Series running v3.0b51b or later firmware is the best.
Device Software Configuration Limitations
Modbus RTU Master
Count / Model FS Series
Max. No. of MODBUS Serial Networks (per FG device) 1
Max. No. of MODBUS Serial Devices per Network 31
Max. No. of Points per MODBUS Serial Device 32
Modbus TCP Master
Count / Model FS Series
Max. No. of MODBUS TCP Networks (per FG device) 1
Max. No. of MODBUS TCP Devices per Network 64
Max. No. of Points per MODBUS TCP Device 32
Modbus TCP Gateway
Count / Model FS Series
Max. No. of TCP Gateway Networks (per FG device) 1
Max. No. of MODBUS Gateway Devices allowed 31
Max. No. of Points per MODBUS Gateway Device 32
FS Series Modbus Master v1.0
7
Configuring the Modbus Serial Network The architecture of the driver is a tiered, parent/child structure as indicated below. The network object can be placed anywhere in the Sedona apps. It is recommended to create a separate folder for each network to allow logical identification of each “parent” network and the associated “child” devices and points. Network
Device
Points
Image shows the schematic diagram of FG32 as a Modbus RTU master.
**Note** In order to configure the MODBUS driver 3 kits need to be installed. These kits are included in the release package. Installation of the kits is shown in the following steps
1. easyioFGModbus – 1.0.45.51.28 or higher 2. easyioFGDriver - 1.0.45.51.3 or higher 3. easyioFGSerial – 1.0.45.51.2 or higher
Step 1 Connect to the controller with CPT Tool.
Default login credentials are as below;
IP address : 192.168.10.12 Username : admin Password :<no password>
FS Series Modbus Master v1.0
8
Add the kits to the controller by navigating to manage kits and install easyioFGModbus, easyioFGDriver and easyioFGSerial kit into your controller
Step 2 Go to the service folder by double clicking it. It will display the service folder objects. If the SerialService object is not present in the folder, drag and drop the service object in to the service folder from the easyioFGSerial kits library.
Step 3 From the easyioFGModbus kit selections “drag & drop” the ModbusSerialNetwork object into your App.
The object can be placed anywhere, directly in the tree, in the EasyIO folder, or in a new folder if desired.
In this case, the object will be dropped into a new folder named “Modbus”.
It is possible to rename the ModbusSerialNetwork object. In this case the ModbusSerialNetwork object has been renamed as RTUNet.
FS Series Modbus Master v1.0
9
Step 4 Double click the ModbusSerialNetwork object to access the object property sheet. You will need to configure the serial network communications parameters according to the requirements Modbus device. Enable the network. **Tech Tip: - Please note that only Port 2(D2+ & D2- Terminals) on the FG Series controller can be used**
Step 5 Select and drag a ModbusSerialDevice object from the EasyIOFGModbus kit Sedona palette and Drop it under the Network object. The Slave device must be a “child” of the Network object. Renaming of the device object is possible.
FS Series Modbus Master v1.0
10
Step 6 Drop the required MODBUS register type object under the Device Object. The Register object must be a “child” of the “parent” Device Object. The use of folders within the Device Object is possible. It is recommended to use folders within the device object for better data management.
Step 7 Set the register address for the desired point under the “address” property of the desired object type. Enable the point by setting the register “enable” property “true”. **Tech Tip: -The only MODBUS register addressing format supported by the EasyIOFGModbus kit is “Decimal” format addressing. No HEX format or MODBUS format addressing is allowed. If the MODBUS address in the 3rd party device is supplied in either HEX or MODBUS format please convert it to Decimal format and enter the Decimal equivalent in the “address” property of the associated register.** In the example below, the address 30001 is Modbus format which is equivalent to decimal address 1.
Input/ Holding Registers Data Type
Precision Remarks
Integer 16 bit 16 bit Signed Integer Standard
Long 32 bit 32 Bit Signed Integer Standard
Float 32 bit 32 Float Standard
Unsigned Integer
16 bit Unsigned Integer
UnInt64 64 bit 64 bit Unsigned Integer
Mod10_64 64 bit Modular 10,000 calculation
FS Series Modbus Master v1.0
11
Step 8 By default all “writable” registers have a “Read Write” property to enable the “write” function. If the register is a “ReadWrite” register and writing is required, enable the write ability by setting the “Read Write” property to “true” as shown below.
FS Series Modbus Master v1.0
12
Configuring the Modbus TCP Network The architecture of the driver is a tiered, parent/child structure as indicated below. The network object can be placed anywhere in the Sedona apps. It is recommended to create a separate folder for each network to allow logical identification of each “parent” network and the associated “child” devices and points. Network
Device
Points
Image shows the schematic diagram of FG32 as a Modbus TCP master.
**Note** In order to configure the MODBUS driver 3 kits need to be installed. These kits are included in the release package. Installation of the kits is shown in the following steps
1. easyioFGModbus – 1.0.45.51.28 or higher 2. easyioFGDriver - 1.0.45.51.3 or higher 3. easyioFGSerial – 1.0.45.51.2 or higher
Step 1 Connect to the controller with CPT Tool.
Default login credentials are as below;
IP address : 192.168.10.12 Username : admin Password :<no password> Add the kits to the controller by navigating to manage kits and install easyioFGModbus and easyioFGdriver kit into
your controller.
FS Series Modbus Master v1.0
13
Step 2 After installation, choose easyioFGModbus from the Sedona Palette of Sedona Workbench or CPT Tool.
From the easyioFGModbus kit selections “drag & drop” the ModbusTCPNetwork object into your App.
The object can be placed anywhere, directly in the tree, in the EasyIO folder, or in a new folder if desired.
In this case, the object will be dropped into a new folder named “Modbus”.
It is possible to rename the ModbusTCPNetwork object. In this case the ModbusTCPNetwork object has been
renamed as TCPNet.
Step 3 Double click the ModbusTCPNetwork object to access the object property sheet. Enable the network by setting the Enable property to “true”.
Step 4 Select and drag a ModbusTCPDevice object from the EasyIOFGModbus kit Sedona palette and drop it under the Network object. The TCP device must be a “child” of the “parent” TCPNet Network object. Renaming of the device object is possible.
FS Series Modbus Master v1.0
14
Step 5 Drop the required MODBUS register type object under the Device Object. The Register object must be a “child” of the “parent” Device Object. The use of folders within the Device Object is possible. It is recommended to use folders within the device object for better data management.
Input/ Holding Registers Data Type
Precision Remarks
Integer 16 bit 16 bit Signed Integer Standard
Long 32 bit 32 Bit Signed Integer Standard
Float 32 bit 32 Float Standard
Unsigned Integer
16 bit Unsigned Integer
UnInt64 64 bit 64 bit Unsigned Integer
Mod10_64 64 bit Modular 10,000 calculation
FS Series Modbus Master v1.0
15
Step 6 Set the register address for the desired point under the “address” property of the desired object type. Enable the point by setting the register “enable” property “true”. **Tech Tip: -The only MODBUS register addressing format supported by the EasyIOFGModbus kit is “Decimal” format addressing. No HEX format or MODBUS format addressing is allowed. If the MODBUS address in the 3rd party device is supplied in either HEX or MODBUS format please convert it to Decimal format and enter the Decimal equivalent in the “address” property of the associated register.** In the example below, the address 30001 is Modbus format which is equivalent to decimal address 1.
Step 7 By default all “writable” registers have a “Read Write” property to enable the “write” function. If the register is a Read/Write type register and writing is required, enable the write ability by setting the “Read Write” property to “true” as shown below.
FS Series Modbus Master v1.0
16
Configuring the Modbus TCP Gateway Network The architecture of the driver is a tiered, parent/child structure as indicated below. The network object can be placed anywhere in the Sedona apps. It is recommended to create a separate folder for each network to allow logical identification of each “parent” network and the associated “child” devices and points. Network
Device
Points **Note** In order to configure the MODBUS driver 3 kits need to be installed. These kits are included in the release package. Installation of the kits is shown in the following steps
1. easyioFGModbus – 1.0.45.51.28 or higher 2. easyioFGDriver - 1.0.45.51.3 or higher 3. easyioFGSerial – 1.0.45.51.2 or higher
Step 1 Connect to the controller with Sedona Workbench or CPT Tool.
Default login credentials are as below;
IP address: 192.168.10.12 Username: admin Password :<no password> Add the kits to the controller by navigating to manage kits and install easyioFGModbus and easyioDriver kit into your controller.
Step 2 After installation, choose the easyioFGModbus kit from the Sedona Palette
From the easyioFGModbus kit selections “drag & drop” the ModbusTCPGateway object into your App.
The object can be placed anywhere, directly in the tree, in the EasyIO folder, or in a new folder if desired.
In this case, the object will be dropped into a new folder named “Modbus”.
FS Series Modbus Master v1.0
17
It is possible to rename the ModbusTCPGateway object. In this case the ModbusTCPGateway object has been
renamed as TCPGate.
Step 3 Double click the ModbusTCPNetwork object to access the object property sheet. Enable the network by setting the Enable property to “true”. Key in the assigned Gateway IP address via the “IP Address” property.
FS Series Modbus Master v1.0
18
Step 4 Select and drag a ModbusTCPGatewayDevice object from the EasyIOFGModbus kit Sedona palette and drop it under the Network object. The TCP Gateway device must be a “child” of the “parent” TCPGate Network object. Renaming of the device object is possible.
Step 5 Drop the required MODBUS register type object under the Device Object. The Register object must be a “child” of the “parent” Device Object. The use of folders within the Device Object is possible. It is recommended to use folders within the device object for better data management.
Input/ Holding Registers Data Type
Precision Remarks
Integer 16 bit 16 bit Signed Integer Standard
Long 32 bit 32 Bit Signed Integer Standard
Float 32 bit 32 Float Standard
Unsigned Integer
16 bit Unsigned Integer
UnInt64 64 bit 64 bit Unsigned Integer
Mod10_64 64 bit Modular 10,000 calculation
FS Series Modbus Master v1.0
19
Step 6 Set the register address for the desired point under the “address” property of the desired object type. Enable the point by setting the register “enable” property “true”. **Tech Tip: -The only MODBUS register addressing format supported by the EasyIOFGModbus kit is “Decimal” format addressing. No HEX format or MODBUS format addressing is allowed. If the MODBUS address in the 3rd party device is supplied in either HEX or MODBUS format please convert it to Decimal format and enter the Decimal equivalent in the “address” property of the associated register.** In the example below, the address 30001 is Modbus format which is equivalent to decimal address 1.
Step 7 By default all “writable” registers have a “Read Write” property to enable the “write” function. If the register is a Read/Write type register and writing is required, enable the write ability by setting the “Read Write” property to “true” as shown below.
Technical Support
For technical issue, please contact respective region support channel. Worldwide and Asia Pacific Support : [email protected] Americas Support : [email protected] Europe Support : [email protected]