beautypg.com

5 05 (0516): force single coil, Force single coil – KROHNE MFC 010 C Converter User Manual

Page 29

background image

MFC010 Interface Manual

27

6.5

05 (05

16

): Force Single Coil

This function permits the user to set the state of a single Discrete Output “Coil” register. (See Section 7.2

on page 39 for det ails of t he i ndividual r egisters). I n t he MFC010 implementation, these registers are

used t o i nitiate c ommands and functions. S etting t he O utput s tate i nitiates t he f unction, at tempting t o

clear t he O utput s tate w ill r esult i n a dat a er ror. The format of the Master request telegram for this

function should be as follows.

Request

Character

Field

For Example

1

Slave Address

01

16

Request to Slave ID 1

2

Function

05

16

“Force Single Coil”

3

Coil Address Hi

03

16

Coil Address = 1001

4

Coil Address Lo

E8

16

5

Force Data Hi

FF

16

Set Coil “Active”

6

Force Data Lo

00

16

7

CRC Lo

0C

16

CRC Checksum

8

CRC Hi

4A

16

The MFC010 will respond to such a request with a telegram formatted as follows.

Response

Character

Field

For Example

1

Slave Address

01

16

Response from Slave ID 1

2

Function

05

16

“Force Single Coil”

3

Coil Address Hi

03

16

Coil Address = 1001

4

Coil Address Lo

E8

16

5

Force Data Hi

FF

16

Set Coil “Active”

6

Force Data Lo

00

16

7

CRC Lo

0C

16

CRC Checksum

8

CRC Hi

4A

16

The MFC010 (slave) response telegram should be an exact duplicate of the master request telegram.