H135-E1-01 (986778), страница 11

Файл №986778 H135-E1-01 (Техническая документация) 11 страницаH135-E1-01 (986778) страница 112015-07-23СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

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

Expressaddresses in 2-byte hexadecimal and append them for the specifiedaccess size. Each address is composed of a word identifier, areanumber, and address in the area.Address (2 bytes)00******Area number (00 to 3F)A6A5A4A3A2A1A00Address in area (00 to FE): 128 variablesWord identifier (0 to 3)◆ Modbus Addresses Corresponding to CompoWay/F Setup Areas 0and 1Setup area 0 and setup area 1 do not correspond directly to Modbusaddresses, but the following areas have a rough correspondence withone exception.Modbus addressesSetup areaArea numberAddress rangeSetup area 000 to 0B0000 to 0BFESetup area 10C to 3F0C00 to 3FFE* Partial Exception to Modbus Address CorrespondenceThe Hysteresis (heating), Hysteresis (cooling), Control period (heat),and Control period (cool) parameters are assigned to consecutiveaddresses, but the control period parameters are setup area 1 param-5-7SECTION 5 Modbus Communications Procedureeters.

For this reason, an operation error will occur when writing thecontrol period (heating or cooling) from the setup area 0 side, e.g., fromthe operation level.● Number of ElementsThe number of elements is expressed in 2-byte hexadecimal. Thesetting range for the number of elements varies according to thecommand.For example, when the number of elements is “0010,” this specifieseight items of data (H’10) from the address.In Modbus protocol, one element occupies 2 bytes of data, but thesetting data occupies 4 bytes of data.● Set ValuesThe values read from the variable area or written to the variable areaare expressed in hexadecimal, ignoring the decimal point position.(Negative values are expressed in 2’s complement format.)Example: D’105.0 → H’0000041AThe variables are 8-digit hexadecimal values.

Negative values areexpressed in 2’s complement format. The values are hexadecimalvalues with no decimal point indication.For example, when the E5CN/AN/EN’s process value is 105.0, the readvalue is H’0000041A (105.0 → 1050 → H’0000041A).5-85.4 Detailed Description of the Services5.4 Detailed Description of the Services■ Read Variable AreaTo read from the variable area, set the required data in the commandframe, as shown in the following diagram.Command FrameSlave FunctionReadaddress code start addressNumber ofElementsCRC-16H'0311Name222 bytesDescriptionSlave addressSpecify the E5CN/AN/EN’s unit number.The unit number can be set between H’01 and H’63 hexadecimal (1to 99 decimal).Function codeThe Read Variable Area function’s function code is H’03.Read start addressSpecify the address containing the data to be read.See SECTION 6 Communications Data for Modbus for details onaddresses.Number of elementsSpecify 2 times the number of setting data items as the number ofelements to be read.

The setting range for the number of elements isH’0002 to H’0010 (2 to 16).Example: When reading 2 items of setting data, set the number ofelements to H’0004.CRC-16This check code is calculated with the data from the slave address tothe end of the data.For details on the CRC-16 calculation, see CRC-16 CalculationExample in 5.1 Data Format on page 5-3.5-9SECTION 5 Modbus Communications ProcedureResponse FrameSlave Function Byteaddress code countLeftmost bytes Rightmost bytesH'31Read dataData 1Data 11Number of elements × 2 bytes1Data nCRC-16Data nLeftmost bytes Rightmost bytes2NameDescriptionSlave addressThe value from the command frame is entered as-is.Function codeThis is the received function code.When the function ended normally, the function code is left as-is.

When anerror occurred, the hexadecimal value of H’80 is added to the function codeto indicate that the response is an error response.Example: Received function code = H’03Function code in response frame when an error occurred = H’83Byte countContains the number of bytes of read data.Number of elementsContains the number of setting data items that were read.CRC-16This check code is calculated with the data from the slave address to theend of the data.For details on the CRC-16 calculation, see CRC-16 Calculation Example in5.1 Data Format on page 5-3.Response CodeFunctioncodeH'83H'03ErrorcodeError nameCauseH'02Variable address errorThe read start variable address is incorrect.• The variable area number is incorrect.H'03Variable data errorThe number of elements exceeds theallowed range.---Normal completionNo errors were found.◆ Reading Undisplayed ParametersIt is possible to read the parameters that are not displayed due todisplay settings as well as the parameters that are never displayed inthe Controller.Example Command and ResponseThe following example shows the command/response when readingthe process value.

