ВШПА.421412.304 И1 SCIENTIFIC-PRODUCTION ENTERPRISE VIBROBIT LLC
Digital Control Interfaces
MK40 Module supports there independent control interfaces:
•
RS485 interface with ModBus RTU protocol partial implementation (sufficient for control);
•
CAN2.0B interface (only expanded messages exchange is fulfilled);
•
I2C driven interface for setting of module operating parameters.
All interfaces can operate simultaneously, without interfering.
Attention. Power supply, integrated circuits of RS485 and CAN2.0B interfaces drivers do not have galvanic
isolation. MK40 Module with galvanic isolation of communication interfaces and power supply is manufactured on
additional agreement basis.
RS485
interface
Half-duplex RS485 bus driver integrated circuit is provided on MK40 board for operation via RS485 interface.
Data exchange via RS485 interface is fulfilled according to ModBus RTU protocol with possibility of data rate selection
from several standard speed values and module address on the bus.
Table 7. RS485 interface parameters
Parameter name Value
Exchange protocol ModBus RTU (partial implementation)
Data format no parity, 2 stop-bits
Interval between messages, byte, not less than 3,5
Date rate (one of speed values is setup), bit/c 4800; 9600; 19200; 38400;
57600; 115200; 230400
Driver operating mode half-duplex
Maximum number of bus cross-points 128
(1)
Driver input resistance, kOhm, not less than 12
(1)
Electrical endurance, kV, not less than ±15
(1)
Galvanic isolation no
(1)
Note 1. On condition that MAX487ESA driver is used.
Setting module operating parameters by ModBus protocol
Module setup is implemented by writing of the values to relevant configuration registers, provided that writing is
enabled. When writing to configuration registers is denied, NEGATIVE ACKNOLEDGE error code message returns.
Writing to configuration registers is only implemented by Preset Multiple Regs command of ModBus protocol.
Module control commands are executed by Preset Single Registers command of ModBus protocol.
At reception of wrong (incorrect) command, error report is generated, provided that address in query matches
the module address and checksum is correct.
Error report format (5 byte):
Unit address
Function code with high-order bit set to “1”
Error code
Checksum, low-order byte
Checksum, high-order byte
No revisions
21