Page 1
M4000 series remote I/O module User 's Manual Rev: E Smacq Technologies. Co., Ltd Smacq.com Smacq.cn...
Page 2
Without prior consent and written permission, no content of this manual may be copied, modified, or deleted. Trademark information It is a registered trademark of Smacq Technologies. Co., Ltd. The other products and company names mentioned in this document are trademarks or business names of their respective companies.
Safety requirements Warning: Only connect voltage within the specified range. If the voltage exceeds the specified range, it may cause equipment damage and even affect personal safety. The voltage range that can be connected to each port is detailed in the product specification section.
Measurement category Warning: This device can only be used in measurement category I (CAT I). Do not use this device to connect signals or perform measurements in measurement categories II/III/IV. Measurement category description Measurement Category I (CAT I) refers to measurements taken on circuits that are not directly connected to the main power supply.
Page 5
Environment Temperature Operation 0℃~55℃ Storage -40℃~85℃ Humidity Operation 5% RH~95% RH, non-condensing Storage 5% RH~95% RH, non-condensing Pollution level Highest altitude 2000m Pollution level description Pollution level 1: No pollution, or only dry non-conductive pollution occurs. This pollution level has no impact. For example, a clean room or an air-conditioned office environment. Pollution level 2: Generally only dry non-conductive pollution occurs.
M4000 Wiring Definition Overview The M4000 series remote I/O module is a set of computer interface modules based on the Modbus RTU standard protocol. M4000 is remotely controlled through the standard Modbus RTU protocol, with programmable analog input and output interfaces for multiple channels and sampling rates, and...
Page 7
Feature point 4-channel analog input 12-bit resolution (16-bit in high-resolution mode) 2-channel analog output (M4001) 2-channel isolate digital input and 2-channel isolate digital output (M4001) 4-channel isolate digital input and 4-channel isolate digital output (M4002) Using standard Modbus RTU protocol ...
2. Product specifications Common Specifications Connection Interface RS-485 (2-Wire) 1200,2400,4800,9600(Default),19200,38400,57600,115200 Baud rate (bps) NONE, ODD, EVEN(Default) Checksum 1(Default), 2 Stop bits Protocol Modbus RTU Watchdog Timer 0.1seconds to 40 seconds Power Supply Input Voltage 9-30 VDC Electric Current M4001:150mA (Max) @ 12V M4002:60mA (Max) @ 12V...
Page 9
M4001 Product Specification Analog input Channels Input type Voltage, Current (Default), Switch through Jumper setting Resolution 12-bit 16-bit (Default, High-resolution mode) Voltage range 0-5V, 1-5V Current range 0-20mA, 4-20mA Integral time 10ms Input coupling mode Voltage input impedance 10M Ω (Typical values) Current input impedance 249Ω...
Page 10
M4002 Product Specification Analog input Channels Input type Voltage, Current (Default), Switch through Jumper setting Resolution 12-bit 16-bit (Default, High-resolution mode) Voltage range 0-5V, 1-5V Current range 0-20mA, 4-20mA Integral time 10ms Input coupling mode Voltage input impedance 10M Ω (Typical values) Current input impedance 249Ω...
Page 11
3. Product unpacking and packing list 2.1. Product unboxing To prevent equipment damage from electrostatic discharge (ESD), please note the following: Please wear a grounded wristband or touch a grounded object first to ensure that the human body is grounded.
Page 12
Power Connection Diagram 3.2. Software installation We provide an application for configuring, detecting, and easy-to-use M4000 series remote I/O modules, which can only be installed on the Windows desktop operating system. Double click to run setup. exe for installation.
Page 13
3.3. Simple testing The M4000 series remote I/O module is set to its initial value before leaving the factory, as shown in the table below. If the settings of the M4000 series remote I/O module have been modified and the settings have been forgotten, a wire can be used to connect the Initiate and GND terminals, and then the power of the M4000 can be turned on.
4. Analog input In the M4000 series remote I/O module is equipped with 4 voltage/Current switchable analog input channels. Inside M4000, each channel has a Jumper bit to set the input type for that channel. When the Jumper is not connected, this channel is a voltage input channel; When the Jumper is connected, this channel is the Current input channel.
Page 15
default analog input range is 4~20mA, and Jumper is already connected inside. If you need to Factory measure a 5V voltage signal, you need to open the casing and remove the corresponding channel Jumper cap. Default Current range in the diagram Default Current range in the diagram In addition, after switching the jumper, we also need to set the corresponding channel range in the software and save the default settings.
Page 16
Schematic diagram of voltage signal analog input connection Schematic diagram of Current signal analog input connection...
5. Analog output The M4000 series remote I/O module is configured with 2-channel current type analog output. Schematic diagram of current signal analog output connection...
6. Digital input Isolate digital input The M4000 series remote I/O module is configured with isolate digital input channel, isolate digital input channel suspended is High level and can connected Dry contact and Wet contact. Isolation type digital input channel connected to Dry contact...
7. Digital output The M4000 series remote I/O module is configured with isolate digital output channel, which can be used to control devices such as relays and solenoid valves. Isolation type digital output wiring diagram...
8. Programming instructions The M4000 series remote I/O module is a set of computer interface modules based on Modbus RTU, and its programming rules follow The relevant conventions of Modbus RTU protocol. For the convenience of different application scenarios, the M4000 series remote IO module is equipped with two versions of MODBUS address schemes, namely V1.0 and V2.0.
Page 21
03 Function code Used for reading and holding registers To read the status of three registers starting from address 40201 in a module, the host sends the following command: Module address Function code Register address Read the number of CRC verification registers 0x01 0x03...
Page 22
(0x0F) Function code Used for writing multiple coils (DO) To read the status of the 8 coils starting from address 1 of a module, the host sends the following command: Module address Function code Coil address Number of coils Byte count data CRC verification 0x01 0x0F 0x0000...
Page 23
M4000 Series Remote I/O Module Universal Function Modbus Mapping Table Address 4X Function Explain Attribute Command 40201 1-255 Read/Write 0x03,0x06,0x10 485 Address 40202 Read/Write 0x03,0x06,0x10 Serial port settings 0-3 bits: Baud rate 4-5 bits: Checksum 6-7 bits: Stop bit 40203...
Page 24
Digital Output Modbus Mapping Table M4001 Digital output Modbus register list Address 0X Channel Function Attribute Command 00001 DO 0 Relay control Write/Read 0x01,0x05,0x0F 00002 DO 1 Relay control Write/Read 0x01,0x05,0x0F M4002 Digital output Modbus register list Address 0X Channel Function Attribute Command...
Page 25
Analog Input Modbus Mapping Table Address 3X Channel Function Attribute Command Analog input register Read 30001 AI 0 0x04 30002 AI 1 Analog input register Read 0x04 30003 AI 2 Analog input register Read 0x04 Analog input register Read 30004 AI 3 0x04 Comparison Table of Analog Input Register Voltage/Current Values for M4000 High...
Page 26
M4001 Analog Output Mapping Table Address 4X Channel Function Attribute Command Analog output register Write/Read 40001 AO 0 0x03,0x06,0x10 40002 AO 1 Analog output register Write/Read 0x03,0x06,0x10 Comparison Table of M4001 Analog Output Register Data and Current Values Analog input range Analog input register values (Decimal) 0-20mA 0-4095, 0 corresponds to 0mA, 4095 corresponds to 20mA...
6. After sales service and warranty Smacq Technologies. Co., Ltd. promises that its products are under warranty. If the product malfunctions during normal use, we will provide free repair or replacement of parts for the user. For detailed warranty instructions, please refer to the warranty instructions inside the packaging box.
7. Ordering information Main Equipment Model Description 4-channel analog input (Voltage_5V/Current_20mA) M4001 2-channel analog output (Current_20mA) 2-channel digital input and 2-channel digital output 4-channel analog input (Voltage_5V/Current_20mA) M4002 4-channel digital input and 4-channel digital output Standard Accessories Model Description Bolt terminal connector, 13 positions, 3.81mm TB13-3.81 SDIN DIN-Rail mounting bracket...
8. Document Revision History Date Edition Remarks First release. 2022.06.28 Rev: A Mo d i f y Mo d b u s ma p p i n g ta b l e 2022.09.01 Rev: B 2023.04.06 Rev: C Revise some errors Add jumper instructions.
Need help?
Do you have a question about the M4000 Series and is the answer not in the manual?
Questions and answers