0% found this document useful (0 votes)
43 views15 pages

DIMS New 1

This document provides instructions for connecting and configuring a DIMS-8/16 digital input module. It describes connecting the digital input channels for different input types like dry contact, voltage level, PNP, and NPN. It also details connecting the power supply and serial communication port. Safety warnings are provided and mechanical dimensions and configuration parameters are listed but not described in detail.

Uploaded by

Darshit Vyas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views15 pages

DIMS New 1

This document provides instructions for connecting and configuring a DIMS-8/16 digital input module. It describes connecting the digital input channels for different input types like dry contact, voltage level, PNP, and NPN. It also details connecting the power supply and serial communication port. Safety warnings are provided and mechanical dimensions and configuration parameters are listed but not described in detail.

Uploaded by

Darshit Vyas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Digital Input Module

DIMS-8 / DIMS-16 Process Precision Instruments


Vasai Road (E), Dist. Palghar - 401210,
8/ 16 Channels Maharashtra, India
DIN-Rail Mount
MODBUS over Serial www.ppiindia.net

User Manual

Configuration Tool

PPI \ User Manual


Digital Input Module

CONTENTS

1. ELECTRICAL CONNECTIONS 1

2. PARAMETERS 4

3. MECHANICAL DIMENSIONS 10

4. CONFIGURING COMMUNICATION PARAMETER 11

PPI \ User Manual


Digital Input Module

Section 1
ELECTRICAL CONNECTIONS

WARNING
MISHANDLING / NEGLIGENCE CAN RESULT
IN PERSONAL DEATH OR SERIOUS INJURY.

1. The user must rigidly observe the Local Electrical Regulations.

2. Do not make any connections to the unused terminals for making a tie-point for other wires (or for any other reasons) as
they may have some internal connections. Failing to observe this may result in permanent damage to the indicator.

3. Run power supply cables separated from the low-level signal cables (like RTD, Thermocouples, DC Linear Current /
Voltage etc.). If the cables are run through conduits, use separate conduits for power supply cable and low-level signal
cables.

4. Use appropriate fuses and switches, wherever necessary, for driving the high voltage loads to protect the module from any
possible damage due to high voltage surges of extended duration or short-circuits on loads.

5. Take care not to over-tighten the terminal screws while making connections.

6. Make sure that the module supply is switched-off while making/removing any connections.

CONNECTION DIAGRAM

The Figure 1.1 illustrates Electrical Connection Diagrams. For 8 Channel Version, the connectors from 24 to 41are not fitted.

Figure 1.1 : 8 / 16 Channel Module

38 39 40 41 34 35 36 37 30 31 32 33 26 27 28 29 24 25 22 23
D W D W D W D W D W D W D W D W
Com
+12V

DI-15 DI-16 DI-13 DI-14 DI-11 DI-12 DI-10 DI-9


RS485

24 VDC Supply
+12V
Com

DI-1 DI-2 DI-3 DI-4 DI-5 DI-6 DI-7 DI-8


W D W D W D W D W D W D W D W D
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

PPI \ User Manual 1


Digital Input Module

DIGITAL INPUT CHANNELS

Each of the 8 or 16 input channels are identical from wiring connection viewpoint. The descriptions below apply to all the
channels with no deviations. Refer Figures 1.2 (a) to 1.2 (f) below for different Input Types.

Figure 1.2 (a) Figure 1.2 (b)


Dry Contact Voltage Level

D W

5 to 30
VDC
+
Com - Com

Module Module

Figure 1.2 (c) Figure 1.2 (d)


PNP Input PNP Input
(12V Internal Sensor Excitation) (5 to 30VDC External Sensor Excitation)
External Supply
+12V
- +
+V
+V
W
O/P W
O/P

Com
Com
GND
GND
Sensor Module Sensor Module

Figure 1.2 (e) Figure 1.2 (f)


NPN Input NPN Input
(12V Internal Sensor Excitation) (5 to 30VDC External Sensor Excitation)
External Supply
+12V
- +
+V
+V
D
O/P D
O/P

Com
Com
GND
GND
Sensor Module Sensor Module

PPI \ User Manual 2


Digital Input Module

POWER SUPPLY (Terminals 19, 20 & 21)

Figure 1.3

