Рук_п_Имп-4 (1031891), страница 10

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

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

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.

The alarm command set for the ADAM5017H is the same as that for the ADAM-5013,ADAM-5017, and ADAM-5018. Please refer to pages6-71 to 6-89 for this set of commands.ADAM-5000Chapter 6$aaSiCjArrFFName$aaSiCjArrFFSet Input RangeDescription Sets the input range for a specified channel of a specified analog input module in a specified system.Syntax$aaSiCjArrFF$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want toconfigure.SiCj identifies the slot i (i:0 to 3) of the ADAM-5000system and the channel j (j:0 to 7) of the ADAM-5017Hwhose range you want to set.A represents the set input range command.rr represents the 2-character hexadecimal code of theinput range. (See Appendix B)Note:Each channel in a ADAM-5017H module may be setto a different range, but the data formats of allchannels in this module must be the same.(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 hexadecimalADAM-50006-59Command Set5017H Analog Input$aaSiCjArrFF$aaSiCjArrFFaddress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh).Examplecommand: $35S3C1A0bFF(cr)response: !35(cr)Channel 1 of the ADAM-5017H module in slot 3 of theADAM-5000 system at address 35h is set to the inputrange 0-20 mA, engineering unit data format.

Theresponse indicates that the command has been receivedas a valid command.6-60ADAM-5000Chapter 6$aaSiCjBName$aaSiCjBRead Input RangeDescription Returns the input range in engineering units for aspecified channel of a specified analog input module in aspecified system.Syntax$aaSiCjB$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want tointerrogate.SiCj identifies the slot i (i:0 to 3) of the ADAM-5000system and the channel j (j:0 to 7) of the ADAM-5017Hmodule you want to interrogate.B represents the read input range command.(cr) is the terminating character, carriage return (0Dh).Response!aarr00(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.rr represents the 2-character hexadecimal code of theinput range.

(See Appendix B)(cr) is the terminating character, carriage return (0Dh).ADAM-50006-61Command Set5017H Analog Input$aaSiCjBExample$aaSiCjBcommand: $35S3C1B(cr)response: !350b00(cr)Channel 1 of the ADAM-5017H module in slot 3 of theADAM-5000 system at address 35h responds with aninput range 0-20 mA, engineering unit data format.6-62ADAM-5000Chapter 6$aaSiAFFffName$aaSiAFFffSet Data FormatDescription Sets the data format in engineering units or in two'scomplement format for a specified analog input modulein a specified system.Syntax$aaSiAFFff$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want toconfigure.Si identifies the I/O slot of the ADAM-5000 systemcontaining the ADAM-5017H module you want toconfigure.AFF represents the set data format command.ff represents the 2-character hexadecimal code of thedata format.

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

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

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

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