Вы находитесь на странице: 1из 7

Selco A/S

M2500 MODBUS, General comments

Revision: 02-11-2010

Configuration
The modbus device address, baud rate and parity must be configured on the device via the configuration menu (Alternatively via the PC configuration tool).
Default configuration is: Device address = 1, baudrate = 19200, Parity = Even. Number of start bits is fixed to 8. Number of stop bits depends on parity; Even + Odd -> 1 stop bit, None ->2 stop bits).
Register addressing
This document defines register addresses in accordance with the Modbus Addressing model: "In a MODBUS PDU each data is addressed from 0" (Please refer to section 4.4 in ref [2]).
Example
To read LEDs 1-5 / registers address 101 - 105 from the device on address 1, the following modbus frame can be sent:
0x01 0x03 0x00 0x65 0x00 0x05 0x95 0xD6
Which can be broken down to :
Slave address: 0x01
Function code: 0x03 (Read holding registers)
Start register: 0x0065 / 101
Number of registers: 0x0005
CRC: 0x95 0xD6
Depending on the state of the LEDs, the following frame could be received in response:
0x01 0x03 0x0A 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x19 0x76
Which can be broken down to:
Slave address: 0x01
Function code: 0x03 (Read holding registers)
Number of bytes: 0x0A
Status of LED1-LED 5: 0x0000 0x0000 0x0001 0x0000 0x0000
CRC: 0x19 0x76
Network termination
Make sure your 485 network is properly terminated by 120 ohm resistors at either end of the network. It is possible to enable a termination resistor on M2500, via the Switch DIP1 on the back of the device, if necessary.
Bias resistors
In some installations it may be necessary to add a bias-resistor-network once along the length of the 485 network, depending on the equipment used on the 485 network. Some equipment has the possibility to enable such a network
either via SW configuration or physical switches. Please refer to ref. [1] section 3.4.6 for further details.
* The Selco M2500 does not require a bias resistor network (Other devices on the bus MAY require it, though) .
* The Selco M2500 implements a MODBUS slave, As such, it does not provide means for establishing a bias resistor network (No isloated 5V supply is made available).
Pin conncetions (DB9, female connector.)
Pin 1: RS485 Com
Pin 4+8: RS485 A (Pins internally shorted)
Pin 5+9: RS485 B (Pins internally shorted)

References
[1] "MODBUS over serial line specification and implementation guide V1.02" - http://www.modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
[2] "MODBUS Application protocol Specification V1.1b" - http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf

Subject to change without notice

Page 1 of 7

Selco A/S

Function
Read coils
Read discrete inputs
Read holding registers
Read input registers
Write single coil
Write single register
Read exception status
Diagnostics
Get comm event counter
Get comm event log
Write multiple coils
Write multiple registers
Report slave ID
Read file record
Write file record
Mask write register
Read/write multiple registers
Read FIFO queue
Encapsulated interface transport

M2500 MODBUS, Supported functions


Function code
Dec
Hex
1
1h
2
2h
3
3h
4
4h
5
5h
6
6h
7
7h
8
8h
11
Bh
12
Ch
15
Fh
16
10h
17
20
21
22
23
24
43

11h
14h
15h
16h
17h
18h
2Bh

Revision: 02-11-2010

Comments
Not supported
Not supported
Supported Read one or more words
Supported Read one or more words
Not supported
Supported Write single holding register
Not supported
Not supported
Not supported
Not supported
Not supported
Not supported
Returns an identification string for the device;
Supported "Selco M2500\0" (\0 is a terminating character of value 0x00)
Not supported
Not supported
Not supported
Not supported
Not supported
Not supported

Subject to change without notice

Page 2 of 7

Selco A/S
Register address
Dec
Hex
LEDs (100 - 114)
100
64h
100
64h
101
65h
102
66h
103
67h
104
68h
105
69h
106
6Ah
107
6Bh
108
6Ch
109
6Dh
110
6Eh
111
6Fh
112
70h
113
71h
114
72h

M2500 MODBUS, Memory map

Hex*

Description

Terminal

Values

Parameter type

Access[R/W]

word
word
word
word
word
word
word
word
word
word
word
word
word
word
word

R
R
R
R
R
R
R
R
R
R
R
R
R
R
R

Number of LEDs on system


