Módulo Encoder Rockwell
Módulo Encoder Rockwell
Modules
User Manual
Important User Information Solid state equipment has operational characteristics differing from those of
electromechanical equipment. Safety Guidelines for the Application,
Installation and Maintenance of Solid State Controls (Publication SGI-1.1
available from your local Rockwell Automation sales office or online at
http://literature.rockwellautomation.com/) describes some important
differences between solid state equipment and hard-wired electromechanical
devices. Because of this difference, and also because of the wide variety of
uses for solid state equipment, all persons responsible for applying this
equipment must satisfy themselves that each intended application of this
equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect
or consequential damages resulting from the use or application of this
equipment.
The examples and diagrams in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with any
particular installation, Rockwell Automation, Inc. cannot assume responsibility
or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to
use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without
written permission of Rockwell Automation, Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of
safety considerations.
POINT I/O, POINTBus, and RSLogix 5000 are trademarks of Rockwell Automation.
ControlNet is a trademark of ControlNet International, Ltd. DeviceNet is a trademark of Open DeviceNet Vendor Association, Inc.
Summary of Changes
This publication contains new and revised information not in the last
release.
See the table for a summary of the major changes in this manual.
Chapter Change
2 Addition of Before You Begin section
Change Bars
We marked with change bars (as shown with this paragraph) the areas
in this manual that are different from previous editions and indicate
the addition of new or revised information.
Notes:
Chapter 1
About the Modules What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 1-1
Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Counter Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Encoder Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Period/Rate Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Operation of Scalar . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Rate Measurement Mode . . . . . . . . . . . . . . . . . . . . . . . 1-7
New Data Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Default Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Operating Mode Features . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Operating Mode Features . . . . . . . . . . . . . . . . . . . . . . . 1-9
Chapter 2
Install the Modules What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 2-1
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Install the Mounting Base/Wiring Base Assembly . . . . . . . . 2-1
Install an I/O Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Install the Removable Terminal Block . . . . . . . . . . . . . . . . 2-4
Remove a Mounting Base . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Wire the Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Communicate with the Modules. . . . . . . . . . . . . . . . . . . . . 2-6
Default Data Map for the 1734-IJ/IK Counter Module . . 2-6
Configure Your Encoder/Counter Module . . . . . . . . . . . . . 2-7
Counter Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Filter Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Scalar Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Chapter 4
Configure Your Module What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 4-1
Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Add the Adapter to Your Network . . . . . . . . . . . . . . . . 4-1
Add I/O Modules to Your Network. . . . . . . . . . . . . . . . 4-2
Set Counter Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Check I/O Status and View/Edit the EDS File . . . . . . . . . . . 4-6
Chapter 5
Access Instantiated Instances What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 5-1
Using Instantiated Instances. . . . . . . . . . . . . . . . . . . . . . . . 5-1
Assemblies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Chapter 6
Troubleshoot with the Indicators What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 6-1
Use the Indicators for Troubleshooting . . . . . . . . . . . . . . . 6-1
Appendix A
Configure Modules in What This Appendix Contains . . . . . . . . . . . . . . . . . . . . . . A-1
RSLogix 5000 Understand Data, Connections, and Communication Formats A-1
Configure Your Module. . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Work with the Fault/Program Action Dialog . . . . . . . . . . . . A-4
Work with the Counter Configuration Dialog . . . . . . . . . . . A-5
Index
Purpose of This Manual Read this manual for information about how to install, configure and
troubleshoot your Encoder/Counter module.
Who Should Use This You must be able to use RSNetworx software or similar configuration
software to set up and calibrate these modules. You must have the
Manual capability to download and use Electronic Data Sheet files.
Related Products and For specification, safety approval, and other information refer to the
following.
Documentation
• Publication Number 1734-IN005
Encoder/Counter Installation Instructions
Term Definition
Lead Breakage Typically requires a shunt resistor (across the load) to detect
3 levels of current/input states -
Counter No None
Encoder No None
What This Chapter Contains Read this chapter to learn about types, features, and capabilities of
encoder/counter modules.
Module Description and Encoder/counter modules install into the Point I/O terminal base
(1734-TB or 1734-TBS) and interface with the Point I/O DeviceNet
Features Pass-through (1734-PDN) or the Point I/O DeviceNet Adapter
(1734-ADN).
Operating Modes The encoder/counter modules operate in the modes shown in the
table.
Mode Description
Counter Mode Read incoming single phase pulses, return a binary
count
Encoder Mode Read incoming 2 phase quadrature pulses, return a
binary count
Period/Rate Mode Count internal clocks during the On period, return a
frequency
Rate Measurement Mode Read pulses during the sample period, return a
frequency
Counter Mode
The counter mode reads incoming pulses and returns a binary number
(0 - 16,777,215max) to the POINTBus. The counter mode only accepts
single phase inputs. The module determines the Phase B input state,
and counts up or down accordingly.
A Input
Input A
B Direction
Input B
Z (Store Count)
Input Z
(Gate / Reset )
Single Phase Pulse Generator
1734-VHSC
B Input
Outputs
Count Updated
Continuously
0 1 2 3 2 1 0
Encoder Mode
The two basic encoder types are absolute and incremental. A single
output incremental encoder is called a tachometer encoder. A dual
channel incremental encoder with one channel leading the other by
90° is called a quadrature encoder.
EXAMPLE
Example of Multiplying Encoder Mode X1
A
Input A
B
Input B
Z (Store Count)
Input Z
(Gate / Reset )
Quadrature Encoder
1734-VHSC
Forward Rotation Reverse Rotation
A Input
B Input
1 2 3 2 1 0
X1 Count
1 2 3 4 5 6 5 4 3 2 1 0
X2 Count
Outputs
1 2 3 4 5 6 7 8 9 10 11 12 11 10 9 8 7 6 5 4 3 2 1 0 Updated
X4 Count Continuously
This mode determines the frequency and total number of input pulses
by counting the number of internal 5MHz clock pulses over a
user-specified number of input signal pulses. At the end of the
specified number of pulses, the module returns the frequency
(0 - 1 MHz).
EXAMPLE
Example of Period/Rate Mode
A ( Not Used )
Input A
B ( Not Used )
Input B
Z
Input Z
(Gate / Reset )
Encoder / Pulse Generator Scalar
5 MHz Clk
1734-IJ/IK
Z Input ( Pulse )
5 MHz Internal
Sampling Clock 1 10 20 Frequency
Updated Here
Accumulated Count
Assumes symmetrical pulse, 50% duty cycle, so Period = Sample Time On X 2 {On & Off}
Frequency = 1 / Period If Count = 20, Scalar = 1, and Clock Period = ( 1 / 5 MHz )
Frequency = 1 / [ ( 20 / 1 ) X ( 1 / 5 MHz ) X 2 ] = 125 kHz
Scaling the input frequency through the use of a scalar can lessen the
decrease in accuracy. A scalar value of 1 returns an accurate input
frequency only if incoming input pulses have a 50% duty cycle.
Operation of Scalar
In the Period/Rate mode, the scalar lets the incoming pulse train at the
Z Gate/Reset pin be divided by a user-defined number. There is one
scalar value for each counter. Acceptable values for the scalar are 1,
2, 4, 8, 16, 32, 64, and 128. The default value for each scalar is 1.
Note that a “0” scalar is equivalent to a “1”.
The product of the Sample Period times the scalar should be less than
6.71 seconds in order to avoid a zero frequency detect indication.
When the count and frequency update, any associated outputs are
checked against their associated presets. Frequency is calculated by
dividing the accumulated count by the user selected time period, and
is returned in the read data. Allowable time periods are 10ms to 3s in
10ms increments, with a default value of 1s. Note that a “0” time
period is equivalent to the 1s default.
EXAMPLE
Example of Rate Measurement Mode
A Input
Input A
B ( Not Used )
Input B
Z ( Not Used )
Input Z
(Gate / Reset )
Encoder/Pulse Generator Time Base
1734-IJ/IK
A Input ( Pulse )
To use these bits reliably, acquisition of data from the Counter Module
must occur faster than the events, which cause C1/C0 to increment.
When C1/C0 is updated, a Change Of State (COS) message can be
sent.
Default Configuration
• Counter Mode
• 50Hz filter on A, B and Z
• No time base
• Rollover = 0x00FFFFFF
• Preset = 0
• No scalar
• Counter Control Safe State = 0
Operating Mode Features The following table summarizes which features are active in each
mode:
Preset Y Y N N
Rollover Y Y N N
Software Reset Y Y Y Y
Sample Period N N N Y
• Store/Continue
• Store/Wait/Resume
• Store-Reset/Wait/Start
• Store-Reset/Start
Store/Continue
Read, Store Count,
and Continue Counting
Store/Wait/Resume
Stop Counting
Store-Reset/Wait/Start
Store-Reset/Start
Start Counting
Store Count,
and Reset to zero Continue Counting
What This Chapter Contains Read this chapter for information about how to install Encoder/
Counter modules.
• ControlNet adapters
with RSLogix 5000 software, version 11 or higher
• DeviceNet adapters
• EtherNet/IP adapters
with RSLogix 5000 software, version 11 or higher
• PROFIBUS adapters
Install the Mounting Base The wiring base assembly (1734-TB or 1734-TBS) consists of a
mounting base (cat. no. 1734-MB) and a removable terminal block
and Wiring Base Assembly (catalog number 1734-RTB or 1734-RTBS).
You can install the assembly, or just the mounting base. To install the
mounting base and wiring base assembly on the DIN rail, proceed as
follows.
1
at u
St od
M
D s rk
O atu o
St etw
N
E:
N
O ou DC
pu e
S 4V
ut rc
t
2
B 4
O 73
4E
3
Mechanical Keying
(orange) RTB Removing Handle
DIN Rail Locking Screw
(orange)
Ne
Stattwor
NO us k
DE
:
24
So VDC
Ouurce
tput
0
17
OB34
4E
Install the Module Install the module before or after base installation. Make sure that you
correctly key the mounting base before installing the module into the
mounting base. In addition, make sure you position the mounting
base locking screw horizontal, as referenced to the base.
WARNING
When you insert or remove the module while
backplane power is on, an electrical arc can occur.
This could cause an explosion in hazardous location
installations.
Be sure that power is removed or the area is
nonhazardous before proceeding. Repeated electrical
arcing causes excessive wear to contacts on both the
module and its mating connector. Worn contacts may
create electrical resistance that can affect module
operation.
Notch
(position 3 shown) 44009
44010
us le
at u
St od
M
D s rk
O a tu o
S et t w
N
E:
N
O ou DC
pu e
S 4V
u t rc
t
2
B 4
O 73
4E
3
1
44012
Install the Removable A removable terminal block comes with your mounting base
assembly. Pull up on the RTB handle to remove, and replace as
Terminal Block necessary without removing any of the wiring. To reinsert the
removable terminal block, proceed as follows.
1. Insert the RTB end opposite the handle into the base unit.
This end has a curved section that engages with the mounting
base.
2. Rotate the terminal block into the mounting base until it locks
itself in place.
WARNING
When you connect or disconnect the removable
terminal block (RTB) with field-side power applied,
an electrical arc can occur. This could cause an
explosion in hazardous location installations. Be
sure that power is removed or the area is
nonhazardous before proceeding.
Remove a Mounting Base To remove a mounting base, remove any installed module and the
removable terminal block (if wired).
WARNING
When you connect or disconnect the removable
terminal block (RTB) with field-side power applied,
an electrical arc can occur. This could cause an
explosion in hazardous location installations.
Be sure that power is removed or the area is
nonhazardous before proceeding.
3. Press in on the module lock on the top of the module and pull
up on the I/O module to remove from the base.
4. Remove the module to the right of the base you are removing.
Module Status
Network
Status of Input A
Status of Input B
Status of Input Z
0 1
A Aret
2 3
B Bret
4 5
Z Zret
Termination Definition
0 A
1 Aret
2 B
3 Bret
4 Z
5 Zret
6 Chassis ground
7 Chassis ground
Communicate with Your POINT I/O modules send (consume) and receive (produce) I/O
messages. You map these messages into the processor’s memory.
Module
This module produces 6 or 10 bytes of input data (scanner Rx)
(status). It consumes 1 byte of I/O data (scanner Tx). Use parameters
11 and 12 to select assembly 101, 102, or 103 for data produced by the
module.
Message size:
07 06 05 04 03 02 01 00
Consumes (scanner Tx) 0 0 0 0 0 VR CP CR
Where:VR = Value reset of stored/accumulated count
CP = Counter preset
CR = Counter reset
Module Configuration
Parameter Set/Get Description Bytes
1 Set/Get Counter Configuration 1
2 Set/Get Filter Selection 1
3 Set/Get Decimal Position 1
4 Set/Get Reserved 1
5 Set/Get Time Base Value 2
6 Set/Get Gate Interval 1
7 Set/Get Channel Scalar 1
8 Set/Get Channel Rollover Value 4
9 Set/Get Channel Preset Value 4
10 Set/Get Counter Control Safe State 1
11 Set/Get Requested Poll Produce Assembly 1
12 Set/Get Requested Change of State Produce Assembly 1
Counter Configuration
07 06 05 04 03 02 01 00
ZI MD CF Counter 0
0 0 0 0 Counter
0 0 0 1 Encoder X1
0 0 1 0 Encoder X2
0 0 1 1 Not used
0 1 0 0 Encoder X4
0 1 0 1 Period/Rate
0 1 1 0 Not used
0 1 1 1 Rate Measurement
0 0 0 Store Count Disabled
0 0 1 Mode 1 - store-continue
0 1 0 Mode 2 - store-wait-resume
0 1 1 Mode 3 - store, reset-wait-start
1 0 0 Mode 4 - store, reset-start
1 0 1 Reserved
1 1 0 Reserved
1 1 1 Reserved
0 Z input - 0 = not inverted
1 Z input - 1 = inverted
Filter Selection
07 06 05 04 03 02 01 00
0 ZF BF AF FS
0 0 0 0 No Filter
0 0 0 1 50kHz (10µs + 0µs/-1.6µs)
0 0 1 0 5kHz (100µs + 0µs/-13.2µs)
0 1 0 0 500Hz (1.0ms + 0µs/-125µs)
1 0 0 0 50Hz (10ms + 0ms/-1.25ms)
0 A input not filtered
1 A input filtered
0 B input not filtered
1 B input filtered
0 Z input not filtered
1 Z input filtered
Scalar Selection
07 06 05 04 03 02 01 00 Scalar1
0 0 0 0 0 0 0 1 Z - Fmin = 0.149Hz
1 Where Fmin indicates the frequency at which the zero frequency detect is asserted
due to counter overflow.
Assemblies
The Encoder and Counter Module uses several words to communicate real-time
input and output data as well as non-real-time module information (for example,
description, revision, etc.) and configuration. This shows the words that you can
exchange. You can read (get) or write (set) data using an Explicit Message.
Instance Services Field Bytes
#101 (0x65) Get Present Channel Data 4
Status 2
#102 (0x66) Get Stored Channel Data 4
Status 2
#103 (0x67) Get Present Channel Data 4
Stored Channel Data 4
Status 2
#104 (0x68) Get Programming Error Code 2
#105 (0x69) Set/Get Counter Control 1
#106 (0x6a) Set/Get Counter Configuration 1
Filter Selection 1
Decimal Position 1
Reserved 1
Time Base 2
Gate Interval 1
Scalar 1
Rollover Value 4
Preset Value 4
Counter Control SSV 1
#123 (0x7b) Set/Get Counter Configuration 1
Filter Selection 1
Decimal Position 1
Reserved 1
Time Base 2
Gate Interval 1
Scalar 1
Rollover Value 4
Preset Value 4
Counter Control SSV 1
Alignment (reserved = 0) 1
That This Chapter Contains Read this chapter to learn about the input/output data table of your
1734-IJ and 1734-IK.
Data Table See the table for a complete format of the input/output data..
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 0
Input Information
Present Channel Data 32-bit Value of the present counter state
Status PE EF NR 0 0 0 0 0 0 ZS BS AS C1 C0 ZD 0
Programming Error Code PE 0 0 0 0 E10 E9 E8 E7 E6 E5 E4 E3 E2 E1 E0
Output Information
Counter Control 0 0 0 0 0 VR CP CR
Configuration Information
Counter Configuration ZI MD MD MD CF CF CF CF
Filter Selection 0 ZF BF AF FS FS FS FS
Decimal Position 8-bit value used to modify the present channel data display
Reserved
Time Base 16-bit value used to set the time base
Gate Interval 8-bit value used to set the gate interval
Scalar 8-bit value used to divide the Z input by 2n
Rollover Value 32-bit value at which the counter is commanded to rollover
Preset Value 32-bit value the counter is to be set to when CP is asserted
Counter Control SS Value 0 0 0 0 0 VR CP CR
E10: Reserved
E9: The decimal point position is outside of acceptable range.
E8: Reserved
E7: Reserved
E6: A configuration was selected that requires the scalar and none
was programmed OR Multiple scalars were selected.
E5: The preset is out of range ( > 0x00FFFFFF).
E4: A rollover of zero was programmed OR Rollover is out of
range ( > 0x01000000).
E3: A configuration requiring time base was selected and no gate
interval was set OR Gate interval is out of range ( > 200) OR
Product of time base and gate interval is greater than 3
seconds.
E2: A time base was entered that is not a multiple of 10 OR Time
base is out of range ( > 3000, or 3 seconds).
E1: ZF/BF/AF were selected and no filter was programmed OR
Multiple filters were selected.
E0: A reserved configuration/mode was programmed.
Z input Status (ZS) - This bit indicates the present status of the Z
input (1 indicates Z is ON, 0 indicates Z is OFF). This bit is unaffected
by Z Invert, ZI, in the Counter Configuration word.
B input Status (BS) - This bit indicates the present status of the B
input (1 indicates B is ON, 0 indicates B is OFF).
A input Status (AS) - This bit indicates the present status of the A
input (1 indicates A is ON, 0 indicates A is OFF).
Configuration Data The following represents the configuration data used by the module.
07 06 05 04 03 02 01 00
ZI MD CF Counter 0
0 0 0 0 Counter
0 0 0 1 Encoder X1
0 0 1 0 Encoder X2
0 0 1 1 Reserved
0 1 0 0 Encoder X4
0 1 0 1 Period/Rate
0 1 1 0 Reserved
0 1 1 1 Rate Measurement
0 0 0 Store Count Disabled
0 0 1 Mode 1 - store/continue
0 1 0 Mode 2 - store/wait/resume
0 1 1 Mode 3 - store, reset/wait/start
1 0 0 Mode 4 - store, reset/start
1 0 1 Reserved
1 1 0 Reserved
1 1 1 Reserved
0 Z input - 0 = not inverted
1 Z input - 1 = inverted
Filter Selection
07 06 05 04 03 02 01 00
0 ZF BF AF FS
0 0 0 0 No Filter
0 0 0 1 50kHz (10µs + 0µs/-1.6µs)
0 0 1 0 5kHz (100µs + 0µs/-13.2µs)
0 1 0 0 500Hz (1.0ms + 0µs/-125µs)
1 0 0 0 50Hz (10ms + 0ms/-1.25ms)
0 A input not filtered
1 A input filtered
0 B input not filtered
1 B input filtered
0 Z input not filtered
1 Z input filtered
Word 4 is reserved.
The gate interval byte sets the counter’s gate intervall using the time
base setting (16-bit word 5) as its time unit. (its resolution is
determined by the time base). The actual gate interval is the product
of the time base and the gate interval (ex: 50ms gate interval may be
produced with a time base of 10 and a gate interval of 5 or a time
base of 50 and a gate interval of 1). The maximum value of the
product of time base x gate interval is 3 seconds. The gate interval
must be entered when rate measurement [7] configurations are used.
The maximum value is 200.
This bytel scales the Z signal in the period/rate [5] configuration. If the
filter is applied, then the filtered Z is scaled. Only one bit of the scalar
should be set. Selecting a scalar will cause accumulated counts to be
adjusted accordingly (selecting a scalar of 128 will increase the
accumulated count by 128 after 128 Z pulses have been received). We
highly recommend that anytime Z is scaled (divide by 2, 4, 8), the Z
input should be filtered, otherwise, noise could cause erroneous
frequency readings.
Scalar Selection
07 06 05 04 03 02 01 00 Scalar1
0 0 0 0 0 0 0 1 Z - Fmin = 0.149Hz
0 0 0 0 0 0 1 0 Z/2 - Fmin = 0.298Hz
0 0 0 0 0 1 0 0 Z/4 - Fmin = 0.596Hz
0 0 0 0 1 0 0 0 Z/8 - Fmin = 1.192Hz
0 0 0 1 0 0 0 0 Z/16 - Fmin = 2.384Hz
0 0 1 0 0 0 0 0 Z/32 - Fmin = 4.768Hz
0 1 0 0 0 0 0 0 Z/64 - Fmin = 9.537Hz
1 0 0 0 0 0 0 0 Z/128 - Fmin = 19.073Hz
1 Where Fmin indicates the frequency at which the zero frequency detect is asserted
due to counter overflow.
This long word sets the number of counts the counter will
accumulate before rolling over. For example, a value of 1000 will
produce a count sequence of: 998, 999, 0, 1, 2…while incrementing
or 2, 1, 0, 999, 998…while decrementing. Rollover is a 32 bit number
with a useable range of 1 ≤value ≤0x01000000 (16,777,216). In count
[0], x1 encoder [1], x2 encoder [2] and x4 encoder [4] configurations, it
should be specified to some non-zero value; and in period/rate [5],
and rate measurement [7] configurations is a ‘don’t care’.
This long word sets the preset value the counter will be loaded with,
when a Counter Preset, CP, command is issued. Preset is a 32 bit
number with a range of 0 ≤value ≤0x00FFFFFF (16,777,215).
Communicate Real The Encoder/Counter Module uses several words to communicate real
time input and output data as well as non-real time module
Time/Nonreal Time information (such as description and revision) and configuration.
Information
Assembly 101 is produced for a polled connection. Assembly 102 is
produced for a Change Of State (COS) connection. Assemblies 103,
104, and 106 are by Explicit message only. Assembly 105 is consumed
in a polled connection.
Data may be read (get) or written (set) using an Explicit Message. For
example, to read the Present Channel Data, assembly 10110 (6516) can
be requested. The following table shows the words which can be
exchanged.
What This Chapter Contains This chapter describes how to configure your Encoder/Counter
modules with RSNetworx.
Configuration Overview You must use the RSNetworx for DeviceNet software to configure
your module. You can configure the module while it is:
• online
or
• offline
After you add the communication device, you must add the POINT
I/O modules connected to the scanner on the PointBus.
The out-of-the-box node setting for 1734 modules is 63. You can
change the setting by using the node commissioning tool. The node
commissioning tool is available either online or offline.
4
5
Set Counter Parameters After adding the module to the network, you must configure the
modules for use.
1. Right-click on the module. You can also left click on the module or name
and the property dialog will pop up.
2. Click on Properties to
configure your adapter.
You will see a pop-up dialog with a series of tabs. Each tab provides
options view or edit.
PointBus Configuration
Status
Check I/O Status and View View the I/O defaults setup, and the EDS file by clicking on the
appropriate tab.
the EDS File
Notes:
What This Chapter Contains In this chapter, you learn how to access imbedded Instantiated
Instances (assemblies) in the software. The Encoder/Counter Module
uses several words to communicate real time input and output data as
well as non-real time module information (such as description and
revision) and configuration. These words have been preprogrammed
into Instantiated Instances.
Using Instantiated
Instances
Click on the module to
select the Class
Instance Editor.
4. Click on Execute to
initiate the action.
For example:
If you select Instance 101 (polled connection), the dialog looks like
this.
1. Type in the instance number
here. This is an example of
assembly number 102 (0x66).
(The class is always 4 and the
attribute is always 3.)
2. Click on execute.
Data may be read (get) or written (set) using an Explicit Message. For
example, to read the Present Channel Data, assembly 10110 (6516) can
be requested.
Troubleshoot with the See the figures that show the 5 indicators on the frontplate of each
module. Use these indicators for troubleshooting.
Indicators
1734-IJ 1734-IK
Module Status
Network Status
Status of Input A
Status of Input B
Status of Input Z
What This Appendix Read this appendix for information about how to configure your
modules in RSLogix 5000 software, including how to complete entries
Contains on the following dialogs.
• Fault/Program Action
• Counter Configuration
Understand Data, Before you configure your modules, note the following about Data
formats and Connection types.
Connection, and
Communication Formats • Data format type is Integer.
• Connection types are as follows.
• Data
• Listen Only
When you change Connection and Data Format, note the following.
Once you apply new settings, this becomes the base configuration for
the next change in Connection and Data Format settings. When you
select Apply, you lose all configuration data from previous data
formats.
See the table for a listing of tags and dialogs based on Connection
type.
Configure Your Module To configure your module in RSLogix 5000, complete the following.
• Inhibit Module
• Major Fault On Controller If Connection Fails
While in Run Mode
Use the Help Button From the Fault/Program Action and Counter Configuration dialogs,
click Help at the bottom of the dialog for information about how to
complete entries on the dialogs.
From a warning dialog, click Help at the bottom fo the dialog to get
information about that specific error.
Work with the In Hard Run mode, you disable all controls on the Fault/Program
Action, in addition to the enable and disable state for each control.
Fault/Program Action Complete these entries from the dialog.
Dialog
Check This To
Checkbox
Counter Reset Reset the counter
Counter Preset Set the value of the counter, as specified by the preset words
Value Reset Reset the value of the accumulated (stored) count
Work with the Counter Complete entries as follows from the Counter Configuration dialog.
Configuration Dialog
• Counter (default)
• Encoder X1, Encoder X2, or Encoder X4
• Period/Rate
• Rate Measurement
If You Selected This for Type For This Value Select Comments
Counter (default) Store Count Store Count Disabled Default is Store Count Disabled.
Encoder X1 Mode Store-Continue Select an option to determine which mode you use
Encoder X2 Store-Wait-Resume for operating the Z Gate/Reset Terminal,
Encoder X4 Store, Reset-Wait-Start
Store, Reset-Start
Rollover 1 to 16777216 Default is 16777215.
Select a value greater than the value for Preset.
Preset 0 to 16777215 Default is 0.
Select a value smaller than the value for Rollover.
Counter 0 to 255 Default is 1.
Attenuator Select a value to attenuate the counter display.
Period/Rate Frequency X 0.0001 Default is X1.
Rate Measurement Precision X 0.001 Select a value to multiply the frequency by the factor
X 0.01 selected.
X 0.1
X1
X 10
X 100
Gate Multiplier 1 to 200 Default is 1.
Select a value so that the product of Gate Multiplier
and Time Base does not exceed 3 seconds
(3000 milliseconds).
Time Base 10 to 3000 milliseconds Default is 1000.
in multiples of 10
Actual Gate You do not make a This is the product of Gate Multiplier and Time Base.
Interval selection, as this is a static An acceptable value is less than 3 seconds
field you do not configure. (3000 milliseconds).
4. For Filter, select the Frequency from the following, which is the
value you use to filter A/B/Z inputs when you check a
corresponding checkbox.
• No Filter
• 50 kHz
• 5 kHz
• 500 Hz
• 50 Hz (default)
5. Check the checkboxes for the following, which use the value
you selected for Filter.
• Filter A
• Filter B
• Filter Z
If you apply the filter, you scale the filtered Z. The value you
chose for Scalar scales the Z signal for the following
configurations.
• Period/Rate
• Continuous/Rate
• Pulse Generator
• 16
• 32
• 64
• 128
A I
adding modules to the network 4-2 input word - present channel data 3-2
adding the communication device 4-2 installation, module 2-2
assembly selection 3-8 installation, removable terminal block 2-4
B K
base assembly, mounting 2-1 keyswitch position 2-3
C M
CE directives P-2 module installation 2-2
checking I/O status 4-6 module/channel error bits 3-2
class instance attribute editor 5-2 mounting base, removal 2-4
class instance editor 5-1 mounting, base assembly 2-1
configuration 4-1
configuration, default 1-8
N
counter mode 1-2
counter mode operation 1-2 new data indicator 1-8
D O
data table - complete format 3-1 operation - counter mode 1-2
decimal position - frequency or counter display 3-6 operation - encoder mode 1-3
default configuration 1-8 operation - rate measurement mode 1-7
directives, European Union P-2 operation - scalar 1-6
E P
encoder mode 1-2 period rate mode - operation 1-5
encoder mode operation 1-3 period/rate mode 1-2
present channel data 3-2
preset configuration 3-7
F
format - data table 3-1
R
rate measurement mode 1-2
G rate measurement mode operation 1-7
gate interval 3-6 rollover configuration 3-7
You can complete this form and mail (or fax) it back to us or email us at
[email protected]
Cat. No. !734-IJ and 1734-IK Pub. No. 1734-UM006B-EN-P Pub. Date August 2005 Part No. 957974-39
Please complete the sections below. Where applicable, rank the feature (1=needs improvement, 2=satisfactory, and 3=outstanding).
Overall Usefulness 1 2 3 How can we make this publication more useful for you?
Other Comments You can add additional comments on the back of this form.
Your Name
Your Title/Function Would you like us to contact you regarding your comments?
Location/Phone ___No, there is no need to contact me
___Yes, please call me
___Yes, please email me at _______________________
___Yes, please contact me via _____________________
Return this form to: Rockwell Automation Technical Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705
Fax: 440-646-3525 Email: [email protected]
Other Comments
PLEASE REMOVE
PLEASE FOLD HERE
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES