User Manual v3.01 A quick look Ethernet connected module, 10/100Mb auto negotiated. Relays – 4 x 16Amp 250Vac C/O. I/O – 8 x digital I/O's NPN output, Volt free input. 4 x 10-bit analogue input Power – 12VDC 1Amp supply required. 2.1mm center positive.
Each relay has both normally open (NO) and normally closed (NC) as well as the common available on three terminals. In addition to the relays, the dS3484 has 8 digital I/O channels and 4 x 10-bit analogue input channels (0v-3.3v input range).
User Manual v3.01 Getting started Start by plugging in the Ethernet cable to connect the module to your network, and the 12v jack plug from your adapter. Switch on and the first thing you will note is that the blue LED will flash 3 times.
Alternatively, you can find the IP address of the module by checking your DHCP server. If you have a DHCP server on your network (your router is normally the DHCP server) then the dS3484 will get its IP address from that. Log on to your router and navigate to the LAN client list.
Page 8
LAN. DevantechModuleFinder.jar If you do not have a DHCP server the dS3484 will use a default IP address of 192.168.0.123 so make sure your PC is on the same subnet of 255.255.255.0 and its IP address is 192.168.0.xxx...
User Manual v3.01 Configuring the dS3484 There are a set of configuration pages to get the dS3484 operating as you want it. These pages are all _configx.htm, (that's a leading underscore character). _config.htm _config2.htm Anything that starts with _config is considered a special name for configuration pages and can only be seen if you have the the USB cable plugged in and connected to your PC.
User Manual v3.01 Status page You should now see the following page: This status page shows you the system and application firmware revisions as well as the supplied voltage to the board and its internal temperature. If you hover your mouse cursor over the menu buttons on the left, the help panel will give you an overview of each one.
User Manual v3.01 Network page Notice that everything below the Host Name is greyed out and can't be changed. This is because the “Enable DHCP” box is checked and all the greyed out fields are supplied by the DHCP server.
User Manual v3.01 TCP/IP page The TCP/IP tab allows you to select one of three command sets to control the module. These are independent of, and separate to the HTML webpage control. Clicking on one of the four check boxes will select that command set. Only one command set may be selected.
Page 13
When selecting the Modbus commands, an additional set of configuration boxes are available. These allow you to select the UID, normally you will leave this at the default of 1. The dS3484 will respond to commands on this UID. If you send any other UID it will be treated as the address of a Modbus module connected to the RS485 port.
User Manual v3.01 Webpage security Allows you to prevent unauthorised personnel from accessing the application webpage or using it to control the module. Leaving the Security Password blank will disable it and allow everyone to access the application page to control the module.
Page 15
User Manual v3.01 You will see something like this: The password is now loaded on your browser. Do the same for any further browsers you want to enable. When you have done uncheck the “Enable _pw.htm” box to prevent anyone else from loading the password.
User Manual v3.01 Configuring relays The next tab allows you to set the names of the 32 relays that will be displayed on the application page. Use the Relay No. box to select the relay to configure. There are 32 relays available. Relays 1- 4 are the physical relays on the module.
User Manual v3.01 Relay automation There are a set of control boxes that provide for autonomous relay operation. If you just want to control the relays from the webpage or using one of the TCP/IP modes, then leave these boxes blank.
Page 18
User Manual v3.01 Here's a very simple example: Enter R2 into the Relay 1 Pulse/Follow box. This will make relay 1 copy whatever you do to Relay 2. Try it! Now change it to !R1. The exclamation mark is read as “Not R1”. Now relay 1 will always be the opposite of relay 2.
Page 19
User Manual v3.01 Set Reset & Toggle boxes When used, these three controls contain boolean equations. The “Set Relay” box will set the relay when the boolean equation becomes true. The other two boxes reset and toggle the relay when the boolean equation become true.
User Manual v3.01 Naming I/O's The I/O Names tab is used to assign meaningful names to the I/O terminals. As with relay names these may be up to 20 characters long, but do check it looks ok on a mobile device or whatever you are using to control the module.
User Manual v3.01 Email notifications The final configuration tab is the Email tab for sending secure, AES encrypted email notifications from the module. Up to eight (8) email notifications may be set up, selected with the Email No. box.
User Manual v3.01 Peer to Peer This tab allows you to configure events on this module to control relays on another. Up to eight (8) Peer to Peer events may be set up, selected with the P2P No. box.
User Manual v3.01 Schedules The scheduler can schedule regular events. These can be once or twice daily with the two start and stop times and can happen on any selected weekdays. The Schedule No. is one of eight schedules that can be set up, selected with the Schedule No.
Page 24
User Manual v3.01 The timezone allows you to set the time for your location. For example; GMT leave this at 0. CET set this to 1. PST set this to -8 IST set this to 5:30 Daylight saving time may be checked if required. It advances the time by 1 hour between the last Sunday in March and the last Sunday in October.
User Manual v3.01 Counter/Timers Count input pulses or time events. There are a total of eight counter/timers available, selected with the Counter No. box. . Each counter can count at a maximum speed of 20Hz (20 counts per second).
Page 26
User Manual v3.01 Reset Input This input will reset the counter value to zero. If the capture Input has been left blank then it will store the current counter value in the capture register before resetting it to zero. You may use an input such as D3 or you can use the counter value itself.
Page 27
User Manual v3.01 The internal time base, T1 is derived from the crystal on the module. It’s accurate but will drift over time so that the capture event may not happen “on the hour”. Even if you started it on the hour is will drift out by a few seconds a day.
User Manual v3.01 The application page The last tab in the configuration pages takes you directly to the application page so you can quickly see the results of your configuration changes. The I/O indicators show grey when the I/O is inactive.
User Manual v3.01 Application page security The configuration pages (any page name starting with _config) are only served when the USB port is connected. If the USB port is unplugged then no configuration pages are served. Instead, you will be served a page saying “You do not have permission to view this page.”...
User Manual v3.01 Accessing your webpage from the internet Now you have your webpage up and running on your local network, for example 192.168.0.150, and you can access the webpage and control the module. You just go to 192.168.0.150/index.htm, and the page is there.
User Manual v3.01 Boolean equations Boolean equations are used in a number of places in the configuration screens. They are used for relay automation, triggering emails and peer to peer events and the count, capture and reset for the counter/timers.
Page 32
User Manual v3.01 To demonstrate a real world example, take the analog example above where we compared A1 with 1000 to operate R2. Whilst this would work its a not a good solution as the relay would jitter badly when A1 was hovering between 999 and 1000. What we need is some hysteresis.
User Manual v3.01 TCP/IP command sets There are four TCP/IP command sets on four selectable check boxes, of which one or none may be selected on the TCP/IP config tab. These are ASCII, Modbus, Binary and Binary with AES256 encryption.
Page 34
User Manual v3.01 ASCII commands are all two character commands and are not case sensitive. Type ST followed by the return key. This is the STatus command. You will see: Valid commands are: STatus request SR [Relay number] [on/off] {Pulse time in mS}...
Get Counters 0x30 (decimal 48) Get Status (1 byte command, returning 8 bytes) This command returns 8 bytes of status data Module ID This will be 30 (0x1E) for the dS3484 System Firmware Major 2 for example System Firmware Minor...
Page 37
User Manual v3.01 0x32 0x04 0x01 Set Output (3 byte command, returning 1 byte) This command turns an output on or off and returns an ACK/NACK byte. ACK=0, NACK=non- zero (actually the unknown I/O port number). All I/O's which need to be inputs should have the output turned off. When turned on the NPN transistor can sink up to 100mA.
User Manual v3.01 Binary Command Set – continued. 0x35 Get Analogue inputs (1 byte command returning 8 bytes) This returns all 4 analogue inputs. 8 bytes are returned, 2 for each analogue input. Byte 1 byte 2 for example:...
Page 39
User Manual v3.01 packet. For example when you send a Get Status command (0x30) you will get a 16 byte block returned. The first 8 bytes (0-7) will be as defined for the binary commands. Bytes 8-11 are unused.
User Manual v3.01 Modbus commands The modbus command set accepts a subset of the standard Modbus-TCP frames as defined in Modbus protocol Specification MODBUS Messaging on TCP/IP Implementation Guide V1.0b Functions 1, 4, 5 & 15 are supported along with error codes 1, 2 & 3 should they occur.
User Manual v3.01 Function 05 (0x05) Write Single Coil This function is used to write to a single coil (relay or I/O). Coils 1-8 are the relays 1-8. Coils 9-15 are the I/O's 1-7 remapped to coils 9-15.
In this order: 1. Start from this position: a. dScript Editor closed down. b. dS3484 not connected or powered. 2. Power-up the dS3484. 3. Hold down the reset button for a couple of seconds until the red LED comes on. This indicates the module is in boot-loader mode.
Page 43
User Manual v3.01 folder and install the driver from there. 5. Run the dScript editor. Look in Help About and check you have the latest version of → dScript. If you have an earlier version you should uninstall it and install the new version from the installation folder, then start these instructions from the beginning.
Load up the app-dS3484-v3.01 application in the editor, but before you upload it to the dS3484 you need to make a small change. Locate the label "main" (click the word in the right panel is quickest). Just below this is a commented out line "gosub init".
User Manual v3.01 dS3484 hardware The dS3484 provides four (4) volt free contact relay outputs with a current rating of up to 16Amp each, 8 digital I/O's which can be an NPN transistor output or accept a volt free input (from relay or switch contacts, etc).
The “FlashingLeds” example provides a colourful display showing how to use them. Power supply The dS3484 requires a 12v DC supply capable of supplying a minimum of 1A. This is most easily provided by a low cost mains adapter. A suitable universal adapter is available on our website and may be ordered along with the modules.
Our Ethernet modules could potentially have many types of outputs. For example the ETH008 only has one type - Relays. The dS3484 has both Relay outputs and NPN Open Collector Transistor outputs. Activating a relay means turning the relay on. Likewise activating an output means turning the transistor on.
User Manual v3.01 Connection Examples Example input - connecting a switch Connecting a simple switch could not be easier, just wire the switch between a pin (P) and ground (G). When the switch closes the input will become active.
User Manual v3.01 Representative Digital I/O Schematic Analogue inputs Four independent analogue input channels are provided for sampling voltages up to 3.3V. Each channel is also filtered with a 10k resistor and a 100n capacitor to stabilise high frequency jitter, there is also a pull down resistor so the port will read around 0 when nothing is connected.
User Manual v3.01 Serial Port Connections TTL serial ports. The dS3484 has two serial port headers. Pin 1 is marked on the PCB. Tx and Rx operates at 3.3v levels, however the Rx input is 5v tolerant. Most 5v TTL level serial ports will accept a full 3.3v input...
Need help?
Do you have a question about the dS3484 and is the answer not in the manual?
Questions and answers