(In this case, the slave address is H’01.)Process Value• Address: H’0000; Read data: H’000003E8 (100.0 °C)Command:Response:5-1001 03 00 00 01 02 C4 0B(CRC-16)01 03 04 00 00 03 E8 FA 8D(CRC-16)5.4 Detailed Description of the Services■ Write Variable AreaTo write data to the variable area, set the required data in the commandframe, as shown in the following diagram.Command FrameNumber ofSlave FunctionWriteaddress code start address ElementsBytecountLeftmost bytes Rightmost bytesH'1011Write dataData 1Data 1221Number of elements × 2 bytesData nData nCRC-16Leftmost bytes Rightmost bytes2NameDescriptionSlave addressSpecify the E5CN/AN/EN’s unit number.The unit number can be set between H’01 and H’63 hexadecimal (1to 99 decimal).Function codeThe Write Variable Area function’s function code is H’10.Write start addressSpecify the starting address where the setting data will be written.See SECTION 6 Communications Data for Modbus for details onaddresses.Number of elementsSpecify 2 times the number of setting data items as the number ofelements to be written.The setting range for the number of elements is H’0002 to H’0010 (2to 16).Example: When writing 2 items of setting data, set the number of elements to H’0004.Byte countSpecify the number of bytes of write data.CRC-16This check code is calculated with the data from the slave address tothe end of the data.For details on the CRC-16 calculation, see CRC-16 CalculationExample in 5.1 Data Format on page 5-3.5-11SECTION 5 Modbus Communications ProcedureResponse FrameSlave FunctionWriteNumber ofaddress code start address ElementsCRC-16H'1011Name5-12222 bytesDescriptionSlave addressThe value from the command frame is entered as-is.Function codeThis is the received function code.When the function ended normally, the function code is left as-is.When an error occurred, the hexadecimal value of H’80 is added tothe function code to indicate that the response is an error response.Example: Received function code = H’10Function code in response frame when an error occurred =H’90Write start addressThis is the received write start address.Number of elementsThis is the received number of elements.CRC-16This check code is calculated with the data from the slave address tothe end of the data.For details on the CRC-16 calculation, see CRC-16 CalculationExample in 5.1 Data Format on page 5-3.5.4 Detailed Description of the ServicesResponse CodeFunctioncodeH'90H'S10ErrorcodeError nameCauseH'02Variable address errorThe write start variable address is incorrect.• The variable area number is incorrect.H'03Variable data error◆ The amount of data does not match thenumber of elements.◆ The byte count is not 2 times the number of elements.◆ The write data is out of the settingrange.H'04Operation errorThe Controller cannot write the data in itspresent operating status.The write data contents are not allowed inthe present operation mode.◆ The “communications writing” parameteris set to “OFF” (disabled).◆ Attempted to write to a parameter insetup area 1 from setup area 0.◆ Attempted to write to a protect parameter from other than the protect level.◆ AT execution in progress---Normal completionNo errors were found.◆ Writing Undisplayed ParametersIt is possible to write the parameters that are not displayed due todisplay settings as well as the parameters that are never displayed inthe Controller.Example Command and ResponseThe following example shows the command/response when writing the“upper-limit alarm 1” and “lower-limit alarm 1” parameters.(In this case, the slave address is H’01.)Upper-limit alarm 1• Address: H’010AWrite data: H’000003E8 (1,000)Lower-limit alarm 1• Address: H’010CCommand:Response:Write data: H’FFFFFC18 (−1,000)01 10 01 0A 00 04 08 00 00 03 E8 FF FF FC 18 8D E9(CRC-16)01 10 01 0A 00 04 E0 34(CRC-16)5-13SECTION 5 Modbus Communications Procedure■ Operation CommandsThis function performs commands such as communications writing, run/stop, multi-SP, AT (auto-tuning) execute/cancel, write mode, save RAMdata, software reset, move to setup area 1, move to protect level, auto/manual mode, initialize settings, clear alarm latch, and program start.Command FrameSlave FunctionWriteaddress code start addressH'061H'001CRC-16Write dataH'00222 bytesResponse FrameSlave FunctionWriteaddress code start addressH'0611H'00CRC-16Write dataH'00222 bytes(1) Command Code and Related InformationCommandcodeCommand contentRelated information00Communications writing00: OFF (disabled)01: ON (enabled)01RUN/STOP00: Run01: Stop02Multi-SP00: Set point 001: Set point 102: Set point 203: Set point 303AT execute/cancel00: Cancel01: AT execute04Write mode00: Backup01: RAM05Save RAM data0006Software reset0007Move to setup area 10008Move to protect level0009Auto/manual switch00: Automatic mode01: Manual mode0BParameter initialization00: Initialize to defaults11Program start00: Reset01: Start* No response will be returned when a software reset is carried out.5-145.4 Detailed Description of the Services(2) Response CodeNormal CompletionFunctioncodeH'06Error code---NameDescriptionNormal completionNo errors werefound.Error OccurredFunctioncodeH'86Error codeNameDescriptionH'02VariableerroraddressThe write variable address was not“0000.”H'03Variable data errorThe write data is incorrect.• Command code or related informationare incorrect.H'04Operation errorThe Controller cannot write the data inits present operating status.• The “communications writing” parameter is set to “OFF” (disabled).

Thecommand is received regardless ofthe “communications writing” parameter setting (ON/OFF).• Processing could not be performed.For details, see (4) Operation Commands and Precautions below.(3) Example Command and ResponseThe following example shows the command/response for a Stopcommand. (In this case, the slave address is H’01.)Stop command (command code: 01; related information: 01)•Address: H’0000 (fixed)Write data: H’0101 (Run/Stop, Stop command)Command:Response:01 06 00 00 01 01 49 9A(CRC-16)01 06 00 00 01 01 49 9A(CRC-16)5-15SECTION 5 Modbus Communications Procedure(4) Operation Commands and Precautions● Communications WritingSet the “communications writing” parameter to “ON” (enabled) or “OFF”(disabled) with the related information setting.The setting can be accepted in both setup area 0 and setup area 1.● RUN/STOPSet control to “run” or “stop” with the related information setting. Thesetting can be accepted in both setup area 0 and setup area 1.● Multi-SPSet four set points beforehand in the adjustment level so that you canswitch to a desired set point.

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

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

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

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