EasyManua.ls Logo

Advanced Micro Controls Inc. SMD17E2 - Data Format (Continued)

Default Icon
134 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CONFIGURATION MODE DATA FORMAT
SMD17E2 User Manual
ADVANCED MICRO CONTROLS INC.
60
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 SMD17E2 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 SMD17E2.
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

Table of Contents