background image

5 Construction and operation

27

akytec GmbH - Vahrenwalder Str. 269 A - 30179 Hannover - Germany Tel.: +49 (0) 511 16 59 672–0 - www.akytec.de

Parameter

Value (unit)

Register address

Access

Data format

DEC

HEX

Last time switching
on and off of input
B3

since 2000,
dd.mm.yyyy
hh:mm:ss

5078

0x13D6

Read only

UINT 32

Last time switching
on and off of input
C3

since 2000,
dd.mm.yyyy
hh:mm:ss

5080

0x13D8

Read only

UINT 32

Time (ms)

61563

0xF07B

Read only

UINT 32

New time

since 2000
(seconds)

61565

0хF07D

Read and write

UINT 32

Save new time

0 – do not save;
1 – write

61567

0хF07F

Read and write

UINT 16

Time and date
(UTC)

since 2000
(seconds)

61568

0хF080

Read only

UINT 32

Time zone

offset in minutes
from Greenwich

61570

0хF082

Read and write

INT 16

Device status

61620

0xF0B4

Read only

UINT 32

MAC-address

61696

0xF100

Read only

UINT 48

DNS server 1

12

0xС

Read and write

UINT 32

DNS server 2

14

0xЕ

Read and write

UINT 32

Assign IP address

20

0x14

Read and write

UINT 32

Enter subnet mask

22

0x16

Read and write

UINT 32

Set the gateway IP
address

24

0x18

Read and write

UINT 32

Current IP address

26

0x1A

Read only

UINT 32

Current subnet
mask

28

0x1C

Read only

UINT 32

Current gateway IP
address

30

0x1E

Read only

UINT 32

DHCP Mode

0 – absolute
prohibition
1 – only reading
2 – only writing
down

32

0x20

Read and write

UINT 16

5.5.2 Error codes for Modbus protocol

When working on the Modbus protocol, errors may occur. These errors are described in

Table 5.6

In

case of an error, Module sends a response to the Network Master with an error code.

Summary of Contents for MV210-221

Page 1: ...EN 38998 1 9 All rights reserved Subject to technical changes and misprints akytec GmbH Vahrenwalder Str 269 A 30179 Hannover Germany Tel 49 0 511 16 59 672 0 www akytec de MV210 221 Digital input module User guide ...

Page 2: ... three phase AC circuits 230 V AC 16 4 6 Ethernet connection 17 5 Construction and operation 19 5 1 Operation principle 19 5 2 Indication and control 19 5 3 Real time clock 20 5 4 Log file 20 5 5 Data exchange modes 22 5 5 1 Modbus TCP communication 22 5 5 2 Error codes for Modbus protocol 27 5 6 Operation modes of digital inputs 30 5 6 1 Operation modes of the inputs of a dry contact type 30 5 6 ...

Page 3: ...2 akytec GmbH Vahrenwalder Str 269 A 30179 Hannover Germany Tel 49 0 511 16 59 672 0 www akytec de Appendix A Encrypting the log file 40 ...

Page 4: ...tes an imminent dangerous situation that will result in death or serious injuries if not prevented CAUTION CAUTION indicates a potentially dangerous situation that could result in minor injuries NOTICE NOTICE indicates a potentially dangerous situation that could result in damage to property NOTE NOTE indicates helpful tips and recommendations as well as information for efficient and trouble free ...

Page 5: ...pair of the components of the products is carried out exclusively by the manufacturer There is a dangerous voltage on the terminal block Any connections to the device and maintenance operations must be carried out only when the power of the device is turned off The device s method of protection against electric shock meets the terms of class II IEC 61131 2 2012 The device installation must be perf...

Page 6: ...ovides detailed information about the operation principle design configuration installation and maintenance of the input module MV210 211 hereinafter referred to as the Device or Module Connection adjustment and maintenance of the device must be carried out only by qualified personnel after reading this operating manual Order code MV210 221 ...

Page 7: ...C digital to analog converter PC personal computer PLC programmable logic controller RTC real time clock USB an industry standard that establishes specifications for cables connectors and protocols for connection communication and power supply between personal computers and their peripheral devices UTC coordinated universal time ...

