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

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

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

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

Phase-B inputs can be used as ordinary inputs.ONPulse inputsOFFNms → Frequency =1,000NWiring the InputsInput WiringWire the CPM2A inputs as shown in the following diagram.Differential Phase Input ModeUp/Down Pulse Input Mode00000: Phase-A input00001: Phase-B input00002: Phase-Z inputPulse + Direction Input Mode00000: Pulse input00001: Direction input12800000: CW input00001: CCW inputIncrement Mode00000: Pulse inputSectionSynchronized Pulse Control (CPM2A/CPM2C Only)2-7Wire the CPM2C inputs as shown in the following diagram.Differential Phase Input ModeUp/Down Pulse Input ModeInput connectorInput connector00002: Phase-Z input00001: Phase-B input00001: CCW input00000: Phase-A input00000: CW inputPulse + Direction Input ModeIncrement ModeInput connectorInput connector00001: Direction input00000: Pulse input00000: Pulse inputOutput WiringWire the CPM2A outputs as shown in the following diagram.Output Wiring01000: Pulse output 001001: Pulse output 1129SectionSynchronized Pulse Control (CPM2A/CPM2C Only)2-7Wire the CPM2C outputs as shown in the following diagram.Output connector01000: Pulse output 001001: Pulse output 1PC SetupThe settings in the PC Setup related to synchronized pulse control are listed inthe following table.WordDM 6642BitsFunctionSetting00 to 03High-speed counter input mode setting04 to 070: Differential phase input 5 kHz1: Pulse + direction input 20 kHz2: Up/down input20 kHz4: Increment20 kHzHigh-speed counter reset method setting08 to 150: Phase-Z signal + software reset1: Software resetHigh-speed counter setting0, 1, 2, or40 or 102, 03, 0400: Do not use.01: Use as high-speed counter02: Use as synchronized pulse control(10 Hz to 500 Hz)03: Use as synchronized pulse control(20 Hz to 1 kHz)04: Use as synchronized pulse control(300 Hz to 20 kHz)The settings will go into effect when the mode is changed (from PROGRAM toMONITOR/RUN) or when the power supply is turned ON to the PC.Ladder DiagramProgrammingThe following table shows the instruction operations related to synchronizedpulse control.InstructionControl(@)SYNC(––) Start synchronizedcontrolChange frequencyscaling factor(@)INI(61)Stop synchronizedcontrol(@)PRV(62)Read input frequencyRead synchronizedcontrol status130OperationSpecifies the frequency scaling factorand the output port, and outputs pulses.Changes the frequency scaling factorduring pulse output.Stops the pulse outputs.Reads the input frequency.Reads the synchronized control status.SectionSynchronized Pulse Control (CPM2A/CPM2C Only)2-7The following table shows the words and bits related to synchronized pulse control.WordBitsName248249AR 1100 to 1500 to 1515AR 1215Input frequency PV, rightmost digitsInput frequency PV, leftmost digitsPulse output in progress for pulseoutput 0Pulse output in progress for pulseoutput 1ContentsReads the inputfrequency PV.ON: Output in progressOFF: StoppedStart Frequency ControlThis function specifies the bits for pulse outputs (01000, 01001) and the frequency scaling factor (1% to 1,000%), and starts the pulse output.(@)SYNC(––)000P2CCPulse input port designation (000: High-speed counter)Pulse output port designation (000: Pulse output 0; 010: Pulse output 1)Frequency scaling factor settingFrequency scaling factorRegister the frequency scaling factor to be set.#0001 to #1000 (4 digits BCD): 1 to 1,000%Note When using SYNC(––) to specify a frequency scaling factor, be careful to keepthe pulse output frequency below 10 kHz.Change Frequency Scaling FactorThis function changes the frequency scaling factor during synchronized control(during pulse output) by specifying the bits for pulse outputs (01000, 01001) andthe frequency scaling factor (1% to 1,000%) and executing SYNC(––).Stop Synchronized ControlThis function stops the pulse outputs.(@)INI(61)005Port specifier (000: High-speed counter)Control designation (005: Stop synchronized control)000Fixed: 000000Note The pulse output can also be stopped by switching the PC to PROGRAM mode.Read Input FrequencyThis function reads the input frequency PV.Using an Instruction(@)PRV(62)000000DFixed: 000Control designation (000: Read high-speed counter input frequency)Beginning word for storing input frequency PVDRightmost 4 digitsD+1Leftmost 4 digits00000000 to 00020000 (8 digits BCD)Using Data AreasAs shown in the following illustration, the input frequency is stored in words 248and 249.Word 248Input frequency PV (Rightmost)Word 249Input frequency PV (Leftmost)131SectionSynchronized Pulse Control (CPM2A/CPM2C Only)2-7Words 248 and 249 are refreshed with every scan, so there may be a discrepancy from the exact PV at any given time.When the PV is read by executing PRV(62), words 248 and 249 are refreshedwith the same timing.Read Synchronized Control StatusThis function reads the synchronized control status.Using an Instruction(@)PRV(62)000Port specifier (000: Pulse output 0; 010: Pulse output 1)001Control designation (001: Read synchronized control status)Beginning word for storing synchronized control statusD• Port specifier: 000Status of pulse output 00: Stopped1: Pulse output in progress• Port specifier: 010Status of pulse output 10: Stopped1: Pulse output in progressUsing Data AreasAs shown in the following illustration, the status of pulse output 0 is stored inAR 1115, and the status of pulse output 1 is stored in AR 1215.AR 11Status of pulse output 00: Stopped1: Output in progressAR 12Status of pulse output 10: Stopped1: Output in progressAR 1115 and AR 1215 are refreshed once each cycle, so there may be a discrepancy from the exact PV at any given time.When the PV is read by executing PRV(62), AR 1112 and AR 1212 are refreshedimmediately.132SectionSynchronized Pulse Control (CPM2A/CPM2C Only)2-7Relationship Between Status and OperationFrequencyInput pulsesTimeFrequencyOutput pulsesTimeSYNC(––) executionINI(61) executionOutput 0 in progressOutput 1 in progressApplication ExampleExplanationIn this example, when the execution condition (00005) turns ON, synchronizedpulse control is started and pulses are output from output 01000 (pulse output 0)according to the pulses input by the high-speed counter.

