KELLER Series-30 Protocol

See also: Help for Serial Protocols

 

 

Overview

The KELLER serial downloadable protocol is for communication between the Keller and an OCS. This is a Master/Slave protocol.

 

CSCAPE Configuration

To configure OCS for the Mitsubishi protocol, select the Protocol Configuration from the Program menu in CSCAPE software. Select the appropriate protocol type on the desired port. To make sure that the Software is able to configure the equipment for the correct protocol, ensure KellerSeries30.dll file is in the Protocols directory of the current working/open Cscape.

 

 

Serial Port Configuration

The default link settings for the terminal are : 9600 baud, None parity, Eight data bits, Two stop bit, RS232 communication and No handshaking.

 

 

Data Mapping

Enter the desired parameter address in the Device Register field or use " > "button to select the desired parameter from the drop-down list. There are two drop-down lists viz. Function and Parameter Name.

 

 

List of Functions

No.

Function

Name

Representing Value

1

Fn 30 / 31       

R/W Coefficient             

30

2

Fn 32 / 33 

R/W Single Configuration

32

3

Fn 48

Initialize and Release                

48

4

Fn 69

Read Serial Number

69

5

Fn 73         

Read Value at Channel (Float) 

73

6

Fn 74

Read Value at Channel (Int)         

74

7

Fn 95     

Command for Setting Zero Point

95

8

Fn 100/101

Read Configuration                    

100

9

Fn 03

Modbus command 03 based      

3

 

 

Parameters

 

List of Parameters under Fn 30 / 31  : R/W Coefficient

No.

Parameter Name

Representing Value

1

Threshold value of the roof function (DW, RW)

53

2

Offset of pressure sensor P1 (DW, RW)

64

3

Gain factor of pressure sensor P1 (DW, RW)

65

4

Offset of pressure sensor P2 (DW, RW)

66

5

Gain factor of pressure sensor P2 (DW, RW)

67

6

Offset of analogue output (DW, RW)

68

7

Gain factor of analogue output (DW, RW)

69

8

Offset of CH0 (DW, RW)

70

9

Gain factor of CH0 (DW, RW)

71

10

Upper threshold value for switching output 1 (DW, RW)

72

11

Lower threshold for switching output 1 (DW, RW)

73

12

Upper threshold value for switching output 2 (DW, RW)

78

13

Lower threshold for switching output 2 (DW, RW)

79

14

Minimum pressure of sensor P1 (DW, RO)

80

15

Maximum pressure of sensor P1 (DW, RO)

81

16

Minimum pressure of sensor P2 (DW, RO)

82

17

Maximum pressure of sensor P2 (DW, RO)

83

18

Minimum temperature of temperature sensor (DW, RO)

84

19

Maximum temperature of temperature sensor (DW, RO)

85

20

Minimum temperature of sensor P1 (DW, RO)

86

21

Maximum temperature of sensor P1 (DW, RO)

87

22

Minimum temperature of sensor P2 (DW, RO)

88

23

Maximum temperature of sensor P2 (DW, RO)

89

24

Minimum value of channel CH0 (DW, RO)

90

25

Maximum value of channel CH0 (DW, RO)

91

26

Pressure for minimum analogue signal (DW, RO)

92

27

Pressure for maximum analogue signal (DW, RO)

93

28

Minimum analogue signal (DW, RO)

94

29

Maximum analogue signal (DW, RO)

95

List of Parameters under Fn 32 / 33 : R/W Single Configuration

No.

Parameter Name

Representing Value

1

CFG_P (W, RO)

0

2

CFG_T (W, RO)

1

3

CFG_CH0 (W, RW)

2

4

CNT_T (W, RW)

3

5

CNT_TCOMP & LP_FILTER (W, RW)

4

6

SWITCH (W, RO)

5

7

FILTER (W, RW)

7

8

DAC (W, RO)

9

9

UART (W, RW)

10

10

FILTER_ORG (W, RO)

11

11

STAT (W, RO)

12

12

DEV_ADDR (W, RW)

13

List of Parameters under Fn 48 :  Initialize and Release

No.

Parameter Name

Representing Value

1

Initialize and Release (Refer Help)

List of Parameters under Fn 69 :  Read Serial Number

No.

Parameter Name

Representing Value

1

Read Serial Number (DW, RO)

0