Status of LED "Engine Running"
Status of LED "Remote"
Status of LED "Local"
Status of LED "Cool down"
Status of LED "Stopping"
Status of LED "Override"
Status of LED "Not ready"
Status of LED "Alarm"
Status of LED "Shut down"
Status of LED "Power supply 1"
Status of LED "Power supply 2"
Status of LED "Main system error"
Status of LED "Communication error"
Status of LED "Cable error"

na
na
na
na
na
na
na
na
na
na
na
na
na
na
na

14
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing
0=Off; 1=Steady on; 2=Asymetric flashing; 3=Quick flashing; 4=Slow flashing

Mode/Control inputs (1000 - 1008)


1000
3E8h
1000
3E8h
word

Number of Binary inputs on system

na

1001
1002
1003
1004

3E9h
3EAh
3EBh
3ECh

43h

word
word
word
word

R/W
R
R
R

Status of input 'Reset'


Status of input "Remote"
Status of input "Local"
Status of input "OFF"

12
05
06
07

1005

3EDh

44h

word

R/W

Status of input "Auto start"

08

1006
1007
1008

3EEh
3EFh
3F0h

45h

word
word
word

R/W
R
R

Status of input "Auto stop"


Status of input "Override"
Status of input "Crank Disconnect"

09
10
11

8
Reading: 0=Open; 1=Closed
Writing: Bit 1=1; Acknowledge active alarms and reset siren.
0=Open; 1=Closed
0=Open; 1=Closed
0=Open; 1=Closed
Reading: 0=Open; 1=Closed
Writing: Bit 1=1; Start engine (Remote mode only).
Reading: 0=Open; 1=Closed
Writing: Bit 1=1; Stop engine (Remote mode only).
0=Open; 1=Closed
0=Open; 1=Closed

Number of pick-up inputs on system


Engine RPM "Pick-up input"

na
15

1
Engine RPM

Pick-up input (RPM) (1100 - 1101)


1100
44Ch
1100
44Ch
word
1101
44Dh
word

R
R

Revision: 02-11-2010

Subject to change without notice

Page 3 of 7

Selco A/S

M2500 MODBUS, Memory map

Digital inputs (1200 - 1209)


1200
4B0h
1200
4B0h
1201
4B1h
1202
4B2h
1203
4B3h
1204
4B4h
1205
4B5h
1206
4B6h
1207
4B7h
1208
4B8h
1209
4B9h

word
word
word
word
word
word
word
word
word
word

R
R
R
R
R
R
R
R
R
R

Number of digital inputs on system


Status on Digital input "Input 1"
Status on Digital input "Input 2"
Status on Digital input "Input 3"
Status on Digital input "Input 4"
Status on Digital input "Input 5"
Status on Digital input "Input 6"
Status on Digital input "Input 7"
Status on Digital input "Input 8"
Status on Digital input "Input 9"

na
17
18
19
20
21
22
23
24
25

9
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited
0: Open; 1=Closed; 2=Cable broken; 3=Cable short circuited

Analogue inputs (1300 - 1308)


1300
514h
1300
514h
1301
515h
1302
516h
1303
517h
1304
518h
1305
519h
1306
51Ah
1307
51Bh
1308
51Ch

word
word
word
word
word
word
word
word
word

R
R
R
R
R
R
R
R
R

Number of analogue inputs on system


Status on analogue input "Sensor 1"
Status on analogue input "Sensor 2"
Status on analogue input "Sensor 3"
Status on analogue input "Sensor 4"
Status on analogue input "Sensor 5"
Status on analogue input "Sensor 6"
Status on analogue input "Sensor 7"
Status on analogue input "Sensor 8"

na
27
28
29
30
31
32
33
34

8
Value on analogue input - Scaled according to device configuration
Value on analogue input - Scaled according to device configuration
Value on analogue input - Scaled according to device configuration
Value on analogue input - Scaled according to device configuration
Value on analogue input - Scaled according to device configuration
Value on analogue input - Scaled according to device configuration
Value on analogue input - Scaled according to device configuration
Value on analogue input - Scaled according to device configuration

Revision: 02-11-2010

Inputs with (optional) cable monitoring

Subject to change without notice

Page 4 of 7

Selco A/S

M2500 MODBUS, Memory map

Relay outputs (1400 - 1427)


