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

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

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

In all othercases, set to “01.”(3) Write ValueFor details on the write value (set value) range, see SECTION 3Communications Data for CompoWay/F and SYSWAY.(4) Precautions● Alarm Values 1 and 2When the alarm 1 type is set to “upper and lower-limit alarm,” “upperand lower-limit range alarm,” or “upper and lower-limit alarm withstandby sequence,” the alarm’s upper and lower limits are set indepen-4-64.2 Command Descriptionsdently. The “alarm value 1" setting is disabled and the “alarm valueupper limit 1” and “alarm value lower limit 1” settings are used as thealarm set values.For this reason, when an “upper and lower-limit alarm” is set, writevalues are written by communications to “alarm value upper limit 1” and“alarm value lower limit 1” and not to “alarm value 1.” The same appliesto “alarm value 2.”● Temperature Input Shift ValueWhen the 2-point shift method is used, the “temperature input shiftvalue” is disabled and the “upper-limit temperature input shift value” and“lower-limit temperature input shift value” parameters are enabled asthe temperature input shift set values.

For this reason, write values arewritten to the “upper-limit temperature input shift value” and “lower-limittemperature input shift value” and not to the “temperature input shiftvalue.”The 2-point shift method will be used in the following cases:• The “input type” is set to infrared temperature sensor.• The “input type” is not set to infrared temperature sensor, but the“input shift type” is set to 2-point shift.● Alarms• Only alarms 1 and 2 are supported.• Alarm 3 cannot be used.Written to “heater burnout detection 1.” (The value is not written to“heater burnout 2 detection.”)■ Read Set Values and MV MonitorThis command reads the set point, alarm values 1 and 2, proportionalband, integral time, derivative time, temperature input shift values,heater burnout detection, and MV monitor.Command@Communi- Headercationsunit num- codeberData FCScodeTerminator* CRResponse@Communi- Headercationsunit num- codeberEnd Read value FCScodeTerminator* CR4-7SYSWAY● Heater Burnout DetectionSECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures(1) Header CodeHeader codeCommandRSRead set pointR%Read alarm value 1/2RBRead proportional bandRNRead integral timeRVRead derivative timeRIRead temperature input shift valuesRWRead heater burnout detectionRORead MV monitor(2) Data CodeSet the data code to “02” only when writing alarm value 2.

In all othercases, set to “01.”(3) Read ValueFor details on the read value ranges, see SECTION 3 CommunicationsData for CompoWay/F and SYSWAY.(4) Precautions● Alarm Values 1 and 2When the alarm 1 type is set to “upper and lower-limit alarm,” “upperand lower-limit range alarm,” or “upper and lower-limit alarm withSYSWAYstandby sequence,” the alarm’s upper and lower limits are set independently. The “alarm value 1” setting is disabled and the “alarm valueupper limit 1” and “alarm value lower limit 1” settings are used as thealarm set values.For this reason, when “upper/lower-limit alarm” is set, the value of“alarm value upper limit 1” and not “alarm value 1” is the value read bycommunications. The same applies to “alarm value 2.”● Temperature Input Shift ValueWhen the 2-point shift method is used, the “temperature input shiftvalue” is disabled and the “upper-limit temperature input shift value” and“lower-limit temperature input shift value” parameters are enabled asthe temperature input shift set values.

For this reason, when 2-pointshift method is being used, the “upper-limit temperature input shiftvalue” is read and not the “temperature input shift values.”The 2-point shift method will be used in the following cases:• The “input type” is set to infrared temperature sensor.• The “input type” is not set to infrared temperature sensor, but the“input shift type” is set to 2-point shift.4-84.2 Command Descriptions● AlarmOnly alarms 1 and 2 are supported.Alarm 3 cannot be used.● Heater Burnout DetectionReads “heater burnout detection 1.” (The “heater burnout 2 detection”value is not read.)■ Select Communications WritingThe logic of the MB command changes as shown in the table belowaccording to the MB command logic switching setting (advancedfunction level). The MB command (communications writing selection) isequivalent to the E5@J Controller’s MB command (remote/localswitching).MB command logic switching settingText data of MBcommandOFFON0000Communications writingenabled (remote modeselection)Communications writingdisabled (local modeselection)0001Communications writingdisabled (local modeselection)Communications writingenabled (remote modeselection)• The default value of the MB Command Logic Switching Setting is OFF(same logic as E5@J).SYSWAY4-9SYSWAYSECTION 4 SYSWAY (E5@J and E5@X Format) Communications Procedures4-10SECTION 5Modbus CommunicationsProcedureRead this section if you are to communicate using the Modbus format.5.15.25.35.4Data Format..................................................................

5-2Command Frame................................................... 5-2CRC-16 Calculation Example................... 5-3Response Frame ................................................... 5-4Normal Response Frame ......................... 5-4Error Response Frame............................. 5-4Error Codes ...........................................................

5-5No Response............................................ 5-5Function List ................................................................. 5-6Variable Area ................................................................ 5-7Addresses ................................................ 5-7Number of Elements................................. 5-8Set Values ................................................ 5-8Detailed Description of the Services.............................

