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

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

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

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

If the input returns to the convertible range, the open-circuit detection iscleared automatically and the output returns to the normal range.Using Analog I/OConnect the Unit.Set the I/O ranges.Connect the Analog I/O Unit.Analog inputs: 0 to 5 VDC, 1 to 5 VDC, 0 to 10 VDC,–10 to 10 VDC, 0 to 20 mA, or 4 to 20 mAAnalog output: 1 to 5 VDC, 0 to 10 VDC, –10 to 10 VDC,0 to 20 mA, or 4 to 20 mASet inputs as voltage or analog and set the averaging function.Wire the analog I/O.Program operation in theladder program.Connect analog I/O devices.Write the range code.Analog inputs: Read converted data.Analog output: Write set values.Analog InputsCPU UnitAnalog I/O UnitLadder program(21) MOVE instructionWrites the range code.Reads the convertedvalues.Word (n + 1)Range codeWord (m + 1)Analog input 0converted valueAnalog input 1converted valueWord (m + 2)Analog devicesWhere “m” is the last input word and “n” is thelast output word allocated to the CPU Unit, orprevious Expansion Unit or Expansion I/O Unit.168Temperature sensorPressure sensorSpeed sensorFlow sensorVoltage/current meterOtherSectionAnalog I/O Units3-1Analog OutputsCPU UnitAnalog I/O UnitLadder program(See note.)Word (n + 1)Range codeAnalog output set value(21) MOVE instructionWrites the range code.Writes the set value.Analog devicesWhere “n” is the last output word allocated tothe CPU Unit, or previous Expansion Unit orExpansion I/O Unit.Adjustment equipmentServo ControllerVariable speed deviceRecorderOtherNote Word (n + 1) can be used for either the range code or the analog output set value.Connecting the AnalogI/O UnitThis section describes how to connect an Analog I/O Unit to the CPU Unit.A maximum of 5 Expansion Units or Expansion I/O Units, including up to 4 Analog I/O Units, can be connected to one CPM2C PC.

When the Analog I/O Unit isused in combination with other Expansion Units or Expansion I/O Units, thereare no restrictions on the connection order.CPU UnitCPM2C-MAD11 Analog I/O UnitsExpansion I/O UnitI/O AllocationI/O is allocated for the Analog I/O Unit in the same way as other Expansion Unitsor Expansion I/O Units starting from the next word following the last allocatedword on the CPU Unit or previous Expansion Unit or Expansion I/O Unit. When“m” is the last allocated input word and “n” the last allocated output word on theCPU Unit, or previous Expansion Unit or Expansion I/O Unit, the allocation willbe as follows:CPM2C-MAD11 Analog I/O UnitAnalog input 0:Analog input 1:Word m+1Word m+2Analog output:Word n+1169SectionAnalog I/O Units3-1For example, in the following diagram an Analog I/O Unit is connected to a CPUUnit with 20 I/O points.CPU Unit CPM2C-MAD11 Analog I/O UnitCPU Unit inputs:Analog input 0:Analog input 1:IR 000IR 001IR 002CPU Unit outputs:Analog output:IR 010IR 011I/O signal ranges are set for analog voltages by using the DIP switch and by writing a range code to the output word of the Analog I/O Unit.

I/O signal ranges areset for analog currents by using the DIP switch.Setting I/O Signal RangeExpansion I/O connector (output)Expansion I/O connector (input)DIP switchEnables averaging inputs andswitching between voltage andcurrent inputsAnalog input terminalsAnalog output terminalsDIP Switch SettingsSet the DIP switch as shown below. All pins are factory-set to OFF.ON 1Average processing for analog input 0(OFF: Average processing not performed; ON: Average processing performed)2Average processing for analog input 1(OFF: Average processing not performed; ON: Average processing performed)3Input type for analog input 0(OFF: Voltage input; ON: Current input)4Input type for analog input 1(OFF: Voltage input; ON: Current input)! CautionBe sure to set the DIP switch pins for selecting the type of input to OFF when theinput is voltage input.

These pins can only be set to ON when the input is currentinput.Note Do not touch the DIP switch during operation. Static electricity may cause operating errors.Range CodeThe range code must be set for the Analog I/O Unit to convert data.The range code settings provide the combinations of signal ranges for the analog inputs and analog output shown in the following table.RangeAnalog input 1codesignal range000–10 to 10 V170Analog input 2signal rangeAnalog outputsignal range–10 to 10 V0010 to 10 V0 to 10 V0101 to 5 V or 4 to 20 mA (selected on DIP switch)1 to 5 V0111 to 5 V or 0 to 20 mA (selected on DIP switch)0 to 20 mA100---4 to 20 mASectionAnalog I/O Units3-1Write the range codes to the Analog I/O Unit’s output word (n + 1) in the first cycleof program execution.n+1158 71 0 0 0 0 0 06 5 4 3 2 1 0AnalogoutputAnaloginput 0Analoginput 1ExampleThe following instructions set analog input 0 to 4 to 20 mA, analog input 1 to 0 to10 V, and the analog output to –10 to 10 V.SR 25315(First Cycle Flag)MOV (21)#800AAnalog input 0:4 to 20 mA011Analog input 1:0 to 10 VAnalog output:–10 to 10 VThe Analog I/O Unit will not start converting analog I/O values until the rangecode has been written.

Until conversion starts, inputs will be 0000, and 0 V or0 mA will be output.After the range code has been set, 0 V or 0 mA will be output for the 0 to 10-V,–10 to 10-V, or 0 to 20-mA ranges, and 1 V or 4 mA will be output for the 1 to 5-Vand 4 to 20-mA ranges until a convertible value has been written to the outputword.Once the range code has been set, it is not possible to change the setting whilepower is being supplied to the CPU Unit.

To change the I/O range, turn the CPUUnit OFF then ON again.Wiring Analog I/O DevicesInternal CircuitsAnalog InputsAnalog Outputs0+510 kΩV+250 Ω0–510 kΩ1+510 kΩInput 1250 Ω510 kΩ1+Internal circuitsInternal circuitsInput 0–OutputI+NCAGNCAnalog groundAnalog groundTerminal ArrangementsAnalog Input TerminalsINAnalog input 0 +Analog input 0 –Analog input 1 +Analog input 1 –Analog ground0+0–1+1–AGAnalog Output TerminalsV+–I+NCNCINAnalog voltage outputOutput commonAnalog current outputNot usedNot used171SectionAnalog I/O Units3-1Analog Input WiringAnalogoutputdevice++––AnalogI/O UnitAnalog Output WiringAnalogI/O Unit+ AnalogV+input devicewith voltage– input–Note1721.2.3.4.AnalogI/O UnitI+–+ Analoginput devicewith current– inputUse shielded twisted-pair cables, but do not connect the shield.Wire away from power lines (AC power supply wires, power lines, etc.)When an input is not being used, short the + and – terminals.Separate wiring from power lines (AC power supply lines, high-voltagelines, etc.)5.

When there is noise in the power supply line, install a noise filter on the inputsection and the Power Supply Unit.SectionAnalog I/O Units3-1Reference InformationConsider the following information on open input circuits when using voltage inputs.If the same power supply is used as shown in the following diagram and an opencircuit occurs at point A or B, an unwanted current flow will occur as shown by thedotted lines in the diagram, creating a voltage at the other input of about 1/3 to1/2.

If the 1 to 5-V range is being used, the open-circuit detection function will notoperate. Also, if there is an open circuit at C, the open-circuit detection functionwill not operate because the negative sides are the same.AAnaloginputdevice 1BCAnaloginputdevice 224 VDCFor example, if analog input device 2 is outputting 5 V and the same power supply is being used as shown above, about 1/3, or 1.6 V, will be applied at the inputfor input device 1.To eliminate the above problem, either use separate power supplies, or install anisolator at each input. This problem will not occur for current inputs even if thesame power supply is used.Note When power is supplied (when setting the range code), or when there is a powerinterruption, pulse-form analog output of up to 1 ms may be generated.If this causes problems with operation, take countermeasure such as those suggested below.• Turn ON the power supply for the CPM2C CPU Unit first, and then turn ON thepower supply for the load after confirming correct operation.• Turn OFF the power supply for the load before turning OFF the power supplyfor the CPM2C CPU Unit.173SectionAnalog I/O Units3-1Ladder ProgramSpecifying the Range CodeSpecify the I/O signal range by writing the range code to the Analog I/O Unit’soutput word from the ladder program in the first cycle of program execution.

TheAnalog I/O Unit will start to convert analog I/O values once the range code hasbeen specified and convertible values are provided. (Refer to page 170.)Write the range code to the Analog I/O Unit’s output word in the first cycle of operation; the Analog I/O Unit’s output word is “n+1” when “n” is the last word allocated to the CPU Unit, or previous Expansion Unit or Expansion I/O Unit in theconfiguration.Reading Converted Analog Input ValuesThe ladder program can be used to read the memory area where the convertedvalues are stored. Values are output to the next two words (m + 1, m + 2) following the last input word (m) allocated to the CPU Unit or previous Expansion Unitor Expansion I/O Unit.Writing Analog Output Set ValuesThe ladder program can be used to write data to the output word where the setvalue is stored.

The output word will be “n+1” when “n” is the last output wordallocated to the CPU Unit, or previous Expansion Unit or Expansion I/O Unit.Startup OperationAfter power is turned ON, it will require two cycle times plus approx. 50 ms beforethe first data is converted. The following instructions can be placed at the beginning of the program to delay reading converted data from analog inputs until conversion is actually possible.Note Analog input data will be 0000 until initial processing has been completed.

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

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

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

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