Рук_п_АК-8 (1031889), страница 17

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

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

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.

The initial counter value is 4369.6-146ADAM-5000Chapter 6$aaSiCjAhEsName$aaSiCjAhEsSet Alarm Disable/LatchDescription The addressed counter module is instructed to set alarmdisable or latch.Syntax$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 and the desired channel j.AhEs is the command for setting Alarm Disable/LatchMode command.h indicates alarm type and can have the value H = Highalarm, L = Low alarms indicates alarm enable/disable and can have the valueD = Disable, E=Enable(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)ADAM-50006-147Command Set5080 Counter/Frequency Module$aaSiCjAhEs$aaSiCjAhEsExamplecommand: $03S0C1ALED(cr)response: !03(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to disable its Lowalarm function.The module confirms that its Low alarm function hasbeen disable.6-148ADAM-5000Chapter 6$aaSiCjAhName$aaSiCjAhRead Alarm Disable/LatchDescription Return the alarm mode for the specified channel.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 and the desired channel j.A 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!aap(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.p indicates alarm mode.p=D, if alarm is Disable.P=L, if alarm is Latch.(cr) represents terminating character, carriage return (0Dh)ADAM-50006-149Command Set5080 Counter/Frequency Module$aaSiCjAhExample$aaSiCjAhcommand: $03S0C1AL(cr)response: !03L(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to return its Lowalarm mode.The system responds that it is latched.6-150ADAM-5000Chapter 6$aaSiCjChName$aaSiCjChClear Alarm StatusDescription Returns the alarm status to normalSyntax$aaSiCjCh(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 and the desired channel j.C is the clear 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!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)ADAM-50006-151Command Set$aaSiCjChExample6-1525080 Counter/Frequency Module$aaSiCjChcommand: $03S0C1CL(cr)response: !03(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to set its Low alarmstate to normal.The system confirms it has done so accordingly.ADAM-5000Chapter 6$aaSiCjAhCSkCn$aaSiCjAhCSkCnNameSet Alarm ConnectionDescription Connect the High/Low alarm of the specified inputchannel to the specified digital output in the addressedADAM-5000 systemSyntax$aaSiCjAhCSkCn(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 and the desired channel j .AhC is the command for setting Alarm Connectioncommand.h indicates alarm type and can have the value H = Highalarm, L = Low alarmSkCn identifies the desired slot k and the desired digitaloutput point n (n : 0 to F).

To disconnect the digitaloutput, k and n should be set as ‘*’.(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)ADAM-50006-153Command Set$aaSiCjAhCSkCnExample6-1545080 Counter/Frequency Module$aaSiCjAhCSkCncommand: $03S0C1ALCS1C0(cr)response: !03(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to connect its Lowalarm to the digital output of point 0 of slot 1 in the sameADAM-5000 system.The system confirms it has dome so accordingly.ADAM-5000Chapter 6$aaSiCjRhC$aaSiCjRhCNameRead Alarm ConnectionDescription Return the High/Low alarm limit output connection of aspecified input channel in the addressed ADAM-5000systemSyntax$aaSiCjRhC(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 and the desired channel j.RhC is the command for reading Alarm Connection.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(cr) represents terminating character, carriage return (0Dh)Response!aaSkCn(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.SkCn identifies the desired slot k and the desired digitaloutput point n (n : 0 to F) to which the input alarm isconnected.

If the values of k and n are ‘*’, the analoginput has no connection with a digital output point.(cr) represents terminating character, carriage return (0Dh)ADAM-50006-155Command Set5080 Counter/Frequency Module$aaSiCjRhC$aaSiCjRhCExample6-156command: $03S0C1RLC(cr)response: !03SØC1(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to read its Low alarmoutput connection.The system responds that the Low alarm outputconnects to the digital output at point 0 of slot 1 in thesame ADAM-5000 system.ADAM-5000Chapter 6$aaSiCjAhU(data)$aaSiCjAhU(data)NameSet Alarm LimitDescription Set the High/Low alarm limit value for the specified inputchannel of a specified ADAM-5000 system.Syntax$aaSiCjAhU(data)(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 and the desired channel j.AhU is the Set Alarm Limit command.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(data) represents the desired alarm limit setting.

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

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

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

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