At this time, the frequency scaling factor can be changed by means of analog control 0. When theexecution condition (00005) turns OFF, synchronized pulse control is stopped.WiringWire the CPM2A as shown in the following illustration.OrangeWhiteBlackRotary encoderBlueBrownMotor driver133SectionData Computation Standards2-8Wire the CPM2C as shown in the following illustration. In this case, a CPU Unitwith sinking transistor outputs is used.Output connectorInput connectorMotor DriverBlueRotary encoderBrownCOMOrange24 VDCWhiteBlackNote For details regarding motor driver wiring to outputs and rotary encoder wiring toinputs, refer to the CPM2A/CPM2C Operation Manual.PC Setup15DM 6642002000: Differential phase input02: Use as pulse synchronization output.Programming00005 (Execution condition)DIFD(14) 20000Detects the turning OFF of the execution condition.MOV(21)250DM0000Moves the value of analog control 0 into DM 0000.CMP(20)Sets DM 0000 to “1” when analog control 0 is setto “0.”MOV(21)2-8(The analog controls are built into the CPM2APCs, but not CPM2C PCs.)SYNC(––)SYNCHRONIZED PULSE CONTROL executionHIgh-speed counterPulse output port 0Beginning word of frequency scaling factorINI(61)Stops synchronized pulse control.Data Computation StandardsThe degree of error and performance in pulse outputs and synchronized pulsecontrol are described in this section.134SectionData Computation Standards2-82-8-1 Pulse OutputsThere will be a delay before a change in the frequency during pulse output isactually applied to the output, as shown below.Delays in FrequencyChangesFrequencychangedDelayPulse outputMaximum delay (ms) = One period of the current pulse output 2 + 10 + instruction execution timeThere will be an error between the frequency of the output pulse and the set frequency of less than ± 1% due to internal processing error.Frequency Error2-8-2 Synchronized Pulse ControlDelay in Start of PulseOutputThe following diagram shows the delay that will occur between starting synchronized pulse control and the start of actual pulse output.Pulse inputPulse outputDelayMaximum delay (ms) = One period of the pulse input x 2 + 16.25Delays in FrequencyChangesThere will be a delay before a change in the frequency during pulse output isactually applied to the output when performing synchronized pulse control, asshown below.DelayPulse inputPulse outputMaximum delay (ms) = One period of the current pulse output 2 + 10Delay in Stop of PulseOutputThe following diagram shows the delay that will occur between stopping synchronized pulse control (0 Hz) and the end of actual pulse output during synchronized pulse control.DelayPulse inputPulse outputMaximum delay (ms) = Setting in DM 6642 (see below) + One period of the current pulse output B 2 + 10Frequency ErrorSetting ofDM 6642 bits 08 to 1502Frequency rangeDelay10 to 500 Hz262 ms0320 Hz to 1 kHz66 ms04300 Hz to 20 kHz4 msThere will be an error between the frequencies of the input pulse and outputpulse, as described below.

The error consists of error in the input pulse frequency measurement and error in the output pulse frequency.135Section 2-11CompoBus/S I/O Slave Functions (CPM1A/CPM2A/CPM2C Only)Input Pulse Frequency Measurement ErrorThe error in measuring the frequency of the input pulse depends on the setting inDM 6642, as shown below. If a multiplication factor is specified for synchronizedpulse control, the error given in the table must also be multiplied by the samefactor.Setting ofDM 6642 bits 08 to 1502Frequency rangeError10 to 500 Hz±1 Hz0320 Hz to 1 kHz±1 Hz04300 Hz to 20 kHz±10 HzOutput Pulse Frequency ErrorThere will be an error between the frequency of the output pulse and the set frequency of less than ± 1% due to internal processing error.ExampleDM 6642 bits 08 to 15: 4 (frequency range: 300 Hz to 20 kHz)Multiplication factor:300%Input frequency:1 kHz (error: 0%)If synchronized pulse control is performed under the above conditions, there willbe an error of ±10 Hz in measuring the frequency range of the input pulse.

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

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

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

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