1400
578h
1400
578h
1401
579h
1402
57Ah
1403
57Bh
1404
57Ch

word
word
word
word
word

R
R
R
R
R

Number of relay outputs on system


Status of Relay "Ready"
Status of Relay "Start Warn"
Status of Relay "Run"
Status of Relay "Cool Down"

na
36
37
38
39

27
0=Open; 1=Closed (To REF1, terminal 40)
0=Open; 1=Closed (To REF1, terminal 40)
0=Open; 1=Closed (To REF1, terminal 40)
0=Open; 1=Closed (To REF1, terminal 40)

word
word
word
word

R
R
R
R

Status of Relay "Lube pump"


Status of Relay "Crank"
Status of Relay "C/B Trip"
Status of Relay "Air intake"

41
42
43
44

0=Open; 1=Closed (To REF2, terminal 45)


0=Open; 1=Closed (To REF2, terminal 45)
0=Open; 1=Closed (To REF2, terminal 45)
0=Open; 1=Closed (To REF2, terminal 45)

word
word
word
word

R
R
R
R

Status of Relay "Common"


Status of Relay "Shut down"
Status of Relay "Cable"
Status of Relay "Can"

46
47
48
49

0=Open; 1=Closed (To REF3, terminal 50)


0=Open; 1=Closed (To REF3, terminal 50)
0=Open; 1=Closed (To REF3, terminal 50)
0=Open; 1=Closed (To REF3, terminal 50)

51
52
53
54
55
56
57
58
59
60
61
62

0=Open; 1=Closed (To REF4, terminal 63)


0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)
0=Open; 1=Closed (To REF4, terminal 63)

1405
1406
1407
1408

57Dh
57Eh
57Fh
580h

1409
1410
1411
1412

581h
582h
583h
584h

1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424

585h
586h
587h
588h
589h
58Ah
58Bh
58Ch
58Dh
58Eh
58Fh
590h

word
word
word
word
word
word
word
word
word
word
word
word

R
R
R
R
R
R
R
R
R
R
R
R

Status of relay "Output 1"


Status of relay "Output 2"
Status of relay "Output 3"
Status of relay "Output 4"
Status of relay "Output 5"
Status of relay "Output 6"
Status of relay "Output 7"
Status of relay "Output 8"
Status of relay "Output 9"
Status of relay "Output 10"
Status of relay "Output 11"
Status of relay "Output 12"

1425
1426
1427

591h
592h
593h

word
word
word

R
R
R

Status of Relay "Engine Stop"


Status of Relay "Stop/Run Solenoid"
Status of relay "Siren"

word
word
word
word

R
R
R
R

Number of SPN inputs on system


J1939: Oil pressure
J1939: Engine Coolant Water Temperature
J1939: Engine speed (RPM)

41h

40h

J1939/SPN inputs (3000 - 3003)


3000
BB8h
3000
BB8h
3001
BB9h
3002
BBAh
3003
BBBh

64/65
66/67
68/69/70

na
na
na
na

Revision: 02-11-2010

0=Open; 1=Closed
0=Open; 1=Closed
0=Contact 68/69; 1=Contact 69/70

3
SPN 100: Oil pressure (bar)
SPN 110: Engine coolant water temperature (C)
SPN 190: Engine speed (RPM)

Subject to change without notice

Page 5 of 7

Selco A/S
User/Programmable alarms (2000 - 2030)
2000
7D0h
2000
7D0h
word
2001
7D1h
word
2002
7D2h
word
2003
7D3h
word
2004
7D4h
word
2005
7D5h
word
2006
7D6h
word
2007
7D7h
word
2008
7D8h
word
2009
7D9h
word
2010 7DAh
word
2011
7DBh
word
2012
7DCh
word
2013 7DDh
word
2014
7DEh
word
2015
7DFh
word
2016
7E0h
word
2017
7E1h
word
2018
7E2h
word
2019
7E3h
word
2020
7E4h
word
2021
7E5h
word
2022
7E6h
word
2023
7E7h
word
2024
7E8h
word
2025
7E9h
word
2026
7EAh
word
2027
7EBh
word
2028
7ECh
word
2029
7EDh
word
2030
7EEh
word

M2500 MODBUS, Memory map

R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R

Number of user alarms on system


