dS1242
dS1242 User Manual v4.10
Table of Contents
Documentation history..........................................................................................................................4
A quick look........................................................................................................................................ 5
Introduction........................................................................................................................................ 6
Getting started.................................................................................................................................... 7
Locating the IP Address...........................................................................................................8
Configuring the dS1242.......................................................................................................................10
Status page......................................................................................................................... 11
Network page.......................................................................................................................12
Webpage security.............................................................................................................13
TCP/IP page.........................................................................................................................15
Configuring relays.................................................................................................................16
Relay automation..................................................................................................................17
Relay No. box...................................................................................................................17
Pulse/Follow box...............................................................................................................17
Set Reset & Toggle boxes...................................................................................................19
Power-up restore..............................................................................................................19
Naming I/O's........................................................................................................................ 20
Connecting I/O to Virtual Relays.........................................................................................20
Pinging remote machines.......................................................................................................21
Repeat Time....................................................................................................................21
Attempts.........................................................................................................................21
Delay..............................................................................................................................22
Ping Time........................................................................................................................22
Rebooting the target machine.............................................................................................22
Email notifications.................................................................................................................23
Peer to Peer.........................................................................................................................24
Sequencer...........................................................................................................................25
Sequencer commands.......................................................................................................26
K Outputs........................................................................................................................27
Sequencer Examples.........................................................................................................27
Schedules............................................................................................................................32
Counter/Timers....................................................................................................................34
The application page...........................................................................................................................37
Application page security.......................................................................................................38
Accessing your webpage from the internet................................................................................39
Boolean equations.............................................................................................................................. 40
TCP/IP command sets......................................................................................................................... 42
ASCII command set..............................................................................................................42
Binary command set..............................................................................................................44
AES binary command set.......................................................................................................47
Modbus commands...............................................................................................................49
Function 01 (0x01) Read Coils............................................................................................49
Function 04 (0x04) Read Input Registers..............................................................................49
Function 05 (0x05) Write Single Coil....................................................................................50
Function 15 (0x0F) Write Multiple Coils................................................................................50
Error code 1.....................................................................................................................50
Error code 2.....................................................................................................................50
Error code 3.....................................................................................................................50
Loading the application firmware..........................................................................................................51
Erasing old configuration settings............................................................................................53
dS1242 Hardware...............................................................................................................................54
Copyright © 2016-2021, Devantech Ltd.
All rights reserved.
www.robot-electronics.co.uk
2