Page 8: ...r data acquisition at objects of automation and transfer of this data to PLCs panel controllers computers or other control devices For data acquisition the Device has 15 digital inputs 9 digital inputs for connecting 230 V AC signals 6 digital inputs for connecting dry contact sensors Modules are used in various fields of industry and agriculture ...

Page 9: ...C voltage signal Frequency 47 63 Hz Voltage of logical 1 20 264 V Voltage of logical 0 0 10 V Operation mode determination of the presence or absence of voltage in the network phase break diagnostics in a three phase network phase rotation control operation time counter voltage switching counter time of last switching on and off of input voltage Input current of logical 1 max 2 mA Digital inputs f...

Page 10: ...solation of the Device Components Table 2 2 Insulation types Type Description Basic insulation BI The insulation used for active parts of equipment to provide protection against electric shock The electrical strength of the basic insulation is checked by type tests by applying a test AC voltage the value of which is different for different circuits of the Device Supplementary insulation SI Indepen...

Page 11: ...el of emission of radio interference noise emissions the Device complies with the standards established for equipment of class A by CISPR 22 97 The Device is designed for operation in the following conditions ambient temperature 40 55 C relative humidity up to 95 at 35 C non condensing closed non hazardous areas free of corrosive or flammable gases permitted pollution degree 1 according to IEC 611...

Page 12: ...le from moisture dirt and foreign objects To install Module 1 Make sure that there is enough free space to connect the wire harness You need 50 mm above the Module and below it 2 Fasten the Device to the DIN rail or to a vertical surface using screws see Figure 3 1 Fig 3 1 Proper installation Fig 3 2 Improper installation CAUTION Long term operation of Module with improper installation can lead to...

Page 13: ...3 Installation 12 akytec GmbH Vahrenwalder Str 269 A 30179 Hannover Germany Tel 49 0 511 16 59 672 0 www akytec de Fig 3 3 Dimension drawing Fig 3 4 Mounting dimensions ...

Page 14: ...f Module loosen the two screws at the corners of the terminal blocks The power wires must be mounted using the supplied return terminal block CAUTION Connection and maintenance is performed only when power of Module and devices connected to it is turned off CAUTION Do not connect wires of different cross sections to one terminal CAUTION Do not connect more than two wires to one terminal 4 2 Termin...

Page 15: ...nomination Function N1 N3 Inputs for connecting neutral point for groups 1 3 NC Not connected No connection CAUTION It is not allowed to connect wires to NC contacts Not connected 4 3 Connectors The connectors of the interfaces and of the power supply of the Device are shown in Figure 4 2 Fig 4 2 Device s connectors ...

Page 16: ...lation or with basic isolation of low voltage circuits from AC lines can lead to dangerous voltage in the circuits 4 5 Connection to inputs 4 5 1 Connection of dry contact type sensors to digital inputs Fig 4 4 Connection diagram for inputs DI1 DI6 Inputs DI1 DI6 are intended for connecting thr following signals dry contact type transistor switch of a npn type The COM circuits are connected inside...

Page 17: ...ection diagram of single phase circuits Neutrals N1 N2 and N3 are not combined inside the Device To connect a single phase circuits the terminals N1 N2 and N3 should be combined outside the Device 4 5 3 Connection of three phase AC circuits 230 V AC Three separate three phase circuits can be connected to nine inputs The neutral points of these circuits are not combined inside the module Connection...

Page 18: ... it is necessary to correctly connect the input circuits to the Device as shown in Figure 4 6 To configure a group of inputs into the three phase connection mode do one of the following actions enable the corresponding mode in akYtec Tool Pro write the value 1 to the corresponding Modbus register 4 6 Ethernet connection To connect modules to an Ethernet network you can use the following schemes Wy...

Page 19: ...lanking plug To connect to the Daisy chain scheme you must use both Ethernet ports of Module If Module fails or the power is turned off the data will be transferred from port 1 to port 2 without disconnecting Fig 4 8 Daisy chain connection NOTICE 1 The maximum length of the communication line between two adjacent active devices when connected with the Daisy Chain must be not more than 100 m 2 An a...

Page 20: ...ndication and control On the front panel of the module there are indication LEDs The decoding of the values is given in Table 5 1 Fig 5 1 Device faceplate The IP field is located at the bottom of the front panel NOTICE The IP field is intended for applying the IP address of the Module with a thin marker or on a paper sticker Table 5 1 LED States LED LED Status Function Power green ON Device operat...

