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

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

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

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

This instruction can be executed only while pulse outputs are stopped. ThePV cannot be changed while pulses are being output. If the PV needs to bechanged, be sure to stop the pulse output first.2. This instruction can be used only for changing the frequency and stoppingthe pulse output. It cannot be used for switching between independentmode and continuous mode. Moreover, ACC(––) cannot be received duringacceleration or deceleration.110SectionCPM2A/CPM2C Pulse Output Functions2-5The following table shows the words and bits related to pulse outputs with trapezoidal acceleration and deceleration (fixed duty ratio).WordBitsNameContentsCannot be used aswork bits even whennot used as pulseoutputs.22800 to 15 Pulse output PV 0, rightmost 4 digits22900 to 15 Pulse output PV 0, leftmost 4 digits252AR 1104Pulse output 0 PV resetClears PV 0 when ON.11Pulse output status for pulse output 0ON: Accelerating ordeceleratingOFF: Constant speed12Pulse output 0 PV overflow/underflow131415ON: OccurredOFF: NormalNumber of pulses set for pulse output 0 ON: SetOFF: Not setPulse output completed for pulseON: Completedoutput 0OFF: Not completedPulse output in progress for pulseON: In progress (byoutput 0SPED(64), ACC(––),or PWM(––))OFF: StoppedSet Number of PulsesSpecify the number of pulses to be output in independent mode.(@)PULS(65)000DNFixed at 000: Pulse output 0Type of Pulse Output (000: Relative pulses; 001: Absolute pulses) (See note.)Beginning word of setting for number of pulsesNRightmost 4 digitsN+1Leftmost 4 digitsNumber of pulses (Rightmost, leftmost digits)Register the number of pulses to be set.96,777,215 to 16,777,215Negative numbers are expressed by turningON the leftmost bit.Type of Pulse Output000:Relative pulses (SV for number of pulses = Number of pulses moved)001:Absolute pulses (SV for number of pulses = The next PV on the absolute coordinate system,i.e., the pulse output PV + number of pulses moved)**Absolute pulses can only be specified by PULS(65) when the PV coordinate systemin the PC Setup is set for an absolute coordinate system.111SectionCPM2A/CPM2C Pulse Output Functions2-5Set Frequency and Start Pulse OutputsChange FrequencyThese functions set the output mode, the target frequency, the starting frequency, and the acceleration/deceleration rate, and they begin pulse outputs.

