TM5SE1IC01024

Introduction

The TM5SE1IC01024 expansion electronic module is a 24 Vdc Expert input electronic module with 1 input channel for ABR incremental encoder.

For further information, refer to TM5SE1IC01024 Electronic Module 1 HSC INC 100 kHz 24 Vdc.

TM5 Module I/O Mapping Tab

Variables can be defined and named in the TM5 Module I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.

This table describes the I/O mapping configuration:

Channel

Type

Description

ModuleOK

BYTE

State of the compact I/O and electronic modules

DcOk

BOOL

Voltage range:

o0: Invalid

o1: Valid

reserved

BOOL

Reserved.

NetworkOk

BOOL

TM5 bus:

o0: Bus error

o1: OK

I/O Data valid

BOOL

Data validity:

o0: Valid

o1: Invalid

reserved

BOOL

Reserved

reserved

BOOL

Reserved

reserved

BOOL

Reserved

reserved

BOOL

Reserved

-

PowerSupply

BYTE

Status encoder supply

 

PowerSupply00

BOOL

Status encoder supply (0 = OK)

Inputs

Inputs

BYTE

State of all digital inputs

 

SignalA

BOOL

Encoder Signal A

SignalB

BOOL

Encoder Signal B

SignalR

BOOL

Encoder Signal R

DigitalInput00

BOOL

State of digital input 0

Encoder00

DINT

Incremental encoder

StatusInput00

BYTE

Status incremental encoder 00 (see below)

-

ReferenceModeEncoder00

BYTE

Reference mode incremental encoder 00

For further generic descriptions, refer to User-Defined Parameters Tab Description.

StatusInput00 Register

This register contains information regarding whether the referencing process is off, active, or complete.

This table describes the StatusInput00 register:

Bit

Description

0-1

Always 0

2

Bit is always 1 after the first reference impulse

3

Toggle after each completed reference

4

Bit is always 1 after the first reference impulse

5...7

Free-running counter, increased with each reference impulse

Example:

Register Value

Description

00000000 bin

00 hex

Referencing off or already in progress

00111100 bin

3C hex

First reference complete, reference value applied in the Encoder00 register

xxx11100 bin

xB hex

Bits 5...7 are changed sequentially with each reference impulse

xxx1x100 bin

xx hex

Bits changed continuously with the setting continuous referencing. With every reference impulse, the reference value is applied to the Encoder00 register.

ReferenceModeEncoder00 Register

This register determines the encoder reference mode.

This table describes the ReferenceModeEncoder00 register:

Bit

Value

Description

0-1

00

Referencing OFF

01

One-time reference (single shot)

11

Continuous referencing

2...5

0000

Bit permanently set = 0

6-7

00

Referencing OFF

Example:

Register Value

Description

00000000 bin

00 hex

Referencing OFF

11000001 bin

C1 hex

One-time reference (single shot)

When starting over after the referencing process is complete, set this register to 00 hex. Then wait until the StatusInput00 also takes on the value 00 hex. Only then can the value C1 hex be written.

11000011 bin

C3 hex

Continuous referencing, referencing occurs at every reference pulse.

User-Defined Parameters Tab

This table describes the TM5SE1IC01024 user-defined parameters configuration:

Name

Value

Default Value

Description

PresetABR01_32Bit

-2,147,483,648...2,147,483,647

0

Homing preset value for counter; the value set here is applied to the counter value upon completion of the referencing process.

ReferenceEdge

Off

rising

falling

Off

Selects edge of reference pulse for homing.

ReferenceEnableSwitch

low active

high active

low active

Digital input 01 configure edge.

ReferenceEnableSwitch

disabled

enabled

disabled

Enables/Disables the above parameter.