beautypg.com

ProSoft Technology PLX31-EIP-SIE User Manual

Page 84

background image

EIP Protocol

PLX3x Series

User Manual

Ethernet and Serial Gateways

Page 84 of 218

ProSoft Technology, Inc.

September 17, 2014

PLC-5 Sub-Element Fields

This section contains information specific to the PLC-5 processor with relation to
the PCCC command set. The commands specific to the PLC-5 processor contain
a sub-element code field. This field selects a sub-element field in a complex data
table. For example, to obtain the current accumulated value for a counter or
timer, the sub-element field should be set to 2. The tables below show the sub-
element codes for PLC-5 complex data tables.

Timer / Counter

Code

Description

0

Control

1

Preset

2

Accumulated

Control

Code

Description

0

Control

1

Length

2

Position

PD*

Code

Description

0

Control

2

SP

4

Kp

6

Ki

8

Kd

26

PV

*All PD values are floating point values, so they are two words long.

BT

Code

Description

0

Control

1

RLEN

2

DLEN

3

Data file #

4

Element #

5

Rack/Grp/Slot

MG

Code

Description

0

Control

1

Error

2

RLEN

3

DLEN