Page 21: ...lgorithm is Data Encryption Standard DES in cipher block chaining CBC mode The key is the string superkey An initialization vector is generated using a hash function The function argument is the password specified in akYtecToolPro A checksum is calculated by the CRC32 algorithm and saved in the file end The checksum is also encrypted Log file of Module will be saved as a few files The log interval...

Page 22: ... that the resource of Device flash memory is sufficient for a period of at least 10 years of operation Log file can be read by akYtecToolPro by user software using Modbus function 20 The list of logged parameters is available in the akYtecToolPro software on the Device Information tab The order of writing parameters to the log file corresponds to the order of parameters on the tab NOTE After updat...

Page 23: ...vice Parameters tab This list of Modbus registers is presented in the tables below Table 5 4 General Registers for Online Modbus Communication Name Register Size type description Device name DEV 0xF000 Character string up to 32 bytes Win1251 encoding Firmware version VER 0xF010 Character string up to 32 bytes Win1251 encoding Platform name 0xF020 Character string up to 32 bytes Win1251 encoding Pl...

Page 24: ... 0 4294967295 164 0хA4 Read only UINT 32 Value of the pulse counter for input DI4 0 4294967295 166 0хA6 Read only UINT 32 Value of the pulse counter for input DI5 0 4294967295 168 0хA8 Read only UINT 32 Value of the pulse counter for input DI6 0 4294967295 170 0хAA Read only UINT 32 Reset pulse counter on input DI1 0 reset 1 do not reset 224 0хE0 Read and write UINT 16 Reset pulse counter on input...

Page 25: ...e 5007 0x138F Read only UINT 16 Interruption failure or phase loss of inputs group 2 0 no failure 1 failure 5008 0x1390 Read only UINT 16 Interruption failure or phase loss of inputs group 3 0 no failure 1 failure 5009 0x1391 Read only UINT 16 Operating Time Input A1 0 4294967295 s 5010 0x1392 Read only UINT 32 Operating Time Input B1 0 4294967295 s 5012 0x1394 Read only UINT 32 Operating Time Inp...

Page 26: ... input B3 0 do not reset 1 reset 5035 0x13AВ Read and write UINT 16 Reset pulse counter of input C3 0 do not reset 1 reset 5036 0x13AC Read and write UINT 16 Counter of inclusions for input A1 0 4294967295 5037 0x13AD Read only UINT 32 Counter of inclusions for input B1 0 4294967295 5039 0x13AF Read only UINT 32 Counter of inclusions for input C1 0 4294967295 5041 0x13B1 Read only UINT 32 Counter ...

Page 27: ...061 0x13C5 Read and write UINT 16 Reset counter of inclusions for inputs B3 0 do not reset 1 reset 5062 0x13C6 Read and write UINT 16 Reset counter of inclusions for inputs C3 0 do not reset 1 reset 5063 0x13C7 Read and write UINT 16 Last time switching on and off of input A1 since 2000 dd mm yyyy hh mm ss 5064 0x13C8 Read only UINT 32 Last time switching on and off of input B1 since 2000 dd mm yy...

Page 28: ...offset in minutes from Greenwich 61570 0хF082 Read and write INT 16 Device status 61620 0xF0B4 Read only UINT 32 MAC address 61696 0xF100 Read only UINT 48 DNS server 1 12 0xС Read and write UINT 32 DNS server 2 14 0xЕ Read and write UINT 32 Assign IP address 20 0x14 Read and write UINT 32 Enter subnet mask 22 0x16 Read and write UINT 32 Set the gateway IP address 24 0x18 Read and write UINT 32 Cu...

Page 29: ...h a function code not specified in Table 5 7 a MODBUS_ILLEGAL_FUNCTION error occurs Table 5 7 List of supported functions Name Code Description MODBUS_READ_HOLDING_ REGISTERS 3 0x03 Reading values from one or more holding registers MODBUS_READ_INPUT_ REGISTERS 4 0x04 Reading values from one or more input registers MODBUS_WRITE_SINGLE_ REGISTER 6 0x06 Writing a value to single register MODBUS_WRITE...

