beautypg.com

Rockwell Automation 1794-ID2 U.MNL INCREMENTAL ENCODER User Manual

Page 68

background image

6–6

Input, Output and Configuration Files for Analog Modules when used with ControlNet

Publication 1794ĆUM015B-EN-P - May 2001

Incremental Encoder Module (1794ĆID2) Image Table Mapping

Module Image

ControlNet Files

Input File Size

Output File Size

0 to 4 Words

1 to 8 Words

G0 Z0 B0

A0

S1

S0 C1 C0

R

Z1

G1

A1

B1

PD0

PD1

Store 0 - Stored Counter Value on channel 0

Channel 0 - current counter value

Channel 1 - current counter value

Channel 0 - Counter word readback

Code for identification of software version

Channel 0 Control Word - Sets the function of counter 0

Channel 0 Preset - value to load or compare with counter 0

Channel 1 Preset - value to load or compare with counter 1

Store 1 - Stored Counter Value on channel 1

Channel 1 - Counter word readback

Channel 1 Control Word - Sets the function of counter 1

Configuration File Size

0 to 4 Words

Channel 0 Control Word - Sets the function of counter 0

Channel 0 Preset - value to load or compare with counter 0

Channel 1 Preset - value to load or compare with counter 1

Channel 1 Control Word - Sets the function of counter 1

Bit/Word Definitions for Block Transfer Read Words

for the

Pulse Counter Module

Input Word

Bit

Definition

Bit 00

Status for input A (pulse transmitter 0) - This bit, when set, indicates a signal at A.

Bit 01

Status for input B (pulse transmitter 0) - This bit, when set, indicates a signal at B.

Input Word

Bit 02

Status for input Z (pulse transmitter 0) - This bit, when set, indicates a signal at Z.

p

0

Bit 03

Status for input G (pulse transmitter 0) -This bit, when set, indicates a signal at G.

Bit 04

Status for input A (pulse transmitter 1) - This bit, when set, indicates a signal at A.

Bit 05

Status for input B (pulse transmitter 1) - This bit, when set, indicates a signal at B.