Functional Ground 19

+ + 20
DC Power Flyback
Source Design
- - 21
2 Pole
Isolating Switch

As standard, the Module is supplied with power connections suited for 18 to 32 VDC power source. The accuracy /
performance of the Module is not affected by the variations in the supply within specified limits of 18 to 32 VDC. Use well-
insulated copper conductor wire of the size not smaller than 0.5mm² for power supply connections ensuring proper polarity as
shown in Figure 1.3. The Module is not provided with power switch. If necessary, mount separately.

For safety and enhanced electrical noise immunity, it is highly recommended to connect Main Power Supply ‘Earth’
to terminal 19.

SERIAL COMMUNICATION PORT

The wiring connections for interfacing the Host (PC/HMI) with DIMS is shown in the figure 1.4.

For reliable noise free communication, use a pair of twisted wires inside screened cable. The wire should have less than 100
ohms / km nominal DC resistance (Typically 24 AWG or thicker). Connect the terminating resistor (Typically 100 to 150 ohm) at
one end to improve noise immunity.
Figure 1.4
DIMS-8/16
Terminating Resistor
Module
(100 to 150 Ohms) Host (PC/HMI)
RS485 Port Twisted
Wire Pair
22 (B+)
RS485
Port

23 (B-)
Serial Comm. Terminals

Screened Cable

Note

In case of non-availability of RS485 port on Host PC, use appropriate Serial Protocol Converter to match the available serial
port on the host like “USB to RS485” and “RS232 to RS485” (Refer few images below). Please ensure that the appropriate
Device Driver for the selected converter is installed on the Host PC.

RS232 to RS485 USB to RS485

PPI \ User Manual 3


Digital Input Module

Section 2
PARAMETERS

The communication parameter settings and the data packet format have been discussed in Section 4 : Configuring
Communication Parameters.

For user convenience, most parameters are accessible both as Bit-Mapped Modbus Registers & Discrete Input Coils.

1. Instantaneous Digital Input Status (Read-Only Parameters)


These parameters reflect the current DI Status at the time of reading the Bit-Mapped Modbus Register / Coils.

Table 2.1
Run Time Parameter (Read Only)

Modbus Data Type MODBUS


Values
Address

Bit-Mapped Input or Holding Register 1 Bit Bit Bit Bit


15 7 1 0
Function Code (0x03 or 0x04) DI-1 Status
DI-2 Status

DI-8 Status

DI-16 Status

For 8 Channel Version (DIMS-8), ignore Bit-8 to Bit-15

Bit Value DI Status


0 Contact Open / Logic Low
1 Contact Close / Logic High

Discrete Input (Coils) 1 to 8 Coil Value DI Status


(8 Channel)
0 Contact Open / Logic Low
Function Code (0x01 & 0x02) 1 to 16 1 Contact Close / Logic High
(16 Channel)

PPI \ User Manual 4


Digital Input Module

2 (a). Low-to-High Latched Digital Input Status (Read-Only Parameters)


This parameter value is set to 1 upon detecting the change in status from ‘Open-to-Close’ for a Dry / Wet Contact Closure input
or from ‘Low-to-High’ logic level for PNP / NPN Sensor Input. This value is latched until acknowledged by writing to ‘Low-to-
High Acknowledge Command’ Register / Coil.

Table 2.2

Run Time Parameter (Read Only)

Modbus Data Type MODBUS


Values
Address

Bit-Mapped Input or Holding Register 2 Bit Bit Bit Bit


15 7 1 0
Function Code (0x03 or 0x04) DI-1 Low-to-High
Latched Status
DI-2 Low-to-High
Latched Status

DI-8 Low-to-High
Latched Status

DI-16 Low-to-High
Latched Status

For 8 Channel Version (DIMS-8), ignore Bit-8 to Bit-15

Bit Value DI Status


0 No ‘Low-to-High’ Transition
1 ‘Low-to-High’ Transition Detected

Discrete Input (Coils) 17 to 24 Coil Value DI Status


(8 Channel)
0 No ‘Low-to-High’ Transition
Function Code (0x01 & 0x02) 17 to 32 1 ‘Low-to-High’ Transition Detected
(16 Channel)

PPI \ User Manual 5


Digital Input Module