Status of user alarm 1
Status of user alarm 2
Status of user alarm 3
Status of user alarm 4
Status of user alarm 5
Status of user alarm 6
Status of user alarm 7
Status of user alarm 8
Status of user alarm 9
Status of user alarm 10
Status of user alarm 11
Status of user alarm 12
Status of user alarm 13
Status of user alarm 14
Status of user alarm 15
Status of user alarm 16
Status of user alarm 17
Status of user alarm 18
Status of user alarm 19
Status of user alarm 20
Status of user alarm 21
Status of user alarm 22
Status of user alarm 23
Status of user alarm 24
Status of user alarm 25
Status of user alarm 26
Status of user alarm 27
Status of user alarm 28
Status of user alarm 29
Status of user alarm 30

na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na
na

Revision: 02-11-2010

30
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active

Subject to change without notice

Page 6 of 7

Selco A/S
System/NON-Programmable alarms (2500 - 2541)
2500
9C4h
2500
9C4h
word
2501
9C5h
word
2502
9C6h
word
2503
9C7h
word
2504
9C8h
word
2505
9C9h
word
2506
9CAh
word
2507
9CBh
word
2508
9CCh
word
2509
9CDh
word
2510
9CEh
word
2511
9CFh
word
2512
9D0h
word
2513
9D1h
word
2514
9D2h
word
2515
9D3h
word
2516
9D4h
word
2517
9D5h
word
2518
9D6h
word
2519
9D7h
word
2520
9D8h
word
2521
9D9h
word
2522 9DAh
word
2523
9DBh
word
2524
9DCh
word
2525 9DDh
word
2526
9DEh
word
2527
9DFh
word
2528
9E0h
word
2529
9E1h
word
2530
9E2h
word
2531
9E3h
word
2532
9E4h
word
2533
9E5h
word
2534
9E6h
word
2535
9E7h
word
2536
9E8h
word
2537
9E9h
word
2538
9EAh
word
2539
9EBh
word
2540
9ECh
word
2541
9EDh
word

M2500 MODBUS, Memory map

R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R

Number of system alarms on system


Primary power supply failure
Secondary power supply failure
Eng. Ctrl. Start failure; Retry count exceeded
Eng. Ctrl. Failure; RPM low
Eng. Ctrl. Stop failure; Engine failed to stop
Eng. Ctrl. Start failure; Engine running
Eng. Ctrl. Start failure; Oil pressure high
Eng. Ctrl. Stop failure; Engine failed to stop whilst OFF
Eng. Ctrl. Service due
J1939; Overspeed (Shutdown)
J1939; No communication on bus
J1939; No ECU found
J1939; Malfunction indicator lamp
Pick-up: Overspeed (Shutdown)
Input 1 cable monitoring; short circuited
Input 2 cable monitoring; short circuited
Input 3 cable monitoring; short circuited
Input 4 cable monitoring; short circuited
Input 5 cable monitoring; short circuited
Input 6 cable monitoring; short circuited
Input 7 cable monitoring; short circuited
Input 8 cable monitoring; short circuited
Input 9 cable monitoring; short circuited
Input 1 cable monitoring; Broken
Input 2 cable monitoring; Broken
Input 3 cable monitoring; Broken
Input 4 cable monitoring; Broken
Input 5 cable monitoring; Broken
Input 6 cable monitoring; Broken
Input 7 cable monitoring; Broken
Input 8 cable monitoring; Broken
Input 9 cable monitoring; Broken
Sensor 1 cable monitoring; Broken
Sensor 2 cable monitoring; Broken
Sensor 3 cable monitoring; Broken
Sensor 4 cable monitoring; Broken
Sensor 5 cable monitoring; Broken
Sensor 6 cable monitoring; Broken
Sensor 7 cable monitoring; Broken
Sensor 8 cable monitoring; Broken
STOP/RUN output cable monitoring; Broken

na
01/02
03/04
na
na
na
na
na
na
na
na
na
na
na
15/16
17/26
18/26
19/26
20/26
21/26
22/26
23/26
24/26
25/26
17/26
18/26
19/26
20/26
21/26
22/26
23/26
24/26
25/26
27/35
28/35
29/35
30/35
31/35
32/35
33/35
34/35
66/67

Revision: 02-11-2010

41
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active
0: Alarm inactive; 1: Alarm active

Subject to change without notice

Page 7 of 7

Вам также может понравиться