MagTek MCP User Manual

Page 5

Advertising
background image

v

TABLE OF CONTENTS

SECTION 1. OVERVIEW............................................................................................................................. 1

SECTION 2. TRANSPORT FRAME FORMAT ........................................................................................... 3

COMMON FRAME FORMAT DEFINITION.............................................................................................. 3

FRAME HEADER ..................................................................................................................................... 3

Node Addresses ................................................................................................................................... 3

Protocol Control Byte............................................................................................................................ 4

Length................................................................................................................................................... 4

Header EDC ......................................................................................................................................... 4

DATA FIELD ............................................................................................................................................. 5

FRAME EDC............................................................................................................................................. 5

SECTION 3. TRANSPORT FRAME TYPES ............................................................................................... 7

I-FRAMES................................................................................................................................................. 7

PCB of I-frames .................................................................................................................................... 7

Data Field ............................................................................................................................................. 8

R-FRAMES ............................................................................................................................................... 9

PCB of R-frames .................................................................................................................................. 9

S-FRAMES ............................................................................................................................................. 11

PCB of S-frames................................................................................................................................. 11

Data field of S-frames......................................................................................................................... 12

Resynchronize Protocol Command.................................................................................................... 13

Reset Device Command..................................................................................................................... 14

Get Communication Parameters Command ...................................................................................... 15

Set Communication Parameters Command....................................................................................... 17

Frame Reject Command .................................................................................................................... 18

Baud Synchronization Command....................................................................................................... 19

Echo Command.................................................................................................................................. 20

SECTION 4. PROTOCOL.......................................................................................................................... 23

PARAMETERS ....................................................................................................................................... 23

TIMEOUTS ............................................................................................................................................. 23

Character Wait Timeout (CWT) .......................................................................................................... 23

Block Wait Timeout (BWT) ................................................................................................................. 23

R-frame to I-frame Delay .................................................................................................................... 24

GENERAL NOTATION ........................................................................................................................... 24

GENERAL PROCEDURES .................................................................................................................... 25

ERROR HANDLING ............................................................................................................................... 25

RESYNCHRONIZATION ........................................................................................................................ 26

RULES .................................................................................................................................................... 27

Service Requests ............................................................................................................................... 27

Baud Synchronization......................................................................................................................... 27

Establishing and Resetting a Connection........................................................................................... 28

Data Transfer...................................................................................................................................... 29

Error Recovery ................................................................................................................................... 30

Service Indications ............................................................................................................................. 31

SCENARIOS........................................................................................................................................... 33

Scenario Notations ............................................................................................................................. 33

Service Requests ............................................................................................................................... 33

Baud Synchronization......................................................................................................................... 34

Establishing and Resetting a Connection........................................................................................... 34

Data Transfer...................................................................................................................................... 35

Advertising