C
ONFIGURATION
M
ODE
D
ATA
F
ORMAT
SMD23E2 and SMD24E2 User Manual
ADVANCED MICRO CONTROLS INC.
62
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.
Table R5.2 Position Data Format Examples
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.
Multi-Word Format
32 bit Signed Integer
Little Endian Format
32 bit Signed Integer
Big Endian Format
Value
First Word
Second Word
First Word
Second Word
First Word
Second Word
12
0
12
16#000C
16#0000
16#0000
16#000C
-12
0
-12
16#FFF4
16#FFFF
16#FFFF
16#FFF4
1,234,567
1,234
567
16#D687
16#0012
16#0012
16#D687
-7,654,321
-7,654
-321
16#344F
16#FF8B
16#FF8B
16#344F
Содержание SMD23E2 Series
Страница 10: ...ABOUT THIS MANUAL SMD23E2 and SMD24E2 User Manual ADVANCED MICRO CONTROLS INC 10 Notes...
Страница 44: ...MOTION CONTROL SMD23E2 and SMD24E2 User Manual ADVANCED MICRO CONTROLS INC 44 Notes...
Страница 54: ...CALCULATING MOVE PROFILES SMD23E2 and SMD24E2 User Manual ADVANCED MICRO CONTROLS INC 54 Notes...
Страница 68: ...CONFIGURATION MODE DATA FORMAT SMD23E2 and SMD24E2 User Manual ADVANCED MICRO CONTROLS INC 68 Notes...
Страница 88: ...COMMAND MODE DATA FORMAT SMD23E2 and SMD24E2 User Manual ADVANCED MICRO CONTROLS INC 88 Notes...
Страница 124: ...ETHERNET IP EXPLICIT MESSAGING SMD23E2 and SMD24E2 User Manual ADVANCED MICRO CONTROLS INC 124 Notes...
Страница 128: ...MODBUS TCP CONFIGURATION SMD23E2 and SMD24E2 User Manual ADVANCED MICRO CONTROLS INC 128 Notes...
Страница 134: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC...