ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version...

18
ioThinx 4510 Starter Kit User’s Manual Version 1.0, March 2020 www.moxa.com/product © 2020 Moxa Inc. All rights reserved.

Transcript of ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version...

Page 1: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit User’s Manual

Version 1.0, March 2020

www.moxa.com/product

© 2020 Moxa Inc. All rights reserved.

Page 2: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit User’s Manual

The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement.

Copyright Notice

© 2020 Moxa Inc. All rights reserved.

Trademarks

The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.

Disclaimer

Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa.

Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the products and/or the programs described in this manual, at any time.

Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.

This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication.

Technical Support Contact Information

www.moxa.com/support

Moxa Americas Toll-free: 1-888-669-2872 Tel: +1-714-528-6777 Fax: +1-714-528-6778

Moxa China (Shanghai office) Toll-free: 800-820-5036 Tel: +86-21-5258-9955 Fax: +86-21-5258-5505

Moxa Europe Tel: +49-89-3 70 03 99-0 Fax: +49-89-3 70 03 99-99

Moxa Asia-Pacific Tel: +886-2-8919-1230 Fax: +886-2-8919-1231

Moxa India Tel: +91-80-4172-9088 Fax: +91-80-4132-1045

Page 3: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

Table of Contents

1. Preface .............................................................................................................................................. 1-1 Revision ............................................................................................................................................ 1-2 Relevant Models ................................................................................................................................. 1-2 Package Contents ............................................................................................................................... 1-2 Hardware and Software Requirements ................................................................................................... 1-2 Additional Resources ........................................................................................................................... 1-2

2. Product Overview .............................................................................................................................. 2-1 ioThinx 4500 Series Specifications ........................................................................................................ 2-2 IO Board Specifications ....................................................................................................................... 2-3

Supported IO Signals ................................................................................................................... 2-4 Supported Modbus Addresses ....................................................................................................... 2-5

Default Wiring Between the Device and the I/O Board ............................................................................. 2-8 Connecting to the Device’s DI Channel ........................................................................................... 2-8 Connecting to Device’s DO Channel ............................................................................................. 2-10 Connect to the Device’s AI Channel ............................................................................................. 2-11

3. Start with the Starter Kit ................................................................................................................... 3-1 How to Get Data From Modbus ............................................................................................................. 3-2 How to Get Data From RESTful API ....................................................................................................... 3-2 How to Get Data From MQTT ................................................................................................................ 3-2

Page 4: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

1 1. Preface

The following topics are covered in this chapter:

Revision

Relevant Models

Package Contents

Hardware and Software Requirements

Additional Resources

Page 5: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Preface

1-2

Revision Version Change Date

V1.0 First Release 2019/6/24

Relevant Models Model Name Description

ioThinx 4510 Advanced I/O, Ethernet network adapter, 3-in-1 serial port(s), -20 to 60°C operating temperature

45MR-1601 Module for the ioThinx 4500 Series, 16 DIs, 24 VDC, NPN, -20 to 60°C operating temperature

45MR-2600 Module for the ioThinx 4500 Series, 16 DOs, 24 VDC, sink , -20 to 60°C operating temperature

45MR-3800 Module for the ioThinx 4500 Series, 8 AIs, 0 to 20 mA/4 to 20 mA, -20 to 60°C operating temperature

Package Contents The following items are included in the product package.

• ioThinx 4510, 45MR-1601, 45MR-2600, and 45MR-3800

• I/O board

• 12 V power adapter with US/EU/UK/AU plug

Hardware and Software Requirements You will need the following hardware and software to use the ioThinx IIoT Stater Kit.

• A PC running a Windows OS with Chrome installed and an Ethernet cable

• IOxpress software utility (optional)

• Moxa CLI Configuration Tool (optional)

Additional Resources Refer to the following documents for additional information.

• Datasheets for the following products:

ioThinx 4510 Series

ioThinx 4500 Series (45MR) Modules

• User’s Manual for the following products:

ioThinx 4510 Series

ioThinx 4500 (45M) Module Series