2 (b). Low-to-High Acknowledge Command


This parameter is used to acknowledge the ‘Low-to-High’ latched status by writing the value ‘1’. Reading this parameter
always returns the value ‘0’.

Table 2.3

Run Time Parameter (Not Stored in non-volatile memory)

Modbus Data Type MODBUS


Values
Address

Bit-Mapped Holding Register 102 Bit Bit Bit Bit


15 7 1 0
Function Code (0x06 & 0x10) DI-1 Low-to-High
Acknowledge
DI-2 Low-to-High
Acknowledge

DI-8 Low-to-High
Acknowledge

DI-16 Low-to-High
Acknowledge

For 8 Channel Version (DIMS-8), ignore Bit-8 to Bit-15

Bit Value Result


0 No Effect
1 ‘Low-to-High’ Status Cleared

Coils 117 to 124 Coil Value Result


(8 Channel)
0 No Effect
Function Code (0x05 & 0x0F) 117 to 132 1 ‘Low-to-High’ Status Cleared
(16 Channel)

PPI \ User Manual 6


Digital Input Module

3 (a). High-to-Low Latched Digital Input Status (Read-Only Parameters)


This parameter value is set to 1 upon detecting the change in status from ‘Close-to-Open’ for a Dry / Wet Contact Closure input
or from ‘High-to-Low’ logic level for PNP / NPN Sensor Input. This value is latched until acknowledged by writing to ‘High-to-
Low Acknowledge Command’ Register / Coil.

Table 2.4

Run Time Parameter (Read Only)

Modbus Data Type MODBUS


Values
Address

Bit-Mapped Input or Holding Register 3 Bit Bit Bit Bit


15 7 1 0
Function Code (0x03 or 0x04) DI-1 High-to-Low
Latched Status
DI-2 High-to-Low
Latched Status

DI-8 High-to-Low
Latched Status

DI-16 High-to-Low
Latched Status

For 8 Channel Version (DIMS-8), ignore Bit-8 to Bit-15

Bit Value DI Status


0 No ‘High-to-Low’ Transition
1 ‘High-to-Low’ Transition Detected

Discrete Input (Coils) 33 to 40 Coil Value DI Status


(8 Channel)
0 No ‘High-to-Low’ Transition
Function Code (0x01 & 0x02) 33 to 48 1 ‘High-to-Low’ Transition Detected
(16 Channel)

PPI \ User Manual 7


Digital Input Module

3 (b). High-to-Low Acknowledge Command


This parameter is used to acknowledge the ‘High-to-Low’ latched status by writing the value ‘1’. Reading this parameter
always returns the value ‘0’.

Table 2.5

Run Time Parameter (Not Stored in non-volatile memory)

Modbus Data Type MODBUS


Values
Address

Bit-Mapped Holding Register 103 Bit Bit Bit Bit


15 7 1 0
Function Code (0x06 & 0x10) DI-1 High-to-Low
Acknowledge
DI-2 High-to-Low
Acknowledge

DI-8 High-to-Low
Acknowledge

DI-16 High-to-Low
Acknowledge

For 8 Channel Version (DIMS-8), ignore Bit-8 to Bit-15

Bit Value Result


0 No Effect
1 ‘High-to-Low’ Status Cleared

Discrete Input (Coils) 133 to 140 Coil Value Result


(8 Channel)
0 No Effect
Function Code (0x05 & 0x0F) 133 to 148 1 ‘High-to-Low’ Status Cleared
(16 Channel)

PPI \ User Manual 8


Digital Input Module

4. Digital Filter
This parameter helps remove any unwarranted signal noise on PNP / NPN Sensor Inputs or mechanical de-bounce on Dry /
Wet Contact Closure Inputs. As illustrated in Figure 2.1 (a) & 2.1 (b) any state change (transition) is accepted only if the
changed state is held constant for the time period (in milli-Second) set for the Digital Filter parameter.

Figure 2.1 (a) : Low-to-High / Open-to-Close State Change

High (Close)
State
State Change
Change
Accepted
Ignored
Low (Open)

Filter Time (mS) Filter Time (mS)

Figure 2.1 (b) : High-to-Low / Close-to-Open State Change

High (Close)
State
State Change
Change
Accepted
Ignored
Low (Open)

