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

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

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

00 is for engineering unit format. 02 is fortwo’s complement format.Note:Each channel in an 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 wasADAM-50006-63Command Set5017H Analog Input$aaSiAFFff$aaSiAFFffinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh).Examplecommand: $35S3AFF00(cr)response: !35(cr)The data format of the ADAM-5017H module in slot 3 ofthe ADAM-5000 system at address 35h is configured forengineering unit format.

The response indicates that thecommand has been received as a valid command.6-64ADAM-5000Chapter 6$aaSiBName$aaSiBRead Data FormatDescription Returns the data format for a specified analog inputmodule in a specified system.Syntax$aaSiB$ 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 of the ADAM-5000 systemcontaining the ADAM-5017 H module you want tointerrogate.B represents the read data format command.(cr) is the terminating character, carriage return (0Dh).Response!aaFFff(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.ff represents the 2-character hexadecimal code of thedata format.

00 is for engineering unit format. 02 is fortwo’s complement format.(cr) is the terminating character, carriage return (0Dh).ADAM-50006-65Command Set$aaSiBExample5017H Analog Input$aaSiBcommand: $35S3B(cr)response: !35FF00(cr)The ADAM-5017H module in slot 3 of the ADAM-5000system at address 35h responds that it is configured forengineering unit data format.6-66ADAM-5000Chapter 6#aaSiName#aaSiAll Analog Data InDescription Returns the input value of all channels for a specifiedanalog input module of a specified system in engineering units or two’s complement data formatSyntax#aaSi# 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 (i:0 to 3) of ADAM-5000 systemyou want to read.(cr) is the terminating character, carriage return (0Dh).Response!(data)(data)(data)(data) (data)(data)(data)(data)(cr) if thecommand is valid.

(Engineering Unit Data Format)!(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(cr) ifthe command is valid. (Two’s Complement Data Format)?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.(data) is the input value in engineering units of theinterrogated module of the specified system.

The (data)from all channels is shown in sequence from 7 to 0. If(data)=” “, it means the channel is invalid.(dddd) is the input value in two’s complement format ofADAM-50006-67Command Set5017H Analog Input#aaSi#aaSithe interrogated module of the specified system. The(dddd) from all channels is shown in sequence from 7 to0. If (dddd)=” “, it means the channel is invalid.(cr) is the terminating character, carriage return (0Dh).Examplecommand: #35S3(cr)response: +6.000 +7.000 +8.125 +4.250 +10.000+8.500 +7.675 +5.445 (cr)The command requests the ADAM-5017H module inslot 3 of the ADAM-5000 system at address 35h toreturn the input values of all channels.The analog input module responds with the input valuesof all channels, in sequence from 0 to 7: +6.000, +7.000,+8.125, +4.250, +10.000, +8.500, +7.675, +5.445.6-68ADAM-5000Chapter 6#aaSiCjName#aaSiCjSpecified Analog Data InDescription Returns the input value of a specified channel of aspecified analog input module in a specified ADAM5000 system in engineering units or two’s complementdata formatSyntax#aaSiCj(cr)# 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 (i:0 to 3) of ADAM-5000 systemyou want to read.Cj identifies the channel you want to read.(cr) is the terminating character, carriage return (0Dh).Response!(data)(cr) if the command is valid.

(Engineering UnitData Format)!(dddd)(cr) if the command is valid. (Two’s ComplementData Format)?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.(data) is the input value in engineering units of thespecified channel of the specified analog input module.ADAM-50006-69Command Set5017H Analog Input#aaSiCj#aaSiCjIf (data)=” “, it means the channel is invalid.(dddd) is the input value in two’s complement format ofthe specified channel of the specified module.

If(dddd)=” “, it means the channel is invalid.(cr) is the terminating character, carriage return (0Dh).Examplecommand: #35S3C2(cr)response: +9.750 (cr)The command requests the ADAM-5017H module inslot 3 of the ADAM-5000 system at address 35h toreturn the input value of channel 2.The analog input module responds that the input valueof channel 2 is +9.750.6-70ADAM-5000Chapter 66.7 Analog Input Alarm Command SetCommand SyntaxCommand NameDescription$aaSiCjAhsSet Alarm ModeSets the High/Low alarmin either Momentary orLatching mode.$aaSiCjAhRead Alarm ModeReturns the alarm modefor the specifiedchannel.$aaSiCjAhEsEnable/Disable AlarmEnables or Disables theHigh/Low alarm of thespecified channel$aaSiCjChClear Latch AlarmResets a latched alarm$aaSiCjAhCSkCnSet Alarm ConnectionConnects the High/Lowalarm of a specifiedinput channel to aspecified digital outputchannel$aaSiCjRhCRead Alarm Connection Returns the alarm limitoutput connection of aspecified input channel$aaSiCjAhU(data)Set Alarm LimitSets the High/Low alarmlimit value for thespecified input channel$aaSiCjRhURead Alarm LimitReturns the High/Lowalarm limit value for thespecified input channel$aaSiCjSRead Alarm StatusReads whether an alarmoccurred for a specifiedinput channelNote:ADAM-5000This command set applies to the ADAM-5013,ADAM-5017, ADAM-5017H and the ADAM-5018.6-71Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjAhsName$aaSiCjAhsSet Alarm ModeDescription Sets the High/Low alarm of the specified input channelin the addressed ADAM-5000 system to either Latchingor Momentary mode.Syntax$aaSiCjAhs(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of anADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired channel j (j : 0 to 7).Ahs is the Set Alarm Mode command.h indicates alarm type and can have the value H = Highalarm, L = Low alarms indicates alarm mode and can have the value M =Momentary mode, L = Latching mode(cr) represents terminating character, carriage return(0Dh)Response!aa(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.(cr) represents terminating character, carriage return(0Dh)6-72ADAM-5000Chapter 6$aaSiCjAhsExample$aaSiCjAhscommand: $03S0C1AHL(cr)response: !03(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is instructed to set its High alarm inLatching mode.The module confirms that the command has beenreceived.ADAM-50006-73Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjAhName$aaSiCjAhRead Alarm ModeDescription Returns the alarm mode for the specified channel in thespecified ADAM-5000 system.Syntax$aaSiCjAh(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired channel j (j : 0 to 7).Ah is the Read Alarm Mode command.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(cr) represents terminating character, carriage return(0Dh)Response!aas(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.s indicates alarm mode and can have the value M =Momentary mode, L = Latching mode(cr) represents terminating character, carriage return(0Dh)6-74ADAM-5000Chapter 6$aaSiCjAhExample$aaSiCjAhcommand: $03S0C1AL(cr)response: !03M(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is instructed to return its Low alarm mode.The system responds that it is in Momentary mode.ADAM-50006-75Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjAhEs$aaSiCjAhEsNameEnable/Disable AlarmDescription Enables/Disables the High/Low alarm of the specifiedinput channel in the addressed ADAM-5000 systemSyntax$aaSiCjAhEs(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired channel j (j : 0 to 7).AhEs is the Set Alarm Mode command.h indicates alarm type and can have the value H = Highalarm, L = Low alarms indicates alarm enable/disable and can have the valueE = Enable, D = Disable(cr) represents terminating character, carriage return(0Dh)Response!aa(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.(cr) represents terminating character, carriage return(0Dh)6-76ADAM-5000Chapter 6$aaSiCjAhEsExample$aaSiCjAhEscommand: $03S0C1ALEE(cr)response: !03(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is instructed to enable its Low alarmfunction.The module confirms that its Low alarm function hasbeen enabled.Note:ADAM-5000An analog input module requires a maximum of 2seconds after it receives an Enable/Disable Alarmcommand to let the setting take effect.

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

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

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

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