Рук_п_16ДуДк (1031887), страница 10

Файл №1031887 Рук_п_16ДуДк (Раздаточный материал к курсовому проекту) 10 страницаРук_п_16ДуДк (1031887) страница 102017-12-22СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 10)

The(data) from all channels is shown in sequence from 7 to0. If (data) = “ ”, it means the channel is invalid.(cr) is the terminating character, carriage return (0Dh)6-46ADAM-5000Chapter 6#aaSiExample#aaSicommand: #12S1(cr)response: +1.4567 +1.4852 +1.4675 +1.4325 +1.4889+1.4235 +1.4787 +1.4625(cr)The command requests the analog input module in slot 1of the ADAM-5000 system at address 12h to return theinput values of all channels.The analog input module responds that input values ofall channels are in sequence from 7 to 0: +1.4567,+1.4852, +1.4675, +1.4325, +1.4889, +1.4235, +1.4787 and+1.4625.ADAM-50006-47Command Set5017/5018 Analog Input#aaSiCjName#aaSiCjSpecified Analog Data InDescription Returns the input value of a specified channels for aspecified analog input module of a specified system inengineering unit only.Syntax#aaSiCj(cr)# is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want tointerrogate.Si identifies the I/O slot you want to interrogate.Cj identifies the channel you want to read.(cr) is the terminating character, carriage return (0Dh)Response>(data) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.> is a delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.(data) is the input value in engineering units of thespecified channel for a specified analog input module ofthe specified system.

If (data) = “ ”, it means thechannel is invalid.(cr) is the terminating character, carriage return (0Dh)6-48ADAM-5000Chapter 6#aaSiCjExample#aaSiCjcommand: #22S2C2(cr)response: >+1.4567The command requests the analog input module in slot 2of the ADAM-5000 system at address 22h to return theinput value of channel 2.The analog input module responds that the input valueof channel 2 is +1.4567.ADAM-50006-49Command Set5017/5018 Analog Input$aaSiERName$aaSiERInitialize EEPROM dataDescription Initializes all EEPROM data in a specified analog inputmodule to their default values. This command is sentfollowing a failed attempt to calibrate a module (themodule shows no effect from an attempted calibration).Following initialization, the problem module shouldreadily accept calibration.Syntax$aaSiER(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.Si identifies the I/O slot for which you wish to initializeall EEPROM data.ER is Initialize all EEPROM data command.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)6-50ADAM-5000Chapter 6$aaSiØName$aaSi0Span CalibrationDescription Calibrates a specified analog input module to correct forgain errorsSyntax$aaSiØ(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which is to becalibrated.Si identifies the I/O slot which is to be calibrated.Ø represents the span calibration command.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)Note:ADAM-5000In order to successfully calibrate an analog inputmodule's input range, a proper calibration input signalshould be connected to the analog input modulebefore and during the calibration process.

(See alsoChapter 4, Section 4.5 on Calibration)6-51Command Set5017/5018 Analog Input$aaSi1Name$aaSi1Zero CalibrationDescription Calibrates a specified analog input module to correct foroffset errorsSyntax$aaSi1(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which is to becalibrated.Si identifies the I/O slot which is to be calibrated.1 represents the zero calibration command.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)Note:6-52In order to successfully calibrate an analog inputmodule's input range, a proper calibration input signalshould be connected to the analog input modulebefore and during the calibration process.

