Contents

Appendix A

Using Directories

A-1

Appendix B Micro PLC Protocol

B-1

 

Communications Files

B-2

 

Communications Memory Types and Addresses

B-3

 

Communications Parameters

B-3

 

Communications Protocol

B-4

 

Data Format

B-4

 

Communications Functions

B-8

Appendix C

RTU Protocol

C-1

 

Introduction

C-1

 

Message Types

C-2

 

Transmission Sequence

C-2

 

Message Fields

C-3

 

Character Format

C-4

 

Message Termination

C-4

 

Timeout Usage

C-4

 

Cyclic Redundancy Check (CRC)

C-5

 

RTU Message Length

C-8

 

Message Descriptions

C-9

 

Message (01): Read Output Table

C-9

 

Message (02): Read Input Table

C-10

 

Message (03): Read Registers

C-11

 

Message (04): Read Analog Inputs

C-12

 

Message (05): Force Single Output

C-13

 

Message (06): Preset Single Register

C-14

 

Message (07): Read Exception Status

C-15

 

Message (16): Preset Multiple Registers

C-16

 

Message (17): Report Device Type

C-17

 

Communication Errors

C-18

 

Invalid Query Message

C-18

 

Serial Link Timeout

C-19

 

Invalid Transactions

C-19

Appendix D Communications Using Windows DDE

D-1

 

Features of the Micro PLC DDE Driver Software

D-2

 

Simple Demonstration using Microsoft Word

D-3

 

Demonstration using Microsoft Excel

D-3

 

Viewing PLC Data in Windows

D-4

 

Viewing PLC Data in another DDE-compliant Application

D-5

 

Writing Values to the PLC from another Application

D-5

 

Ordering Information

D-5

GFK-0804B

Micro PLC Programmer's Guide - April 1994

vii

Page 7
Image 7
GE GFK-0804B manual Appendix a Using Directories Appendix B Micro PLC Protocol