background image

User manual - MODULE SIN-8 

6.1. 

 

 LIST OF REGISTERS

 

 

Register

Write

Range

Register description

01h - 08h

No

0 or 1

States of particular binary inputs (addresses of registers 
correspond to particular inputs), 
read values: 

1

 – HIGH state (24V) , 

0

 – LOW state (0V)

09h

No

0 ÷ 00FFh

State of all inputs read as  single register, particular bits are 
related to particular inputs;
Bit 

0

 corresponds with input  1, bit 

1

 -  to input 2  etc.

20h

1

Yes

1 ÷ FFh

Device address. New devices has default address  = FEh

21h

No

008Bh

Device identification code (ID)

22h

2

Yes

0 ÷ 7

Baud rate [bit/sec]: 

0

 - 1200; 

1

 - 2400; 

2

 - 4800; 

3

 - 9600;

4

 - 19200; 

5

 - 38400; 

6

 - 57600; 

7

 - 115200

23h

Yes

0 ÷ 255

Denouncing Filter state: 

0

 - disabled; 

1

 - filter setting 

F

Input frequency equals: 1 / (

F

 x 100 us)

FFF3h

No

0000 ÷ FFFFh

Firmware version (hexadecimal):

e.g.: value 

0123h

 means version 

1.23

1

- after writing to register no 20h the device responds with an “old” address in the message.

2

- after writing to register no 22h the device responds with the new baud rate.

If   register   20h   is   being   written   it   is   possible   to   use   BROADCAST   frame   (with 

address   00).   This   operation   causes   changing   of   addresses   of   all   modules 

connected to the RS-485 network. Modules receive and interprets    BROADCAST 

frames, but do not transmit answers.

6.2. 

 

 TRANSMISSION ERRORS DESCRIPTION

 

 

If an error occurs while write or read of single register, then the device sends an error 

code according to Modbus RTU specifications.

Error codes:

01h

- illegal function (only functions 03h and 06h are available),

02h

- illegal register address

03h

- illegal data value

6.3. 

 

 EXAMPLES OF QUERY/ANSWER FRAMES

 

 

Examples apply for device with address 1. All values are represent hexadecimal.

Field description:
ADDR

Device address on modbus network

FUNC

Function code

REG H,L

Starting address (address of first register to read/write, Hi and Lo byte)

COUNT H,L

No. of registers to read/write (Hi and Lo byte)

BYTE C

Data byte count in answer frame

DATA H,L

Data byte (Hi and Lo byte)

CRC L,H

CRC

 

error check (Hi and Lo byte)

9

i

Summary of Contents for SIN-8

Page 1: ...ULE SIN 8 Firmware v 2 0 or higher Input type voltage Dedicated for DAQ systems Read the user s manual carefully before starting to use the unit or software Producer reserves the right to implement changes without prior notice 2013 02 08 SIN 8_INSSXEN_v 1 08 000 ...

Page 2: ...mbol carefully 1 BASIC REQUIREMENTS AND USER SAFETY The manufacturer is not responsible for any damages caused by inappropriate installation not maintaining the proper environmental conditions and using the unit contrary to its assignment Installation should be conducted by qualified personnel During installation all available safety requirements should be considered The fitter is responsible for ...

Page 3: ...quired T type max 1 A Current consumption 20mA typically Number of independent inputs 8 Input levels low state high state 0V 24V Galvanic isolation All inputs are galvanically isolated from module supply and RS 485 interface Communication interface RS 485 8N1 Modbus RTU Baud rate 1200 115200 bit s Number of modules in 1 network maximum 128 Data memory non volatile memory EEPROM type Protection lev...

Page 4: ... with a disconnected power supply 4 1 UNPACKING After removing the unit from the protective packaging check for transportation damage Any transportation damage must be immediately reported to the carrier Also write down the unit serial number on the housing and report the damage to the manufacturer Attached with the unit please find user s manual warranty 4 2 CONNECTION METHOD Caution Installation...

Page 5: ...se of screened signal cables is recommended Signal cable screens should be connected to the earthing only at one of the ends of the screened cable In the case of magnetically induced interference the use of twisted couples of signal cables so called spirals is recommended The spiral best if shielded must be used with RS 485 serial transmission connections In the case of interference from the power...

Page 6: ...t operation In cases where the unit gets dirty do not clean with solvents For cleaning use warm water with small amount of detergent or in the case of more significant contamination ethyl or isopropyl alcohol Using any other agents can cause permanent damage to the housing Product marked with this symbol should not be placed in municipal waste Please check local regulations for disposal and electr...

Page 7: ...OL HANDLING a b Figure 5 1 The traces of signals a without contacts oscillations b with contacts oscillations Actualisation of registers state occurs only if input signal have fulfil some time restrictions see Figure 5 1 These restrictions depend on settings of internal digital filter implemented in firmware Filter allows to eliminate signal oscillations corresponding to contacts bouncing of mecha...

Page 8: ...new device and readdress it to address other than 0xFF and 0xFE After remote readdressing green LED indicator starts to flashes again Simultaneously with change of device address baud rate is changed to 9600 bit s Required transmission speed 1200 bit s to 115200 bit s can be set by write to register 22h After change of transmission speed the device sends the answer with new baud rate While install...

Page 9: ...message 2 after writing to register no 22h the device responds with the new baud rate If register 20h is being written it is possible to use BROADCAST frame with address 00 This operation causes changing of addresses of all modules connected to the RS 485 network Modules receive and interprets BROADCAST frames but do not transmit answers 6 2 TRANSMISSION ERRORS DESCRIPTION If an error occurs while...

Page 10: ...1 06 00 20 00 02 09 C1 DATA H 0 DATA L new device address 2 The answer the same as the message ADDR FUNC REG H L DATA H L CRC L H 01 06 00 20 00 02 09 C1 3 Reading of input 5 current state ADDR FUNC REG H L COUNT H L CRC L H 01 03 00 05 00 01 94 0B Answer ADDR FUNC BYTE C DATA H L CRC L H 01 03 02 00 01 79 84 DATA H L input state 1 it means that high state is delivered to input 5 There is no full ...

Page 11: ...User manual MODULE SIN 8 11 ...

Page 12: ...SIMEX Sp z o o ul Wielopole 7 80 556 Gdańsk Poland tel 48 58 762 07 77 fax 48 58 762 07 70 http www simex pl e mail info simex pl ...

Reviews: