Главная » Просмотр файлов » CPM2A_PROGRAMMING MANUAL (W353-E1-2)

CPM2A_PROGRAMMING MANUAL (W353-E1-2) (986750), страница 29

Файл №986750 CPM2A_PROGRAMMING MANUAL (W353-E1-2) (Техническая документация) 29 страницаCPM2A_PROGRAMMING MANUAL (W353-E1-2) (986750) страница 292015-07-23СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

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

Analog output data will be 0 V or 0 mA until the range code has been written. After therange code has been written, the analog output data will be 0 V or 0 mA if therange is 0 to 10 V, –10 to 10 V, or 0 to 20 mA, or it will be 1 V or 4 mA if the range is1 to 5 V or 4 to 20 mA.SR 25315(Always ON Flag)TIM 005#0002T005MOV (21)TIM 005 will start as soon as power turns ON.After 0.1 to 0.2 s (100 to 200 ms), the Completion Flag for TIM 005 will turn ON, and the converted data from analog input will be read fromIR 001 and stored in DM 0000.001DM0000Handling Unit ErrorsIf an error occurs in an Analog I/O Unit, the Error Flags in AR 0200 to AR 0204 willbe turned ON.

The addresses of the Error Flags are in the order that the Expansion Units and Expansion I/O Units are connected in the PC, with AR 0200 usedfor the Expansion Unit or Expansion I/O Unit closest to the CPU Unit. Use theseflags in the program when it is necessary to detect errors.When an error occurs in the Analog I/O Unit, analog input data will be 0000 and0 V or 0 mA will be output as the analog output.If a CPU error or an I/O bus error (fatal errors) occurs at the CPU Unit and theanalog output is set to 1 to 5 V or 4 to 20 mA, 0 V or 0 mA will be output. For anyother fatal errors at the CPU Unit, 1 V or 4 mA will be output.174SectionAnalog I/O Units3-1Programming ExampleThis programming example uses these ranges:Analog input 0: 0 to 10 VAnalog input 1: 4 to 20 mAAnalog output: 0 to 10 V25135(First Cycle ON Flag)MOV (21)805101125313(Always ON Flag)Writes the range code (8051) to the Unit.TIM 005TIM005#0002ExecutionconditionMOV (21)001TIM005DM0000ExecutionconditionReads analog input 0’s converted value.CMP (20)002#800025506(=)01000TIM005Open-circuit alarmExecutionconditionMOV (21)002TIM005DM0001ExecutionconditionReads analog input 1’s converted value.MOV (21)DM0010011The content of DM 0010 is written to the outputword as the analog output set value.175SectionTemperature Sensor Units3-23-2Temperature Sensor Units3-2-1 CPM1A/CPM2A Temperature Sensor UnitsWith the CPM1A or CPM2A, up to three Expansion Units or Expansion I/O Unitscan be connected to the CPU Unit.

One, two, or three of these Units can beCPM1A-TS001 or CPM1A-TS101 Temperature Sensor Units. If a CPM1ATS002 or CPM1A-TS102 Temperature Sensor Unit is connected to the CPUUnit, then only one other Expansion Unit or Expansion I/O Unit can be connected. The other Unit can be a CPM1A-TS001/TS101 Temperature SensorUnit.The CPM1A-TS001/TS101 Temperature Sensor Units each provide 2 inputpoints and the CPM1A-TS002/TS102 Temperature Sensor Units each provide 4input points, meaning up to 6 temperature input points can be used on oneCPM1A or CPM2A PC. The inputs can be from thermocouples or platinum resistance thermometers.Up to 3 Units, including Expansion I/O Units and other ExpansionUnits.

(Only 2 Units if CPM1A-TS002/TS102 is used.)CPM1A or CPM2A CPU UnitCPM1A-20EDR1Expansion I/O UnitCPM1A-8EDCPM1A-TSExpansion I/O Unit Temperature Sensor UnitThermocouples orplatinum resistancethermometersTemperature inputsSpecificationsItemCPM1A-TS001CPM1A-TS002CPM1A-TS101CPM1A-TS102Temperature sensorsThermocouplesPlatinum resistance thermometerNumber of inputsSwitchable between K and J, but sametype must be used for all inputs.24Switchable between Pt100 and JPt100, butsame type must be used for all inputs.24Allocated input words2424Max.

number of Units(See note 1.)Accuracy3131(The larger of ±0.5% of converted value or±2C) ±1 digit max. (See note 2.)(The larger of ±0.5% of converted value or±1C) ±1 digit max.Conversion time250 ms for 2 or 4 input pointsConverted temperature data16-bit binary data (4-digit hexadecimal)IsolationPhotocouplers between all temperature input signalsNote1761. If only the CPM1A-TS001 and CPM1A-TS101 are connected, then up to 3Units including Expansion I/O Units and other Expansion Units can be connected. If the CPM1A-TS002 or CPM1A-TS102 is connected, then only oneother Expansion I/O Unit or Expansion Unit can be connected.

The CPM1ATS001 or CPM1A-TS101 may be the other Unit, but another CPM1A-TS002or CPM1A-TS102 cannot be connected.SectionTemperature Sensor Units3-22. Accuracy for a K-type sensor at –100°C or less is ±4C ±1 digit max.3-2-2 CPM2C Temperature Sensor UnitsWith the CPM2C, up to four CPM2C-TS001/TS101 Temperature Sensor Unitscan be connected.

Each Temperature Sensor Unit provides 2 input points meaning that a total of 8 input points can be used. The inputs can be from thermocouples or platinum resistance thermometers.CPM2C-TS001/101Temperature Sensor UnitsCPM2C CPU UnitThermocouples orplatinum resistancethermometersExpansion I/O UnitTemperature inputs8 points max.SpecificationsItemTemperature sensorsCPM2C-TS001ThermocouplesSwitchable between Kand J, but same typemust be used for allinputs.NoteCPM2C-TS101Platinum resistancethermometerSwitchable betweenPt100 and JPt100, butsame type must be usedfor all inputs.Number of inputs2Allocated input words2Max. number of Units(See note 1.)Accuracy44(The larger of ±0.5% ofconverted value or±1C) ±1 digit max.Conversion time(The larger of ±0.5% ofconverted value or±2C) ±1 digit max.

(Seenote.)250 ms for 2 input pointsConverted temperature data16-bit binary data (4-digit hexadecimal)IsolationPhotocouplers between all temperature inputsignals1. Accuracy for a K-type sensor at –100°C or less is ±4C ±1 digit max.2. The error deviation for temperatures in °F is double that for °C.177SectionTemperature Sensor Units3-23-2-3 Using Temperature Sensor UnitsConnect the Unit.Set the temperature ranges.Connect the Temperature Sensor Unit.Refer to 3-2-4 Connecting Temperature Sensor Units.Set the temperature unit, 2-decimal-place Mode ifrequired, and set the temperature input range.Refer to 3-2-5 Setting Temperature Ranges.Connect the temperature sensors.Connect temperature sensors.Refer to 3-2-6 Connecting Temperature Sensors.Program operation in theladder program.Read temperature data stored in the input word.Refer to 3-2-7 Ladder Programming.3-2-4 Connecting Temperature Sensor UnitsThis section shows example configurations containing Temperature SensorUnits.CPM1A/CPM2A Temperature Sensor Unit AllocationsWords are allocated to Temperature Sensor Units just like other Expansion I/OUnits and Expansion Units: In the order in which the Units are connected.

A Temperature Sensor Unit will thus be allocated the next input words after the Unit towhich it is connected (CPU Unit or other Unit).Note Only one 4-input Temperature Sensor Unit (CPM1A-TS002 or CPM1A-TS102,4 words allocated) can be mounted to the CPU Unit. There are, however, norestrictions on the mounting order.Temperature Sensor Units with 2 Inputs: CPM1A-TS001 and CPM1A-TS101 (2 Words Allocated)CPM1A or CPM2A CPU Unit(with 20, 30, 40, or 60 I/O points)CPM1A-20EDR1Expansion I/O UnitTemperature 2 inputsSensor UnitsExpansion I/O UnitsAnalog I/O UnitsCompoBus/S I/O Link Unit178CPM1A-8EDCPM1A-TS001/TS101Expansion I/O Unit Temperature Sensor UnitCPM1A-TS001CPM1A-TS101With 8 or 20 I/O pointsCPM1A-MAD01CPM1A-SRT21Up to 3 Units can beconnected.

There are norestrictions on the order inwhich Units areconnected.SectionTemperature Sensor Units3-2Word AllocationsThe CPM1A-TS001 and CPM1A-TS101 are allocated two words each (one foreach input point). No output words are allocated.40-point CPU Unit20-point ExpansionI/O Unit8-point ExpansionInput UnitCPM1A-TS001/101Temperature Sensor UnitInput wordaddressesIR 000IR 001IR 002IR 003IR 004IR 005Output wordaddressesIR 010IR 011IR 012NoneNoneTemperature Sensor Units with 4 Inputs (4 Words Allocated): CPM1A-TS002 and CPM1A-TS102CPM1A or CPM2A CPU Unit(with 20, 30, 40, or 60 I/O points)TemperatureSensor UnitsCPM1A-20EDR1CPM1A-TS002/TS102Expansion I/O Unit Temperature Sensor Unit4 inputs2 inputsExpansion I/O UnitsAnalog I/O UnitsCompoBus/S I/O Link UnitCPM1A-TS002 orCPM1A-TS102CPM1A-TS001 orCPM1A-TS101With 8 or 20 I/OpointsCPM1A-MAD01CPM1A-SRT211 Unit only1 Unit onlyUp to 2 Units can beconnected.

There areno restrictions on theorder in which Unitsare connected.Word AllocationsThe CPM1A-TS002 and CPM1A-TS102 are allocated four words each (one foreach input point). No output words are allocated.60-point CPU Unit20-point ExpansionI/O UnitInput word addressesIR 000IR 001IR 002IR 003Output word addressesIR 010IR 011IR 012IR 013CPM1A-TS002/102Temperature Sensor UnitIR 004IR 005IR 006IR 007NoneCPM2C Temperature Sensor Unit AllocationsUp to four CPM2C-TS001/101 Temperature Sensor Units can be connected.

Upto a total of five Expansion I/O Units and Expansion Units can be connected (in-179SectionTemperature Sensor Units3-2cluding the Temperature Sensor Units.) No matter how many Units are connected, however, no more than 0 input words and 10 output words can be allocated in one PC. There are no restrictions on the order in which Units can beconnected.ExampleCPM2C-TS001/101Temperature Sensor UnitsCPM2C CPU UnitExpansion I/O UnitFour TemperatureSensor Units max.Word AllocationWords are allocated to Temperature Sensor Units just like other Expansion I/OUnits and Expansion Units: In the order in which the Units are connected. ACPM2C-TS001 or CPM2C-TS101 Temperature Sensor Unit will thus be allocated the next two input words after the Unit to which it is connected (CPU Unit orother Unit). No output words are allocated.20-point CPU UnitCPM2C-TS001TemperatureSensor UnitCPM2C-TS001TemperatureSensor UnitCPM2C-TS101TemperatureSensor UnitCPM2C-TS101TemperatureSensor UnitCPM2C-24EDTCExpansion I/O UnitInputsIR 000InputsIR 001IR 002InputsIR 003IR 004InputsIR 005IR 006InputsIR 007IR 008InputsIR 009OutputsIR 010OutputsNoneOutputsNoneOutputsNoneOutputsNoneOutputsIR 0113-2-5 Setting Temperature RangesThe temperature unit, the number of decimal places used, and the temperatureinput range are set on the DIP switch and rotary switch on the Temperature Sensor Unit.Note1801.

Always turn OFF the power supply before setting the temperature range.2. Never touch the DIP switch or rotary switch during Temperature Sensor Unitoperation. Static electricity may cause operating errors.SectionTemperature Sensor Units3-2CPM1A/CPM2A Temperature Sensor UnitsCPM1A-TS001/002/101/102DIP SwitchUsed to set the temperatureunit and the number of decimalplaces used.Rotary SwitchUsed to set the temperatureinput range.Temperature input terminalsCPM2C Temperature Sensor UnitsCPM2C-TS001/101Expansion I/O connector (output)Expansion I/O connector (input)Cold junction compensator(TS001 only)Temperature input terminalsDIP SwitchUsed to set the temperatureunit and the number of decimalplaces used.Rotary SwitchUsed to set the temperatureinput range.DIP Switch SettingsThe DIP switch is used to set the temperature unit (°C or °F) and the number ofdecimal places used.CPM1A-TSCPM2C-TSSW1ONFONCON21120.01SW1121 or 0.1SettingTemperature unitNumber of decimalplaces usedOFFONOFFON°C°FNormal (0 or 1 digit after the decimalpoint, depending on the input range)2-decimal-place Mode (e.g., 0.01)Note For details on 2-decimal-place Mode, refer to 3-2-8 Two-decimal-place Mode.181SectionTemperature Sensor UnitsRotary Switch SettingThe rotary switch is used to set the temperature range.! CautionSet the temperature range according to the type of temperature sensor connected to the Unit.

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

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

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

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