Moxa CLI Configuration Tool

• Tech notes:

How to Use MQTT to Connect to the ioThinx 4510 Series

How to Use RESTful API to Connect to the ioThinx 4510 Series

How to Use Modbus TCP to Connect to the ioThinx 4510 Series

Page 6: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

2 2. Product Overview

The following topics are covered in this chapter:

ioThinx 4500 Series Specifications

IO Board Specifications

Supported IO Signals

Supported Modbus Addresses

Default Wiring Between the Device and the I/O Board

Connecting to the Device’s DI Channel

Connecting to Device’s DO Channel

Connect to the Device’s AI Channel

Page 7: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-2

ioThinx 4500 Series Specifications Input/Output Interface Digital Input Channels: 45MR-1601: 16 Digital Output Channels: 45MR-2600: 16 Analog Input Channels: 45MR-3800: 8 Buttons: Reset button Isolation: 3k VDC or 2k Vrms

Digital Inputs Connector: Spring-type Euroblock terminal Sensor: Dry contact Wet contact (PNP)

Digital Outputs Connector: Spring-type Euroblock terminal I/O Type: Sink

Analog Inputs Connector: Spring-type Euroblock terminal I/O Type: Current Input Range: 0 to 20 mA 4 to 20 mA 4 to 20 mA (with burn-out detection)

Ethernet Interface 10/100BaseT(X) Ports (RJ45 connector): 2, 1 MAC address (Ethernet bypass) Magnetic Isolation Protection: 1.5 kV (built-in)

Ethernet Software Features Configuration Options: Web Console (HTTP) Industrial Protocols: Modbus TCP Server (Slave), RESTful API, SNMPv1/v2c/v3, MQTT

Serial Interface Connector: Spring-type Euroblock terminal No. of Ports: 2 x RS-485 (2 wire) Stop Bits: 1, 2

Serial Signals RS-485-2w: Data+, Data-, GND

Serial Software Features Industrial Protocols: Modbus RTU Client (Master)

Power Requirements Input Voltage: 12 VDC

System Power Parameters No. of Power Inputs: 1 Power Connector: Spring-type Euroblock terminal Power Consumption: 1100 mA @ 12 VDC Physical Characteristics Dimensions: 400 x 170 x 116 mm (15.75 x 6.69 x 4.57 in) Weight: 2000 g (4.41 lb)

Page 8: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-3

Package Contents Device: 1 x ioThinx 4510 1 x 45MR-1601 1 x 45MR-2600 1 x 45MR-3800 Accessory: 1 x I/O board Power Supply: 1 x power adapter with US/EU/UK/AU plug

IO Board Specifications

Page 9: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-4

Supported IO Signals The starter kit I/O board supports DO mode, DI mode, and AO mode.

DO Mode

There are two types of DO modes: DO (Sink) and Pulse Out. Connect the output channel with a source DI module.

DO mode 1 2 DO (Sink) default ON OFF

Pulse Out OFF ON

DO (Sink): In this case, the I/O board is a sink DO module and it must be used with source DI module, 45MR-1601. Pulse Out: When the push button on the I/O board is pressed, the I/O board will generate a square wave with pulse on/off width 500 ms.

NOTE The pulse on/off width can be modified by changing the value in the internal register. For the Modbus TCP slave address, please refer to the Modbus table in the web console.

Page 10: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-5

DI Mode

There are two types of DI modes: DI (Source) and DI (Sink). When the input channel is connected to a DO module, use the web console to turn on the light on the starter kit DO channel.

DI mode 1 2 DI (Source) default ON OFF

DI (Sink) OFF ON

DI (Source): In this case, the I/O board is a source DI module and it must be used with the 45MR-2600 sink DO module. DI (Sink): In this case, the I/O board is a sink DI module and it must be used with the 45MR-2601 source DO module.

AO Mode

When connecting the output channel with an AI module, four types of AO mode can be used: RTD, TC, Volt, and Curr. Rotate the knob to increase/decrease the output signal; the value can be checked on the web console.

AO mode 1 2 3

