S5134
Ethernet IO Modules
8 Channels Universal AI, 8 Channels AO
8 Channels DO, 3Channels DI
SHJ
Sales: Michael@shjelectronic.com
Support: support@shjelectronic.com
S5134 User’s Manual Rev 1.1
S5134 is a high quality and low cost analog data acquisition module with 8 universal analog
inputs. Each input can be 0-5V,0-10V,0-20mA,thermistor,dry contact, open-collector input,8
channels 0-10V analog output,3 isolated digital input and 8 channels isolated open-collector
digital output. The digital input can be dry contact, wet contact and open-collector, each input
also can be 32-bit counter.S5134 has RS485 and rj45 two type interface,rs485 support standard
Modbus RTU protocol and RJ45 support Modbus Tcpip protocol.It can easy integrate with PLC
and labview with standard Modbus/Modbus Tcpip protocol
Highlights:
z Surge-protected analog inputs with 12-bit resolution and 100k sample speed
z Input can be any combination of 0-5V,4-20mA,0-10V,NTC 10K thermistor,
open-collector and dry contact
z The channel number is configurable, can be set up from 1 channel through 8 channels,
for analog input and set up from 1 to 6 for digital input, improve sample rate for small
count input
z 8 channels 0-10V analog output with high accurate reference chip
z Isolated digital inputs can be configured as counter input, total 32 bits,1000Hz
z Total 8 channels isolated open-collector digital output
z Standard ModBus TCPIP protocol,easy work with PLC
z Standard ModBus protocol allows for up to 254 unique devices on one RS485 network
z A lot of spare FLASH can be used to store user’s parameters
z Can update your firmware via ISP through RS485 network, can provide any hex file to
help you finish some logic control
z DIN support available
Application:
9 Remote data acquisition
9 Process monitoring
9 Industrial process control
9 Energy management
9 Supervisory control
9 Security systems
9 Laboratory automation
9 Building automation
9 Product testing
9 Direct digital control
www.SHJelectronic.com 2 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
Technical data:
Analog Input Resolution--------------------------------------------------------------------------------12-bit
Analog Input Channel Number------------------------------------------------------------------------------8
Analog Input range----------------------0-5V,0-10v,0-20mA, thermistor, dry contact,open-collector
Analog Input Protection---------------------------------------------------------------------Lightning,static
Analog Input Accuracy---------------------------------------------------------------------------------±0.1%
Analog Input Zero drift-----------------------------------------------------------------------------±3uV/℃
Analog Input Sample Rate-----------60 sample/second(8 channels),900 sample/second(1 channel)
Analog Output Resolution-----------------------------------------------------------------------------12-bit
Analog Output Channel Number--------------------------------------------------------------------------8
Analog Output Range----------------------------------------------------------------------------------0-10V
Analog Output Accuracy--------------------------------------------------------------------±0.2% of FSR
Analog Output Zero Drift------------------------------------------------------------------------±30uV/℃
Digital Input Channel Number----------------------------------------------------------------------------- 3
Digital Input Range-------------------------------------------------------------------------------+4V~+36V
Digital Input Signal----------------------------------------------wet contact, dry contact, open-collector
Digital Input Counter Frequency-------------------------------100Hz@3channels;1000Hz@1channel
Digital Input Counter Length---------------------------------------------------------------------------32-bit
Output channel number------------------------------------------------------------------------8
Output signal---------------------------------------------------------------------open-collector
Output current----------------------------------------------------------------maximum 40mA
Output BUS----------------------------------------------------------------------------------Ethernet/RS485
RS232/RS485 protocol--------------------------------------------------------------MODBUS/RTU
Ethernet protocol------------------------------------------------------------------MODBUS/TCPIP
Output Protection-----------------------------------------------------------------------------Lightning,static
Power input----------------------------------------------------------------------------------15~24V(AC/DC
Power consumption------------------------------------------------------------------------------------<0.6W
Ambient temperature:
Operation-------------------------------------------------------------------------- -20~85℃(-4~185℉)
Storage---------------------------------------------------------------------------------------- -40~125℃(-40~257℉)
Ambient humidity-----------------------------------------------------------------------------------------------10%~90%RH
Material,enclosure-----------------------------------------------------------------------Flame proof plastic
Enclosure rating--------------------------------------------------------------------------------------------IP31
Colour----------------------------------------------------------------------------------------------White/Black
Size---------------------------------------------------------------------------------------------115*90*43 mm
Wiring diagram and description:
www.SHJelectronic.com 3 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
Top view figure
Communication wiring diagram
www.SHJelectronic.com 4 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
Analog inputs wiring diagram
Analog outputs wiring diagram
Dry contact wiring diagram
www.SHJelectronic.com 5 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
WET contact wiring diagram
Isoalted digital output wiring diagram
Inputs
Each analog input can be jumper-configured in 1 of 4 ways:
0-5V signal
0-10V
0-20mA
Dry contact, thermistor, open-collector. thermistor default is 10K NTC, but can custom according
www.SHJelectronic.com 6 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
to your sensor type
All digital inputs can be jumper-configured in 1 of 2 ways:
Wet contact input
Dry contact, open-collector input
PINs and LEDs
Power supply
24VAC: power supply positive input, has reverse protection, accept AC and DC input
- : Power supply negative input
RS485 Port
B: Connect to B of RS485
A: Connect to A of RS485
R: Connect to GND for RS485
Ethernet port
Connect to local Ethernet network through RJ45 cable
Inputs
Analog:
A1 ~ A8: Analog input 1 through 8
AGND: common for analog input 1 through 8,also use for analog output
Digital:
DVCC: Power source input for digital input 1 through 3,wet contact input available
D1 ~ D3: Digital input channel 1 through 3
DGND: common for digital input 1 through 3, available in dry input mode
Outputs
Analog:
AO1 ~ AO8: Analog output 1 through 8
AGND: common for analog output 1 through 8,also use for analog input
Digital:
O1~O8: Digital output channel 1 through 8
OGND: common GND for digital output 1 through 8
Leds
BEAT: Will flash when system is working
Comm: Will flash when RS485 serial port communication
Modbus register list:
Note: * means default value
Value range Proper
Address Bytes Description
Min Max ty
0-3 4 1 4294967295 Serial number,unique for each product R
4-5 2 100 65535 Firmware version number R
www.SHJelectronic.com 7 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
6 1 1 254 Device address,default is 254* R/W
7 2 5134 5134 Product model R
8 1 1 255 Hardware version R
Baudrate setting
Value Buadrate
12 1200
24 2400
48 4800
9 2 12 1152 96 9600 R/W
192* 19200*
384 38400
576 57600
1152 115200
For example:write 96 to register 9 to set the baudrate 9600.
10-99 - - - Reserved -
Analog reading for channel input 1 through 8,the units
100-107 2 0 4095 R
decided by register 119 through 126
Status for digital input channel 1 through 3, 0 = contact
108 1 0 255 active,1 = contact inactive.Bit0 correspond to channel R
1,bit1 correspond to channel 2 etc.
Open-collector output,0 = active,1 = inactive.Bit0
109 1 0 255 R/W
correspond to output 1,bit1 correspond to channel 2 etc.
Analog output1 voltage setting,6000 set output voltage
110 2 0 10000 R/W
6.00V
Analog output2~8 voltage setting,6000 set output voltage
111~117 2 0 10000 R/W
6.00V
Enable/disable the corresponding channel,0 = disable,1* =
enable.Bit0 correspond to channel 1 and Bit7 correspond to
118 1 0 255 R/W
channel 8.For example,enable channel 1,2 and disable
channel 3 through 8,write 0x03 to register 118.
Channel 1 through 8 units setting.0* = raw AD sample
reading,1 = 0~5V(real value = the current reading / 100,for
example, the current reading is 288,the real voltage is
288/100 = 2.88V),2 = 0~10V(real value = current reading /
119-126 1 0 8 100),3 = 4~20mA(real value = the current reading / R/W
100),4 = 0~100%,5 = ON/OFF,6 = OFF/ON,7 = 10K
thermistor, elsius(real value = current reading / 10),8 =
10K thermistor,Fahrenheit(real value = current reading
/ 10).
www.SHJelectronic.com 8 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
Channel 1 through 8 Filter factor,0 = no filter,10* is
127-134 1 0 100 R/W
default.
135,137, In calibration mode, channel 1 through 8 sample data as
2 0 4095 R/W
139 … input 0 volts
136,138 In calibration mode, channel 1 through 8 sample data as
2 0 4095 R/W
140… input is full scale
The minimum reading from multimeter when calibrate
151 2 0 30000 R/W
analog output channel 1
The maximum reading from multimeter when calibrate
152 2 0 30000 analog output channel 1,multimeter is show 10.05V,then R/W
write 10050 to this register.
153,155 The minimum reading from multimeter when calibrate
2 0 30000 R/W
… analog output channel 2~8
154,156 The maximum reading from multimeter when calibrate
2 0 30000 R/W
… analog output channel 2~8
Analog input 1 through 8 in temperature units, use
167~174 2 0 1000 R/W
calibrate temperature by adjust the offset
175 2 0 65535 High word for digital input1 counter R/W
Low word for digital input1 counter, value of counter =
176 2 0 65535 R/W
(175)*65536 + (176)
177 2 0 65535 High word for digital input2 counter R/W
Low word for digital input2 counter, value of counter =
178 2 0 65535 R/W
(177)*65536 + (178)
179 2 0 65535 High word for digital input3 counter R/W
Low word for digital input3 counter, value of counter =
180 2 0 65535 R/W
(179)*65536 + (180)
181~186 Reserved -
Filter time for counter input, the units is 10us and the
187 2 1 30000 R/W
default is 200us
Disable/enable input,0 = disable and 1 = enable.Bit0
188 1 0 255 R/W
correspond to input1, Bit1 correspond to input 2 and so on.
Input status selection.0 = ON/OFF,1 = OFF/ON, default is
189 1 0 1 R/W
ON/OFF
Digital input counter will increase at rising edge or falling
190 1 0 1 R/W
edge.0 = rising edge,1 = falling edge, default is rising edge
Respond delay for serial communication, the units is ms
191 1 1 100 R/W
and default is 10ms
192-199 - - - reserved -
www.SHJelectronic.com 9 support@shjelectronic.com
S5134 User’s Manual Rev 1.1
200-203 1 0 255 Device local IP address, default is 192.168.0.18 R/W
204-207 1 0 255 Gate way address, default I is 192.168.0.X R/W
208-211 1 0 255 Subnet address, default is 255.25.255.0 R/W
212-217 1 0 255 MAC address R/W
Port number, default is 502, Write this register also save
218 2 0 65535 R/W
value of register 200 to 218.
Default Settings:
Device ID: 254, 255 is broadcast address
Data Format: 1 start bit, 8 data bit, 1 stop bit, none parity
Baudrate: 19200
There are a INIT jumper inside the board,short INIT then power on S5134,parameters will go to
default settings.
www.SHJelectronic.com 10 support@shjelectronic.com