Theycan also be used to change the frequency, by accelerating or decelerating at thespecified acceleration/deceleration rate, if pulse outputs are already in progressin continuous mode.Setting the Frequencies, Acceleration/Deceleration, and Starting PulseOutputs in Independent Mode(@)ACC(––)000MTMFixed at 000: Pulse output 0Output mode designationBeginning word of settings tableOutput modeSpecify the output mode.000: Up/down pulse outputs, independent mode002: Pulse + direction outputs, independent modeTAcceleration/deceleration rate (#0001 to #1000 BCD: 10 Hz to 10 kHz)T+1Target frequency (#0001 to #1000 BCD: 10 Hz to 10 kHz)T+2Starting frequency (#0000 to #1000 BCD: 0 to 10 kHz)Register the data for each frequency.The acceleration/deceleration rate is the increase or decrease in the frequency every 10 ms.Pulse output frequencyTargetfrequencyStartingfrequency0 HzNumber ofpulsesTimeIn independent mode, the acceleration and decelerationpoints are determined from the number of pulses, theacceleration/deceleration rate, the target frequency, andthe the starting frequency.112SectionCPM2A/CPM2C Pulse Output Functions2-5Setting the Frequency and Acceleration/Deceleration, Starting Pulse Outputs, and Changing the Frequency in Continuous Mode(@)ACC(––)MFixed at 000: Pulse output 0Output mode designationTBeginning word of settings table000MOutput modeSpecify the output mode.010: Up/down pulse output, CW, continuous mode011: Up/down pulse output, CCW, continuous mode012: Pulse + direction output, CW, continuous mode013: Pulse + direction output, CCW, continuous modeTAcceleration/deceleration rate (#0001 to #1000 BCD: 10 Hz to 10 kHz)T+1Target frequency (#0001 to #1000 BCD: 10 Hz to 10 kHz)T+2Starting frequency (#0000 to #1000 BCD: 0 to 10 kHz)Register the data for each frequency.The acceleration/deceleration rate is the increase or decrease in the frequency every 10 ms.Pulse output frequencyTargetfrequencyStartingfrequency0 HzTimeIn continuous mode, pulses are output at the target frequency untilstopped.

The next ACC(––) instruction cannot be received except duringacceleration or deceleration.Change Pulse Output PVThis function changes the pulse output PV.(@)INI(61)000004C2Fixed at 000: Pulse output 0Control designation (004: Change pulse output PV)Beginning word for PV change dataC2Rightmost 4 digitsC2+1Leftmost 4 digitsChange PV data (Rightmost, leftmost digits)Register the PV data to be changed.96,777,215 to 16,777,215Negative numbers are expressed by turningON the leftmost bit.Note The pulse output PV can be changed only while the pulse output is stopped.113SectionCPM2A/CPM2C Pulse Output Functions2-5Stop Pulse Outputs,Decelerate and Stop Pulse OutputsThese functions stop the pulse outputs.Stop Pulse Outputs(@)INI(61)000Fixed at 000: Pulse output 0003Control designation (003: Stop pulse outputs)000Fixed at 000Decelerate Stop Pulse Outputs(@)ACC(––)000000TFixed at 000: Port specifierMode designationBeginning word of settings tableTAcceleration/deceleration rate (#0001 to #1000 BCD: 10 Hz to 10 kHz)T+1Target frequency (#0000 to #1000 BCD: 0 Hz to 10 kHz)T+2Starting frequency (#0000 to #1000 BCD: 0 to 10 kHz)Register the data for each frequency.The acceleration/deceleration rate is the increase or decrease in the frequency every 10 ms.Note The pulse outputs can also be stopped by switching the PC to PROGRAMmode.Read Pulse Output PVThis function reads the pulse output PV.Using an Instruction(@)PRV(62)000003DFixed at 000: Pulse output 0Control designation (003: Read pulse output PV)Beginning word for storing pulse output PVDRightmost 4 digitsD+1Leftmost 4 digitsPulse output PV (rightmost, leftmost digits)The PV data that is read is stored here.96,777,215 to 16,777,215Negative numbers are expressed by turningON the leftmost bit.Using Data AreasAs shown in the following illustration, the pulse output PV for pulse output 0 isstored in words 228 and 229.Pulse Output 0Word 228PV (Rightmost)Word 229PV (Leftmost)Note SR 228 and SR 229 are refreshed once each cycle, so the values in these wordsmay not reflect the actual status during each cycle, but SR 228 and SR 229 arerefreshed immediately when their status is read with PRV(62).114SectionCPM2A/CPM2C Pulse Output Functions2-5Read Pulse Output StatusThis function reads the pulse output status.Using an Instruction(@)PRV(62)000Fixed at 000: Pulse output 0001Control designation (001: Read pulse output status)Word for storing pulse output statusDPulse output status0: Constant rate1: Accelerating or deceleratingPulse output PV overflow/underflow0: Normal; 1: Overflow or underflow occurredNumber of pulses0: Not set1: SetPulse output completion0: Not completed1: CompletedPulse output in progress0: Stopped1: Output in progressUsing Data AreasAs shown in the following illustration, the pulse output status for pulse output 0 isstored in AR 1111 to AR 1115.AR 11: Pulse output 0Pulse output status0: Constant rate1: Accelerating or deceleratingPulse output in progress0: Stopped1: Output in progressPulse output completion0: Not completed1: CompletedPulse output PV overflow/underflow0: Normal1: Overflow or underflow occurredNumber of pulses0: Not set1: SetNote AR 1111 through AR 1115 are refreshed once each cycle, so the values of theseflags may not reflect the actual status, but these flags are refreshed immediatelywhen their status is read with PRV(62).Relationship Between Status and OperationIndependent Mode with Acceleration and DecelerationFrequencyTimePULS(65) executionACC(––) executionOutput 0 in progressOutput 1 in progressOutput completionOutput statusSet number of pulses115SectionCPM2A/CPM2C Pulse Output FunctionsContinuous Mode with Acceleration and Deceleration 1FrequencyTimeACC(––) execution (1)ACC(––) execution (2)INI(61) executionOutput 0 in progressOutput 1 in progressOutput completionOutput statusSet number of pulsesContinuous Mode with Acceleration and Deceleration 2FrequencyTimeACC(––) execution (Stop)Output 0 in progressOutput 1 in progressOutput completionOutput statusSet number of pulsesStopping Outputs in Continuous Modewith Acceleration and Deceleration 1FrequencyTimePULS(65) executionACC(––) executionINI(61) executionOutput 0 in progressOutput 1 in progressOutput completionOutput statusSet number of pulses1162-5SectionCPM2A/CPM2C Pulse Output Functions2-5Stopping Outputs in Continuous Modewith Acceleration and Deceleration 2FrequencyTimePULS(65) executionACC(––) executionACC(––) executionOutput 0 in progressOutput 1 in progressOutput completionOutput statusSet number of pulsesApplication ExamplePositioningExplanationIn this example, when the execution condition (00005) turns ON, 1000 pulsesare output from output 01000 (pulse output 0) in a trapezoidal acceleration/deceleration pattern as shown in the following diagram.Frequency (Hz)Acceleration/deceleration rate50010 Hz10 ms200Number of pulsesExecution condition(00005)WiringWire the CPM2A to the motor driver as shown in the following illustration.Motor Driver117SectionCPM2A/CPM2C Pulse Output Functions2-5Wire the CPM2C to the motor driver as shown in the following illustration.

In thiscase, a CPU Unit with sinking transistor outputs is used.Output connectorMotor Driver24 VDCNote Refer to the operation manual for details on wiring.PC Setup150DM 6629DM 6642000Sets the coordinate system for pulse output 0 as relative.High-speed counter not used.(Set for other than synchronized pulse control.)Programming00005 (Execution condition)(13)Detects turning ON of execution condition.PULS(65) Sets number of pulses.Pulse output 0Relative pulsesBeginning word for pulse SVdataACC(––)118Number of pulses: 1,000Sets frequency and starts pulse output.Pulse output 0Independent mode, up/down pulse outputBeginning word ofAcceleration/deceleration rate: 10 Hz/10 mssettings tableTarget frequency: 500 HzStarting frequency: 200 HzSectionCPM2A/CPM2C Pulse Output Functions2-5JoggingExplanationIn this example, when the execution condition (00005) turns ON, JOG pulses areoutput at a frequency of 100 Hz from either output 01000 (CW direction) or output 01001 (CCW direction).

When the execution condition (00005) turns OFF,the output is stopped. As shown in the following diagram, the JOG pulses areaccelerated and decelerated at the start and stop of the operation. Switching between output 01000 (CW direction) and output 01001 (CCW direction) is performed by means of the direction designator (00006).Frequency (Hz)Acceleration/deceleration rateTime10 Hz10 msExecution condition(00005)Direction designator(00006)WiringWire the CPM2A to the motor driver as shown in the following illustration.Motor DriverWire the CPM2C to the motor driver as shown in the following illustration. In thiscase, a CPU Unit with sinking transistor outputs is used.Output connectorMotor Driver24 VDC119SectionCPM2A/CPM2C Pulse Output FunctionsNote Refer to the operation manual for details on wiring.PC Setup150DM 6629DM 6642000Sets the coordinate system for pulse output 0 as relative.High-speed counter not used.(Set for other than synchronized pulse control.)Programming00005 (Execution condition)(Direction designator)(13)Detects turning ON of execution condition.(14)Detects turning OFF of execution condition.AR1115ACC(––)Output in CW directionPulse output 0Continuous mode, up/down pulses, CW directionBeginning word of settings tableACC(––)Output in CCW directionPulse output 0Continuous mode, up/down pulses, CCW directionBeginning word of settings tableAcceleration/deceleration rate: 10 Hz/10 msTarget frequency: 500 HzStarting frequency: 200 Hz(Direction designator)(14)ACC(––)Deceleration stopPulse output 0Beginning word of settings tableAcceleration/deceleration rate: 10 Hz/10 msTarget frequency: 0 Hz1202-5SectionCPM1A Pulse Output Functions2-62-6CPM1A Pulse Output FunctionsThe CPM1A PCs with transistor outputs have a pulse output function capable ofoutputting a pulse of 20 Hz to 2 kHz (single-phase).

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

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

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

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