Page 30: ...rameter size of the requested data is less than the size of the first or last parameter in the request value outside the parameter limits Situations leading to errors during operation with the log file are described in Table 5 9 Table 5 9 Errors while working with the log file Function Error name Possible causes MODBUS_READ_FILE_ RECORD MODBUS_ILLEGAL_ FUNCTION illegal data size 0x07 data length 0...

Page 31: ...skipped If the counter is full the corresponding register is automatically reset The sequence of actions for forced counter resetting is given in Section 6 7 NOTICE Counters are non volatile their values are saved after a reboot Counters on inputs with additional modes after reboot are reset The state values of the digital inputs are stored as a bitmask and read from the corresponding register 5 6...

Page 32: ... is recorded in the Rotation failure or phase failure register of the corresponding group 1 In case of counter overflow the register is reset To reset the counter manually see Section 6 7 2 Diagnostics is enabled if the module is configured accordingly using the akYtec Tool Pro program or via the Modbus TCP protocol The module has the ability to connect one to three control circuits of a three pha...

Page 33: ...nu Interface select Ethernet or other network card to which the module is connected for Ethernet connection STMicroelectronics Virtual COM Port for USB connection Fig 6 1 Interface selection menu The next steps for finding a Device depend on the choice of interface To find and add a Device connected to the Ethernet interface to the project 1 Select Find device 2 Enter IP address of the connected d...

Page 34: ...ess is set using the akYtecToolPro program or the Service button To set a static IP address using the akYtecToolPro proceed as follows 1 Click on the line Connection Settings in the parameter field 2 Select the Ethernet settings 3 Specify new values for fields Enter IP Address Enter Subnet Mask and Assign gateway IP address 4 Set DHCP Mode to Off 5 Click on symbol Save data in the menu bar With he...

Page 35: ...ord is used You can set or change the password when configuring using the akYtec Tool Pro If the password is lost the factory settings must be restored see Section 6 5 By default the password is not set 6 4 Firmware update Firmware can be updated by the following ways by using the USB interface by using Ethernet recommended To update via USB follow the steps 1 When the Module is powered on press a...

Page 36: ...ll work with default settings 6 6 Real time clock setting The real time clock RTC can be set or read from the Module via Modbus registers and also using the akYtec Tool Pro program see the program help To set a new time via Modbus registers 1 Write the time value in the appropriate registers 2 Set the value 1 in the current time update register for at least 1 second 3 Write the value 0 in the curr...

Page 37: ... from the device terminal block 7 2 Battery replacement A replaceable CR2032 type battery is used to power the real time clock Replace the battery if at least one of the following events occurs LED Fault blinks it lights for 200 ms with a 3 second interval The last battery change was 6 years ago To replace the battery 1 Power off the module and all connected devices 2 Remove the module from the DI...

Page 38: ... time clock must be set up again 8 Assembly and installation should be carried out in the reverse order NOTICE Do not use a different type of battery When installing the battery observe the polarity After Module is assembled and turned on make sure that the system time is correct If necessary configure the real time clock in the akYtecToolPro program When loosing the fastening screws the terminal ...

Page 39: ...le to the respective modes of transport The transport conditions must be in accordance with IEC 61131 2 2012 at ambient temperature from 40 to 55 С in compliance with the protection measures against impacts and vibrations Transportation should be carried out in a shipping container individually or in over packs The storage conditions in the packaging at the manufacturer s and consumer s warehouse ...

Page 40: ...6 59 672 0 www akytec de 9 Scope of delivery Denomination Quantity Device 1 unit Short guide 1 ex UTP patch cable 5e 150 mm 1 unit Power supply terminal 2EGTK 5 02P 14 1 unit Ethernet connector plug 1 unit NOTICE The manufacturer reserves the right to introduce amendments to the scope of delivery ...

Page 41: ...initialization vector The hash function returns 8 bytes type long long An example implementation of a hash function in C typedef union struct unsigned long lo unsigned long hi long long hilo LONG_LONG long long Hash8 const char str Based on Rot13 LONG_LONG temp temp lo 0 temp hi 0 for str temp lo unsigned char str temp lo temp lo 13 temp lo 19 str if str break temp hi unsigned char str temp hi tem...

Reviews: