Data Sheet
dS1242
dS1242 User Manual v4.03
Table of Contents
Documentation history.......................................................................................................................... 3
A quick look........................................................................................................................................ 4
Introduction........................................................................................................................................ 5
Getting started.................................................................................................................................... 6
Locating the IP Address...........................................................................................................7
Configuring the dS1242........................................................................................................................ 9
Status page.........................................................................................................................10
Network page.......................................................................................................................11
TCP/IP page.........................................................................................................................12
Webpage security.................................................................................................................13
Configuring relays.................................................................................................................15
Relay automation..................................................................................................................16
Relay No. box...................................................................................................................16
Pulse/Follow box...............................................................................................................16
Set Reset & Toggle boxes...................................................................................................18
Power-up restore..............................................................................................................18
Naming I/O's........................................................................................................................19
Connecting I/O to Virtual Relays.........................................................................................19
Email notifications.................................................................................................................20
Peer to Peer.........................................................................................................................21
Schedules............................................................................................................................22
Counter/Timers....................................................................................................................24
The application page...........................................................................................................................27
Application page security.......................................................................................................28
Accessing your webpage from the internet................................................................................29
Boolean equations.............................................................................................................................. 30
TCP/IP command sets......................................................................................................................... 32
ASCII command set..............................................................................................................32
Binary command set..............................................................................................................34
AES binary command set.......................................................................................................36
Modbus commands...............................................................................................................38
Function 01 (0x01) Read Coils............................................................................................38
Function 04 (0x04) Read Input Registers..............................................................................38
Function 05 (0x05) Write Single Coil....................................................................................39
Function 15 (0x0F) Write Multiple Coils................................................................................39
Error code 1.....................................................................................................................39
Error code 2.....................................................................................................................39
Error code 3.....................................................................................................................39
Loading the application firmware.......................................................................................................... 40
Erasing old configuration settings............................................................................................42
dS1242 Hardware............................................................................................................................... 43
LED indication......................................................................................................................44
Power supply........................................................................................................................44
Operating temperature..........................................................................................................44
Power relays........................................................................................................................45
Digital IO.............................................................................................................................46
Connection Examples............................................................................................................47
Analogue inputs...............................................................................................................48
Serial Port Connections......................................................................................................49
dS1242 dimensions...............................................................................................................50
Notes................................................................................................................................................ 51
Copyright © 2016-2018, Devantech Ltd.
All rights reserved.
www.robot-electronics.co.uk
2