List of Parameters under Fn 73 :  Read Value at Channel (Float)

No.

Parameter Name

Representing Value

1

CH0   (2 X DW, RO)

0

2

P1 (2 X DW, RO)

1

3

P2 (2 X DW, RO)

2

4

T (2 X DW, RO)

3

5

TOB1 (2 X DW, RO)

4

6

TOB2 (2 X DW, RO)

5

List of Parameters under Fn 74 :  Read Value at Channel (Int)

No.

Parameter Name

Representing Value

1

CH0  (2 X DW, RO)

0

2

P1 (2 X DW, RO)

1

3

P2 (2 X DW, RO)

2

4

T  (2 X DW, RO)

3

5

TOB1 (2 X DW, RO)

4

6

TOB2 (2 X DW, RO)

5

List of Parameters under Fn 95 :  Command for Setting Zero Point

No.

Parameter Name

Representing Value

1

Set zero point of P1 (DW, WO)

0

2

Reset zero point of P1 (WO)

1

3

Set zero point of P2 (DW, WO)

2

4

Reset zero point of P2 (WO)

3

5

Update DAC scaling  (DW, WO)

4

6

Set zero point of CH0 (DW, WO)

6

7

Reset zero point of CH0 (WO)

7

List of Parameters under Fn 100/101 :  Read Configuration

No.

Parameter Name

Representing Value

1

_UART_FLT_ORG____ (2 X W, RW)

0

2

CFG_P_T_CH0_CNT_T_TCOMP_LPFLT (5 X W, RW)

2

3

SW__FLT__DAC (3 X W, RW)

3

List of Parameters under Fn 03 : Modbus command 03 based

No.

Parameter Name

Representing Value

1

CH0 Calculated value (user-specific) (W/DW, RO)

0

2

P1 Pressure of sensor 1 (W/DW, RO)

1

3

P2 Pressure of sensor 2 (W/DW, RO)

2

4

T Temperature (W/DW, RO)

3

5

TOB1 Temperature of sensor 1 (W/DW, RO)

4

6

TOB2  Temperature of sensor 2 (W/DW, RO)

5

 

 

Network Communication Errors

In order to access the Network statistics, user must assign the “Network status register” in network configuration. The table below gives the details of statistics.

 

Number Statistics Location Description

 

 

 

 

1

Update interval exceeded count

%Rx

This register explains number of times that the actual transaction scan time to complete all transactions exceeded specified update interval. Generally used as an indicator that an excessive number of triggered transfers or failed communication retries are occurring that is lengthening the expected transaction scan time.

 

If the Update interval is set to zero (update as fast as possible), this 32-bit register alternately specifies the actual transaction scan time in mSec resolution.

2

No response count

 %R(x+2)

This register explains number of times that a device(s) did not respond to a transaction. This includes ALL failed transaction, not just those after the retry count is exceeded.

3

Corrupt Response Count    

 %R(x+4)

This register explains number of times that a device(s) returned an invalid or failed response to a transaction.  This includes ALL failed.

 

Transaction, not just those after the retry count is exceeded.

4

Valid Response Count   

 %R(x+6)

This register explains total number of valid responses.

 

 

NOTE: %Rx: 32-bit network status register configured in Network configuration. For example: %R500(501).

 

 

Device Communication Errors

Error Error Number Description

INVALID_BLOCK

-203

 Invalid size for data type.

NO_RESPONSE_FROM_PLC

-204

Timeout while waiting for remote node response.

INVALID_RESPONSE_FROM_PLC

-205

Corrupted response from remote node.

INVALID_INITIALISATION

-207

Internal Error - Unable to open port.

 

 

Connection Details

Illustrations below show the various end-of-cable connectors required:

 

25-Pin D-Type Male 10-Pin Weidmuller

Cage Clamp
8-Pin RJ 45 Plug 9-Pin DB Male
CN1 CN1 MJ1/MJ2 Port 1

 

 

Port 1 — DB9 (Female at OCS end)

MJ1/MJ2 — RJ45 (Female at OCS end)

CN1 — 10-Pin Weidmuller Cage Clamp (Female at OCS end)

CN1 — DB25 (Female at OCS end)

 

NOTES:

  • Do not connect to unlisted pins.

  • Recommended Cable: Beldon 9503, twisted multipair, screened.

  • Connect the screens together at the shield / earth pin of the PLC.