Filter Time (mS) Filter Time (mS)

Table 2.6
Configuration Parameter (Stored in Non-Volatile memory)

Modbus Data Type MODBUS


Values
Address

Holding Registers 11 to 18 1 to 30000 mSec


(8 Channel)
(Default : 10 mSec)
Function Code (0x06 & 0x10) 11 to 26
(16 Channel)

PPI \ User Manual 9


Digital Input Module

Section 3
MECHANICAL DIMENSIONS

W
D
22.5 mm 119 mm

H
101 mm

Front View Side View

Width (W) 22.5 mm


Height (H) 101.0 mm
Depth (D) 119.0 mm

PPI \ User Manual 10


Digital Input Module
Section 4
CONFIGURING COMMUNICATION PARAMETERS
The Module supports industry standard MODBUS RTU over Serial Protocol for configuration & Operation.

The Serial Communication Port specification are shown in Table 4.1 below.
Table 4.1

Port RS485, 2-wire, Half duplex, Start-stop synchronized


Protocol Modbus RTU
Parameter Settings
Slave ID 1 to 127
Baud Rate 2400, 4800, 9600, 19200, 38400 bps
Communication Parameters
None (1 or 2 Stop Bits)
Parity Even (1 Stop Bit)
odd (1 Stop Bit)
Max. No. of Units per Loop 31
Maximum Distance 1200 Meters

The Module is shipped from the factory with the following default values for the Communication Parameters.

Slave ID : 1 Baud Rate : 9600 bps Parity : Even

The above parameters can be altered to match with the Host (Master) parameters by putting the Module in Configuration
Mode. In Configuration Mode, the Module always communicates with the host with the fixed communication parameter
values (Slave ID : 1, Baud Rate : 9600 & Parity : None) regardless of the actual set values. The user set values are applicable
only when the Module is put back in the Normal Operation Mode.

A Slide Switch Set is provided on the Module, as shown in the Figure 4.1, to select between the Configuration and Normal
Operation modes. The Table 4.2 shows the Switch Positions and the respective mode.

It is important to note that the switch position is detected only upon power-up. Select the desired Mode while the
Module is OFF. That is changing the switch position while the Module is powered does not have any effect on the
Mode.

Figure 4.1

POWER

CPU ST
S

RX
COMM

TX

ALARM
1
9
2
10
3
11
4
12
5
13
6
14
7
15
8
16
CO
NFIG
Slide Switch Set ON

for Configuration Mode


1
2

Mode Indicator LED


ON : Configuration Mode
OFF : Normal Operation Mode

PPI \ User Manual 11


Digital Input Module

Table 4.2
ON ON

Switch Position Down Up


1 2 1 2

Mode Indicator OFF ON

Operation Mode Normal Configuration

User Set values for Module Slave ID : 1


Communication Module Slave ID, Baud Rate : 9600
Parameter Values Baud Rate & Parity Parity : None

The Communication Parameters values can be altered by using the MODBUS RTU protocol while the Module is in
Configuration Mode. Set the host (Master) Baud Rate to “9600 bps” and Parity to “None”. The MODBUS Addresses and
Settings for the Module communication parameters are listed in the Table 4.3 below.

Table 4.3

MODBUS Settings
Parameter Description
Address (Default Value)

Module Slave ID 1

Unique numeric value assigned to the module for 1 to 127


identification by the host. (Default : 1)

Set the value as required by the host.

Baud Rate 2 Value Baud Rate


0 2400 bps
Communication speed in ‘Bits per Second’.
1 4800 bps
Set the value to match with the host baud rate. 2 9600 bps
3 19200 bps
4 38400 bps

(Default : 9600 bps)

Parity 3 Value Parity


0 None
One of the communication error trapping
features. 1 Even
2 Odd
Set the data packet parity as implemented by the
host protocol. (Default : Even)

PPI \ User Manual 12


Digital Input Module

ProcessPrecisionInstruments(AnISO9001:2008Company)
101,DiamondIndustrialEstate,Navghar,VasaiRoad(E),Dist.Palghar-401210,Maharashtra,India
Sales:8208199048/8208141446Support:07498799226/08767395333
[email protected] www.ppiindia.net

Jun 2023

PPI \ User Manual 13

You might also like