RTD (0 to 2 kilo-ohm) OFF OFF ON

TC (0 to 0.1 V) OFF ON ON

Volt (0 to 10 V) ON ON ON

Curr (0 to 20 mA) default ON ON OFF

RTD: In this case, the I/O board provides a 0 to 2 kilo-ohm resistance; use the 45MR-6600 RTD module. TC: In this case, the I/O board provides an analog output with voltage from 0 to 0.1 V; use the 45MR-6800 TC module. Volt: In this case, the I/O board provides an analog output with voltage from 0 to 10 V; use the 45MR-3810 AI module. Curr: In this case, the I/O board provides an analog output with current from 0 to 20 mA; use the 45MR-3800 AI module.

Supported Modbus Addresses

Starter Kit Modbus Mapping

0xxxx Read Coils (Function 1) Reference Address Data Type Description 00001 0X0000 Bit DI0 Status (0: OFF, 1:

ON)

00002 0X0001 Bit DI1 Status (0: OFF, 1: ON)

4xxxx Read/Write Holding Registers (Function 3, 6, 16) Reference Address Data Type Description

40001 0X0000 WORD DO0 ON Width (ms)

40002 0X0001 WORD DO1 ON Width (ms)

40009 0X0008 WORD DO0 OFF Width (ms)

40010 0X0009 WORD DO1 OFF Width (ms)

Page 11: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-6

Serial Port Settings

The configuration has been uploaded to the starter kit. The following is the default serial port setting shown in the web console.

1. Port Settings

Mode: RS-485 2-wire Baudrate: 115200 bps Parity: None Data Bits: 8 Stop Bits: 1 Flow Control: None

2. Device Settings

3. Profile Settings

Page 12: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-7

Page 13: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-8

Default Wiring Between the Device and the I/O Board

NOTE Because of space limitations, we use the same power supply for system and field power. For an actual application, we recommended using different power supplies to ensure that the system power and field power are isolated from each other.

Connecting to the Device’s DI Channel The blue wires connect to the 45MR-1601 source DI module.

Page 14: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-9

Counter Mode

1. Adjust the DIP switch (DO mode) on the I/O board to pulse out.

2. Change the DI to counter mode in I/O settings.

NOTE After changing the settings, remember to save and restart.

3. When entering the dashboard, choose the DI module, 45MR-1601.

4. Click the run in operation section and the DI module will count the pulse sent from the I/O board.

Page 15: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-10

Connecting to Device’s DO Channel The yellow wires connect to the 45MR-2600 DO sink module.

You can change the DO module to the 45MR-2601, which is a source DO module. When you do so,

1. Adjust the dip switch (DI mode) on I/O board to DI (sink).

2. Change the wire on the COM port from V+ to V-.

Page 16: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Product Overview

2-11

Pulse Mode

1. Change the DO to pulse mode in I/O settings.

NOTE After changing the setting, remember to save and restart.

2. When entering the dashboard, choose the DO module, 45MR-2600.

3. Click the start in operation section and the DO module will send a pulse.

Connect to the Device’s AI Channel Connect the green wires to the 45MR-3800 AI module.

Page 17: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

3 3. Start with the Starter Kit

The following topics are covered in this chapter:

How to Get Data From Modbus

How to Get Data From RESTful API

How to Get Data From MQTT

Page 18: ioThinx 4510 Starter Kit User’s Manual...ioThinx 4510 Starter Kit Preface 1-2 Revision Version Change Date V1.0 First Release 2019/6/24 Relevant Models Model Name Description ioThinx

ioThinx 4510 Starter Kit Start with the Starter Kit

3-2

How to Get Data From Modbus Refer to the tech note, How to Use Modbus to Connect to the ioThinx 4510 Series, on Moxa’s website.

How to Get Data From RESTful API Refer to the tech note, How to Use RESTful API to Connect to the ioThinx 4510 Series, on Moxa’s website.

How to Get Data From MQTT Refer to the tech note, How to Use MQTT to Connect to the ioThinx 4510 Series, on Moxa’s website.