(See alsoChapter 4, Section 4.5 on Calibration)ADAM-5000Chapter 6$aaSi3Name$aaSi3CJC Status Command (ADAM-5018 only)Description Returns the value of the CJC (Cold Junction Compensation) sensor for a specified analog input moduleSyntax$aaSi3(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.Si identifies the I/O slot which contains the CJC Statusyou wish to retrieve.3 is CJC Status command.(cr) is the terminating character, carriage return (0Dh)Response>(data)(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.>delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(data) is the value that is retrieved by the module byreading its CJC sensor.

The data format, in degreesCelsius, consists of a “+” or “-” sign followed by fivedecimal digits and a fixed decimal point. The resolutionof the data is 0.1°C.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-53Command Set5017/5018 Analog Input$aaSi3Example$aaSi3command: $09S13(cr)response: >+0036.8(cr)The command requests the analog input module in slot 1of the ADAM-5000 system at address 09h to read itsCJC sensor and return the data. The analog inputmodule responds with 36.8°C.6-54ADAM-5000Chapter 6$aaSi9shhhhName$aaSi9shhhhCJC Zero Calibration (ADAM-5018 only)Description Calibrates an analog input module to adjust for offseterrors of its CJC (Cold Junction Compensation) sensorSyntax$aaSi9shhhh(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.Si identifies the I/O slot which contains the CJC Statusyou wish to retrieve.9 is CJC Status command.s sign, + or -, indicates whether to increase or decreasethe CJC offset value.hhhh is a four character hexadecimal “count” value.Each count equals approximately 0.009°C.

The value canrange from 0000 to FFFF.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-55Command Set5017/5018 Analog Input$aaSi9shhhh$aaSi9shhhhExamplecommand: $07S29+0042(cr)response: !07(cr)The command increases the CJC offset value of theanalog input module in slot 2 of the system at address07h with 66 counts (42 hex) which equals about 0.6°C.Note:6-56An analog input module requires a maximum of 2seconds to perform auto calibration and ranging afterit receives a CJC Calibration command.

During thisinterval, the module cannot be addressed to performany other actions.ADAM-5000Chapter 66.6 ADAM-5017H Analog Input Command SetCommandSyntaxCommandName$aaSiCjArrFFSet Input Range Sets input range for See pagea specified channel 6-59of an analog inputmodule in aspecified system$aaSiCjBRead InputRangeSee pageReturns the inputrange for a6-61specified channel ofa specified analoginput module in aspecified system$aaSiAFFffSet DataFormatSets data format in See pageengineering units or 6-63two's complementfor a specifiedanalog inputmodule in aspecified system$aaSiBRead DataFormatReturns the dataformat for aspecified analoginput module in aspecified systemSee page6-65$aaSi5mmEnable/DisableChannels forMultiplexingEnables/Disablesmultiplexing forseparate channelsof the specifiedinput moduleSame asADAM-5017See page6-42$aaSi6Read ChannelsStatusAsks the specifiedinput module toreturn the status ofall channelsSame asADAM-5017See page6-44ADAM-5000DescriptionRemarks6-57Command SetCommandSyntaxCommandName#aaSiSee pageAll Analog Data Returns the inputInvalue of all channels 6-67for a specifiedanalog inputmodule of aspecified system incurrently configureddata format#aaSiCjSpecifiedAnalog Data InSee pageReturns the inputvalue of a specified 6-69channel of aspecified analoginput module of aspecified system incurrently configureddata format$aaSiERInitializeEEPROM DataInitializes allEEPROM data in aspecified analoginput module totheir default values.Same asADAM-5017See page6-50$aaSi0SpanCalibrationCalibrates aspecified analoginput module tocorrect for gainerrorsSame asADAM-5017See page6-51$aaSi1Zero Calibration Calibrates aspecified analoginput module tocorrect for offseterrorsSame asADAM-5017See page6-52Note:6-585017H Analog InputDescriptionRemarksThe ADAM-5017H module also has "Alarm Setting"functions.

Характеристики

Тип файла
PDF-файл
Размер
1,89 Mb
Тип материала
Высшее учебное заведение

Список файлов учебной работы

Свежие статьи
Популярно сейчас
А знаете ли Вы, что из года в год задания практически не меняются? Математика, преподаваемая в учебных заведениях, никак не менялась минимум 30 лет. Найдите нужный учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
7041
Авторов
на СтудИзбе
260
Средний доход
с одного платного файла
Обучение Подробнее