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

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

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

However, it is notthe actual frequency.Each actual frequency can be obtained by dividing theresponse value by 100. Therefore, taking an example ofthe value above, the actual frequency should be:actual frequency = 98700/100 = 987If the response is:>0000F1000002000000031000000DD400(cr)The command requests the module in slot 2 of theADAM-5000 system at address 16h to return the inputvalues of all channels.The module response that input values if all channelsare hexdecimal:0000F100,00020000,00031000,000DD400The actual frequency can be obtained by transferinghexdecimal format to decimal format .Then divide theresponse value by 100. Therefore, taking an example ofthe value above, the actual frequency should be:F100 (hexdecimal)=24100 (decimal)actual frequency = 24100/100 = 2416-128ADAM-5000Chapter 6#aaSiCjName#aaSiCjRead One Channel Counter (Frequency) DataDescription The command will return the input value from one of thefour channels of a specified module.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 exists.> is a delimiter character.? delimiter character indicating the command wasinvalid.(data) is the input value in engineering units of theinterrogated module of the specified system.

If thenumbers of (data) are ten ,counter/frequency mode is indecimal format.If the numbers of (data) are eight,counter/frequency mode is in hexdecimal format.If(data) = “ ”, it means the channel is invalid.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-129Command Set#aaSiCjExample6-1305080 Counter/Frequency Module#aaSiCjcommand: $35S3C2(cr)response: >0000000451(cr)The command requests the ADAM-5080 module in slot3 of the ADAM-5000 system at address 35h to return theinput value of channel 2.The counter module responds that the input value ofchannel 2 is 451.ADAM-5000Chapter 6$aaSiØ(data)$aaSiØ(data)NameSet Digital filter ScaleDescription Set the filter seconds to start to measure the input signal.Syntax$aaSiØ(data)(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which is to becalibrate.Si identifies the sepcified slot.Ø is the command for setting digital filter scale.(data) represents filter secends from 8µs~65000 µs.

Beaware that (data) has 5 characters.(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 exists.! 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-131Command Set5080 Counter/Frequency Module$aaSiØ(data)$aaSiØ(data)Examplecommand: $26S3000765(cr)response: !26(cr)The ADAM-5080 in slot 3 of the ADAM-5000 system ataddress 26h need 765µ seconds to start to measure theinput.6-132ADAM-5000Chapter 6$aaSiØName$aaSiØRead Digital filter scaleDescription Read the filter seconds to start to measure the inputsignal.Syntax$aaSiØ(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which is to becalibrate.Si identifies the I/O slot which is to be accessed.Ø is the command for reading digital filter scale.(cr) is the terminating character, carriage return (0Dh)Response!aa(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 exists.! 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) represents filter secends from 8 µs~65000 µs.

Beaware that (data) has 5 characters.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-133Command Set$aaSiØExample6-1345080 Counter/Frequency Module$aaSiØcommand: $26S30(cr)response: !2600765(cr)The command requests the ADAM-5080 in slot 3 of theADAM-5000 system at address 26h to read the filterseconds. The module responds with 765µ seconds.ADAM-5000Chapter 6$aaSiCj5s$aaSiCj5sNameSet Counter Start/StopDescription Request the addressed counter/frequency module tostart or stop the counting.Syntax$aaSiCj5s(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.SiCj identifies the I/O slot i and the channel j of themodule you want to set.5 is the command for setting counter Start/Stop.s represents start/stop command.s=0 indicate stop counter.s=1 indicate start counter.(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 exists.! 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-135Command Set$aaSiCj5sExample6-1365080 Counter/Frequency Module$aaSiCj5scommand: $26S3C251(cr)response: !26(cr)The command requests channel 2 of ADAM-5080 in slot3 in ADAM-5000 system at address 26h to start counter.ADAM-5000Chapter 6$aaSiCj5$aaSiCj5NameRead counter Start/StopDescription Requests the addressed counter/frequency module toindicate whether counters are active.Syntax$aaSiCj5(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.SiCj identifies the I/O slot i and the channel j of themodule you want to set.5 is the command for reading counter Start/Stop.(cr) is the terminating character, carriage return (0Dh)Response!aas(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 exists.! 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.s represents start/stop command.s=0 indicate stop counter.s=1 indicate start counter.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-137Command Set$aaSiCj5Example6-1385080 Counter/Frequency Module$aaSiCj5command: $26S3C25(cr)response: !261(cr)The channel 2 of ADAM-5080 in slot 3 in ADAM-5000system at address 26h is instructed to return its counterstatus.

The counter status is in start status.ADAM-5000Chapter 6$aaSiCj6Name$aaSiCj6Clear CounterDescription Clear the counters of the specified counter/frequencymoduleSyntax$aaSiCj6(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.SiCj identifies the I/O slot i and the channelj for the module you want to return a prior value.6 is the command for clearing counter.(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-139Command Set$aaSiCj6Example6-1405080 Counter/Frequency Module$aaSiCj6command: $26S3C26(cr)response: !26(cr)The command requests the channel 2 of ADAM-5080 inslot 3 in ADAM-5000 system at address 26h to clearcounter value.ADAM-5000Chapter 6$aaSi7$aaSi7NameRead Overflow FlagDescription The command requests the addressed module to returnthe status of the overflow flag of counter.Syntax$aaSi7(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 i (i : 0 to 3).7 is the command for the last value readback.Response!aaff ff ff ff(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.ffffffff is the number of overflow for a specified channel.(ffffffff represents 0~3 channels, each of which isrepresented by one ff).(cr) is the terminating character, carriage return (0Dh)Note:ADAM-5000When this command is issued, the overflow value iscleared and starts afresh.6-141Command Set$aaSi7Example6-1425080 Counter/Frequency Module$aaSi7command: $26S37(cr)response: !2600000001(cr)The command requests the ADAM-5080 of slot 3 inADAM-5000 system at address 26h to return theoverflow value.

The overflow value in channel 3 is 01.The others are 00.ADAM-5000Chapter 6@aaSiCjP(data)@aaSiCjP(data)NameSet Initial Counter ValueDescription Set initial counter value for counter of the specifiedcounter module.Syntax@aaSiCjP(data)(cr)@ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.SiCj identifies the I/O slot i and the channelj for the module you want to return a prior value.P represents Set Initial Counter Value command.(data) is initial value from 0 to 4294967296. Be aware that(data) has 10 characters.(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-143Command Set@aaSiCjP(data)Example6-1445080 Counter/Frequency Module@aaSiCjP(data)command: @26S3C2P0000004369(cr)response: !26(cr)The channel 2 of ADAM-5080 in slot 3 in ADAM-5000system at address 26h is instructed to set initial countervalue.

The initial counter value is 4369.ADAM-5000Chapter 6@aaSiCjGName@aaSiCjGRead Initial CounterDescription Read initial counter value of specified module.Syntax@aaSiCjG(cr)@ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.SiCj identifies the I/O slot i and the channel j for themodule you want to return a prior value.G is the last value readback command.(cr) is the terminating character, carriage return (0Dh)Response!aa(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 initial value from 0 to 4294967295.Be aware that(data) has 10 characters.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-145Command Set5080 Counter/Frequency Module@aaSiCjGExample@aaSiCjGcommand: @26S3C2G(cr)response: !260000004369(cr)The channel 2 of ADAM-5080 in slot 3 in ADAM-5000system at address 26h is instructed to return counterinitial value.

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

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

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

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