Ametek 953N Series Configuration Manual page 14

Readylink ethernet/ip ldt with rapidrecall
Table of Contents

Advertisement

The Position & Velocity values are each 4 bytes long, with byte 0 =
Least Significant byte and byte 3 = Most Significant Byte. These are
Hexadecimal values.
Ametek_LDT:I1.Data[0] =LSB byte
Ametek_LDT:I1.Data[1] = Byte 1
Ametek_LDT:I1.Data[2] = Byte 2
Ametek_LDT.I1.Data[3]=MSB byte
These can easily be converted in your ladder Logic to display in a
decimal format.
Transmitting position & velocity data in the 4 byte format is typically the
fastest and most efficient way. However; if this is causing a problem in
your programming you can use Assembly Instance 101. Instance 101 is
12 bytes in length. In Instance 101 positional and velocity data looks like
a decimal value in the correct order.
Another alternative way of viewing position and velocity data without
doing the copy and divide ladder logic as shown above. Assembly
Instance 1 or Assembly Instance 3 are 4 bytes and 8 bytes in length
respectively. Because they are divisible by 4, you can choose for them
to be displayed as a DINT type instead of a SINT type. This creates 1
variable for the position and 1 variable for the velocity.
The user selects either Assembly Instance 1 or Assembly Instance 3 in
the Module Definition and under Size then select DINT instead of SINT.
This is shown in the screen shot below.
Studio 5000 Screen shot. See Chapter 7 for further details.
Phone: 248-435-0700 Toll Free: 800-635-0289 Fax: 248-435-8120 www.ametekfactoryautomation.com
4.2.1.5 Position,
Velocity
(Instance 101)
Same as Instance 100, except 12 bytes in length. Position & Velocity
data will look like a decimal value in the correct order.
Buffer Offset
Length
Byte
Bit
0
0
4 bytes
Position
4
0
4 bytes
Velocity
0
1 bit
Lost Magnet
Signal
1
1 bit
Signal in DEAD
Zone
2
1 bit
Signal in NULL
Zone
3
1 bit
Extra Signals
4
1 bit
Position Above
32
Upper Limit
5
1 bit
Position Below
Lower Limit
6
1 bit
Velocity Above
Upper Limit
7
1 bit
Velocity Below
Lower Limit
8-31
12 bits
Reserved for
future use
Total size: 12 bytes
4.2.1.6 Configuration Assembly (Instance 110)
Buffer Offset
Length
Byte
Bit
0
0
2 bytes
Position Format
2
0
1 byte
Direction
Toggle
3
0
1 bytes
Reserved (set to 0)
4
0
4 bytes
Position Measuring
Increment
8
0
4 bytes
Position Low Limit
12
0
4 bytes
Position High Limit
16
0
2 bytes
Velocity Format
18
0
2 bytes
Reserved (set to 0)
20
0
4 bytes
Velocity Resolution
24
0
4 bytes
Minimum Velocity
28
0
4 bytes
Maximum Velocity
32
0
1 byte
Position Filter Type
33
0
1 byte
Velocity Filter Size
34
0
1 byte
Fault Output Type
35
0
1 byte
Sync Mode
Total size: 36 bytes
and
Status
Assembly
Mapped Attribute
Data
Cls
Inst
Attr
23h
1
10
23h
1
24
23h
1
44
23h
1
44
23h
1
44
23h
1
44
23h
1
21
23h
1
21
23h
1
47
23h
1
47
Mapped Attribute
Data
Cls
Inst
23h
1
Counting
23h
1
23h
1
23h
1
23h
1
23h
1
23h
1
23h
1
23h
1
23h
1
23h
1
23h
1
23h
1
FACTORY AUTOMATION
Bit
12
13
14
15
1
2
7
6
Attr
15
12
18
22
23
25
26
27
28
100
101
102
103
®
14

Advertisement

Table of Contents
loading

This manual is also suitable for:

957n series

Table of Contents