ProSoft Technology PTQ-AFC User Manual

Page 177

Advertising
background image

PTQ-AFC ♦ Modicon Quantum Platform

Backplane Communication

Liquid and Gas Flow Computer for Hydrocarbon Products

User Manual

ProSoft Technology, Inc.

Page 177 of 259

June 23, 2011

The Direction and Register bank register may assume one of the following
values:

Decimal Value

Function Register

Type

0

Read Input

1

Read Holding

2

Write Holding

The Data Item Size and Swap Options register may assume one of the following
values:

Decimal Value

Data Item

0

Bit (packed 16 to a word)

1

Word (16-bit registers)

2

Double (32-bit items as register pairs)

3

32-bit (32-bit items as single registers)

To this, add 10 for byte swap (except size 0), and/or 20 for word swap (sizes 2
and 3 only).
The Error Code may assume one of the following values:

=0 - No error.

>0 - Modbus exception code or communication error:

Modbus exception codes are issued by the responding slave and listed in
commonly available Modbus protocol manuals; they lie between 1 and 127, and
include:

Code

Description

=0 -

No Error

>0

Modbus Exception Code or Communication Error

Modbus Exception codes are issued by the responding slave and listed in commonly
available Modbus protocol manuals; they lie between 1 and 127 and include:
1 - Illegal Function
2 - Illegal Address
3 - Illegal Data Value
Communication Errors are issued by the AFC:
500 - CTS Timeout
501 - Receive Timeout
502 - Bad Framing
503 - Buffer Overrun
504 - Bad Checksum/CRC
505 - Wrong Slave
506 - Wrong Function Code
507 - Wrong Length

<0

Configuration, Parameter, or Logic Error:

-1 - Master Port not configured
-2 - Master Port never used
-3 - Bad Slave Address
-4 - Bad Direction/ Target
-5 - Bad Datum Size / Swap Options
-6 - Bad Number of Data Items

9.2

Meter PLC Configuration

You can set the following blocks to configure the Quantum registers and for
meter-specific data.

Advertising
This manual is related to the following products: