www.turck.com
• 1-800-544-7769
• Fax: (763) 553-0708
• TURCK • Minneapolis, MN 55441
35
Program Parameters Instruction
† Fixed when service set to “Set_Attribute_Single” .
Note:
This command writes parameter values to RAM and will be lost once power is cycled to the RM-89 . If you wish to use these
parameters after cycling power, you must issue a Save To Flash Instruction as described on page 36 .
Program Parameters Data Format
Twelve bytes of data must be written to the RM-89 as part of this instruction . Table 5 .2 lists the format of the data words . The
location of these words must be entered into the message instruction . For RSLogix 5000 programs, this location is called
“Source Element” . For RSLogix 500 programs, this location is called “Send Address” .
Byte
Word
Parameter
Description
0
1
Direction Count-
ing Toggle
“0” = Clockwise increasing counts looking at shaft .
“1” = Counter-Clockwise increasing counts looking at shaft .
1
Scaling Function
Control
“0” = Disable Scaling Function . The full resolution of 65,536 counts
per turn is used for the Measuring Units per Span .
“1” = Enable Scaling Function . The number of counts per turn is set
by the Measuring Units of Span parameter below .
2
2
Counts per Turn
Sets the number of counts generated over a single turn if
the Scaling Function Control parameter equals “1” . Always
sets the number of pulses per turn reported in velocity
data . This value ranges from 1 to 65,536 . A value of
39,370 (16#99CA) is shown to the right .
CA
3
99
4
3
00
5
00
6
4
Total Measure-
ment Range
Sets the number of counts before returning to zero . This
value is used regardless of the state of the Scaling Func-
tion Control parameter . Parameter ranges:
•
Single Turn RM-89:
Range of 0, 2 to 65,536
•
Multi-turn RM-89:
Range of 0, 2 to
268,435,456
A value of 648,000 (16#0009 E340) is shown to the right .
40
7
E3
8
5
09
9
00
10
6
Velocity Format
Format of the velocity data . Byte 11 must always equal
“1F” . Byte 10 = “04” for pulses/second, “05” for pulses/mil-
lisecond, “07” for pulses/minute or “0F” for revolutions/
minute . A value of “1F04” to the right would set the unit
of measure to pulses/second .
04
11
1F
Table 5 .2 Program Parameters Data Format
Table 5 .1 Explicit Message: Program Parameters Instruction
Service
Service
Code
Class
Instance
Attribute Source Length
Set_Attribute_Single
10(hex)†
4(hex)
67(hex)
3(hex)
12 bytes
Содержание DeviceNet RM-89
Страница 1: ...USER MANUAL MA1007 REV B Published 4 15 2015 RM 89 DeviceNet Resolver...
Страница 14: ...14 www turck com 1 800 544 7769 Fax 763 553 0708 TURCK Minneapolis MN 55441 TURCK RM 89 Notes...
Страница 38: ...38 www turck com 1 800 544 7769 Fax 763 553 0708 TURCK Minneapolis MN 55441 TURCK RM 89 Notes...