Advanced Micro Controls Inc. SMD23E2 User Manual page 60

Integrated stepper indexer/driver/motor with integral 2-port ethernet switch, device level ring functionality for ethernet/ip, media redundancy protocol for profinet
Table of Contents

Advertisement

C
ONFIGURATION
Command Mode Data Formats (continued)
Likewise, when reading data back from a unit while it is in Command Mode, there are values that are larger
than sixteen bits. These data values are:
Motor Position
Encoder Position
Captured Encoder Position
By default, these thirty-two bit parameters and data values are written to and read from the SMD23E2 or
SMD24E2 using the multi-word format described above. When configuring the unit, it is possible to program
it to use a 32-bit double integer format instead of the custom format shown above.
There are two separate programming bits. The Binary_Output_Format Bit, controls the format of the pro-
grammable parameters written to the unit when issuing commands. The Binary_Input_Format Bit, controls
the format of the data values written to the host controller by the SMD23E2 or SMD24E22.
When using the signed thirty-two bit format, there is an additional parameter named Binary_Endian. Siemens
processors typically use big endian format, but you should refer to your PLC's documentation to verify the
format used by your processor.
Examples of the formats are given below.
Value
12
-12
1,234,567
-7,654,321
The range of values when using the multi-word format is -32,768,000 to 32,767,999. When
used in continuous rotation applications, such as control of a conveyor belt, it is possible to
overflow these values. When any of the three position values overflow, the value of the associ-
ated data words will become indeterminate. AMCI strongly suggests using the signed 32-bit
integer format for continuous rotation applications.
60
M
D
F
ODE
ATA
ORMAT
Multi-Word Format
First Word
Second Word
0
12
0
-12
1,234
567
-7,654
-321
Table R5.2 Position Data Format Examples
32 bit Signed Integer
Little Endian Format
First Word
Second Word
16#000C
16#0000
16#FFF4
16#FFFF
16#D687
16#0012
16#344F
16#FF8B
ADVANCED MICRO CONTROLS INC.
SMD23E2 and SMD24E2 User's Manual
32 bit Signed Integer
Big Endian Format
First Word
Second Word
16#0000
16#000C
16#FFFF
16#FFF4
16#0012
16#D687
16#FF8B
16#344F

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SMD23E2 and is the answer not in the manual?

This manual is also suitable for:

Smd24e2

Table of Contents