![AMCI ANR2 Скачать руководство пользователя страница 37](http://html1.mh-extra.com/html/amci/anr2/anr2_user-manual_2921188037.webp)
20 Gear Drive, Plymouth Ind. Park, Terryville, CT 06786
Tel: (860) 585-1254 Fax: (860) 584-1973 http://www.amci.com
37
CHAPTER 5
N
ETWORK
I
NPUT
D
ATA
F
ORMAT
Network Input Data
† When the channel is disabled, the data words for that channel are set to zero. It is possible to have one
channel disabled while the other is enabled.
Table 5.1 Network Input Data
32 Bit Sign/Magnitude Format
Position and A-D converter values are transmitted as thirty-two bit integers with sign/magnitude format. This
simplifies processing in PLC’s that do not support thirty-two bit signed integers. In this format, the most sig-
nificant bit of the first word is the sign bit. It is “0” when the value is positive and “1” when the value is neg-
ative. The remaining bits hold the absolute value, or magnitude, of the data. Table 5.2 shows the difference
between sign/magnitude and signed integer formats.
Table 5.2 Sign/Magnitude Data Format
Ladder logic examples to convert between sign-magnitude and signed integer formats are available in the
sample programs available on the AMCI website.
http://www.amci.com/sampleprograms.asp
This chapter covers the format of the Network Input Data read from the ANR2 by
your network host.
ANR2
Word
Power Up or
Configuration Mode
Alignment Mode
Measurement Mode
†
(Channel Disabled)
Measurement Mode
†
(Channel Enabled)
0
Module Status
Module Status
Module Status
Module Status
1
Channel 1 Status
Channel 1 Status
Channel 1 Status
Channel 1 Status
2
16#0000
Ch. 1 ADC Value
32 bit Sign/Magni-
tude format
16#0000
Ch. 1 Position Value
32 bit Sign/Magnitude
format
3
16#0000
16#0000
4
16#0000
16#0000
16#0000
Ch. 1 Velocity
16 bit max.
5
Channel 2 Status
Channel 2 Status
Channel 2 Status
Channel 2 Status
6
16#0000
Ch. 2 ADC Value
32 bit Sign/Magni-
tude format
16#0000
Ch. 2 Position Value
32 bit Sign/Magnitude
format
7
16#0000
16#0000
8
16#0000
16#0000
16#0000
Ch. 2 Velocity
16 bit max.
9
Reserved
Reserved
Reserved
Reserved
Sign/Magnitude
Signed Integer
MSW
LSW
Decimal Value
MSW
LSW
16#0001
16#0000
65536
16#0001
16#0000
16#0000
16#FFFF
65535
16#0000
16#FFFF
16#0000
16#0001
1
16#0000
16#0001
16#0000
16#0000
0
16#0000
16#0000
16#8000
16#0001
-1
16#FFFF
16#FFFF
16#8000
16#FFFF
-65535
16#FFFF
16#0001
16#8001
16#0000
-65536
16#FFFF
16#0000
Содержание ANR2
Страница 1: ...MICRO CONTROLS INC ADVANCED U s e r M anual Manual 940 0A032...
Страница 14: ...INTRODUCTION TO THE ANR2 ADVANCED MICRO CONTROLS INC 1 14 Notes...
Страница 18: ...OPERATING MODES ADVANCED MICRO CONTROLS INC 2 18 Notes...
Страница 32: ...INSTALLING THE ANR2 ADVANCED MICRO CONTROLS INC 3 32 Notes...
Страница 36: ...AMCI NET CONFIGURATOR SOFTWARE ADVANCED MICRO CONTROLS INC 4 36 Notes...
Страница 48: ...CONFIGURATION MODE DATA FORMAT ADVANCED MICRO CONTROLS INC 6 48 Notes...
Страница 58: ...ALIGNMENT MODE DATA FORMAT ADVANCED MICRO CONTROLS INC 7 58 Notes...