5-9Read Variable Area ............................................... 5-9Write Variable Area ............................................. 5-11Operation Commands ......................................... 5-14Echoback Test..................................................... 5-195-1SECTION 5 Modbus Communications Procedure5.1 Data FormatThe data format complies with the Modbus (RTU) communicationsprotocol, so commands from the host computer and responses from theE5CN/AN/EN are contained in data blocks called frames.The structure of the command and response frames is described below.In the following explanations, hexadecimal values are expressed byadding the prefix H’ before the number, e.g., H’02. Numbers and alphabetic characters without the H’ prefix are ASCII characters.■ Command FrameWhen using RTU mode, star t with a silent interval of at least 3.5character times and end with a silent interval of at least 3.5 charactertimes.Slave Functionaddress code1Data1CRC-162 bytesCRC-16 calculation rangeSilent interval of 3.5 character times min.Slave addressSpecify the unit number.The unit number can be set between H’00 to H’63 hexadecimal (0 to 99 decimal).Specify H’00 for a broadcast transmission.

No responses willbe returned for broadcast transmissions.Function codeThe function code is a 1-byte hexadecimal code that indicatesthe type of command sent from the host device.DataThis is the text data associated with the specified functioncode.

Specify the required data, such as the variable addressor setting data. (Set in hexadecimal.)CRC-16Cyclical Redundancy CheckThis check code is calculated with the data from the slaveaddress to the end of the data.The check code is 2-byte hexadecimal.Silent interval of 3.5 character times min.5-25.1 Data Format● CRC-16 Calculation ExampleMessages are processed one byte at a time in the work memory (a 16bit register known as the CRC register).(1)The CRC register is initialized to H’FFFF.(2)An XOR operation is performed on the content of the CRC registerand the first byte of the message, and the result is returned to theCRC register.(3)The MSB is packed with zeroes and the CRC register is shifted 1 bitto the right.(4)If the bit shifted from the LSB is 0, step 3 is repeated (next bit-shiftprocessing).If the bit shifted from the LSB is 1, an XOR is performed on thecontent of the CRC register and H’A001, and the result is returned tothe CRC register.(5)Steps 3 and 4 are repeated until 8 bits are shifted.(6)CRC processing continues to the end of the message, as XORoperations are performed on the content of the CRC register and thenext byte of the message, step 3 is repeated, and the result isreturned to the CRC register.(7)The result of the CRC calculation (value in the CRC register) isappended to the last byte of the message.Example of Appending the Calculation ResultWhen the calculated CRC value is H’1234, the CRC value is appendedto the command frame as follows.Slave Functionaddress code1Data1CRC-16Low HighH'34 H'122 bytesCRC-16 calculation range5-3SECTION 5 Modbus Communications Procedure■ Response Frame● Normal Response FrameSlave Functionaddress code1Data1CRC-162 bytesCRC-16 calculation range● Error Response FrameSlave Function Erroraddress code code111CRC-162 bytesCRC-16 calculation range5-4Slave addressThe number specified in the command frame is entered as-is.This is the unit number of the Unit returning the response.Function codeThis is the received function code with the hexadecimal valueof H’80 added to indicate that the response is an errorresponse.Example: Received function code = H’03Function code in response frame when an error occurred =H’83Error codeThis code indicates the kind of error that occurred.CRC-16Cyclical Redundancy CheckThis check code is calculated with the data from the slaveaddress to the end of the data.The check code is 2-byte hexadecimal.5.1 Data Format■ Error CodesEndcodeNameDescriptionErrordetectionpriorityH'01Function code errorAn unsupported function code was received.1H'02Variable address errorThe specified variable area address is out-of-range.2H'03Variable data errorThe amount of data does not match the number of elements.The byte count is not 2 times the number of elements.The response length exceeds the size of the communications buffer.The command code or related information in the operationcommand is wrong or the write data is not in the settingrange.3H'04Operation errorThe write data contents are not allowed in the present operation mode.◆ The “communications writing” parameter is set to “OFF”(disabled).◆ Attempted to write to a parameter in setup area 1 fromsetup area 0.◆ Attempted to write to a protect parameter from other thanthe protect level.◆ AT execution in progress◆ The command cannot be processed.4● No ResponseIn the following cases, the received command will not be processedand a response will not be returned.Consequently, a timeout error will occur at the host device.• The slave address in the received command does not match thecommunications unit number.• A parity error, framing error, or overrun error occurred due to a problemsuch as a transfer error.• A CRC-16 code error occurred in the received command frame.• There was a time interval of more than 3.5 character times betweendata packets that make up the command frame.Furthermore, the specified function’s processing will be performed butno response will be returned for broadcast functions (slave address =H’00).5-5SECTION 5 Modbus Communications Procedure5.2 Function ListThe following table lists the function codes.Function Code ListFunction code5-6NameProcess03 (H'03)Read variable(multiple)This function reads from variable areas.It is possible to read two or more consecutive variables.16 (H'10)Write variable(multiple)This function writes to variable areas.It is possible to write two or more consecutive variables.It is also possible to broadcast this function (broadcasttransmission).06 (H'06)Write variable(operation command)This function writes an operation command.It is also possible to broadcast this function (broadcasttransmission).08 (H'08)Echoback TestThis function performs an echoback test.5.3 Variable Area5.3 Variable AreaThe variable area is the region of memory used to exchange data withthe E5CN/AN/EN through communications.Operations such as reading the process value and reading/writingparameters are performed on the variable area.On the other hand, operation commands do not use the variable area.E5CN/AN/ENOperationcommands, etc.MicrocomputerVariable areaRead/writeWhen accessing the variable area, the position of a variable in thevariable area is specified with a word identifier, area number, andaddress in the area.● AddressesAn address is appended to each of the variable types.

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

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

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

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