CPM2A_PROGRAMMING MANUAL (W353-E1-2) (Техническая документация), страница 7
Описание файла
Файл "CPM2A_PROGRAMMING MANUAL (W353-E1-2)" внутри архива находится в следующих папках: Техническая документация, 1. Программируемый контроллер OMRON SYSMAC CPM2A. PDF-файл из архива "Техническая документация", который расположен в категории "". Всё это находится в предмете "инструментальные средства" из 9 семестр (1 семестр магистратуры), которые можно найти в файловом архиве МПУ. Не смотря на прямую связь этого архива с МПУ, его также можно найти и в других разделах. Архив можно найти в разделе "остальное", в предмете "инструментальные средства" в общих файлах.
Просмотр PDF-файла онлайн
Текст 7 страницы из PDF
If thememory backup time is exceeded, memory status will be unstable even if the I/OHold Bit Status and Forced Status Hold Bit Status Bits are used. Unpredictableresults may occur if operation is attempted with unstable memory status.1. The memory backup time of the internal capacitor varies with the ambienttemperature, but is 20 days at 25C. Refer to hardware specifications formore details.2. The memory backup time assumes that the internal capacitor is fullycharged before power is turned off.
Fulling charging the capacitor requiresthat power is supplied to the CPU Unit for at least 15 minutes.1-2-3 Program Memory Write-protectionIn CPM1, CPM1A, CPM2A, and CPM2C PCs, the program memory can be protected by setting bits 00 to 03 of DM 6602 to 1. Bits 04 to 07 determine whetherProgramming Console messages are displayed in English or Japanese.Bit 15DM6602000Always 00Programming Console messages0: English1: JapaneseProgram memory0: Not write-protected1: Write-protectedDefault: English displays, not write-protectedNote DM 6602 itself can still be changed after the program memory has been writeprotected by setting bits 04 to 07 of DM 6602 to 1.17SectionBasic PC Operation and I/O Processes1-21-2-4 RS-232C Port Servicing Time (CPM2A/CPM2C/SRM1(-V2) Only)The following settings are used to determine the percentage of the cycle timedevoted to servicing the RS-232C port.Bit 150DM6616Servicing time setting enable00: Disabled (5% used)01: Enabled (setting in bits 00 to 07 used)Servicing time (%, valid with bits 08 to 15 are 01)00 to 99 (BCD, two digits)Default: 5% of cycle timeExample: If DM 6616 is set to 0110, the RS-232C port will be serviced for 10% ofthe cycle time.The servicing time will be 0.34 ms minimum.The entire servicing time will not be used unless processing requests exist.1-2-5 Peripheral Port Servicing TimeThe following settings are used to determine the percentage of the cycle timedevoted to servicing the peripheral port.Bit 150DM6617Servicing time setting enable00: Disabled (5% used)01: Enabled (setting in bits 00 to 07 used)Servicing time (%, valid with bits 08 to 15 are 01)00 to 99 (BCD, two digits)Default: 5% of cycle timeExample: If DM 6617 is set to 0115, the peripheral port will be serviced for 15%of the cycle time.The servicing time will be 0.34 ms minimum.The entire servicing time will not be used unless processing requests exist.1-2-6 Cycle Monitor TimeBit 150DM6618Cycle Monitor Time Enable and Units00: Setting disabled (time fixed at 120 ms)01: Setting in 00 to 07 enabled; units:10 ms02: Setting in 00 to 07 enabled; units:100 ms03: Setting in 00 to 07 enabled; units:1 sCycle monitor time setting (When bits 08 to 15 are not 00)00 to 99 (2 digits BCD; units set in bits 08 to 15.)Default: 120 ms.The cycle monitor time is used for checking for extremely long cycle times, ascan happen when the program goes into an infinite loop.
If the cycle time exceeds the cycle monitor setting, a fatal error (FALS 9F) will be generated.18SectionBasic PC Operation and I/O ProcessesNote1-21. The units used for the maximum and current cycle times recorded in the ARarea (AR 14 and AR 15) are determined by the setting for the cycle monitortime in DM 6618, as shown below.Bits 08 to 15 set to 01:Bits 08 to 15 set to 02:Bits 08 to 15 set to 03:0.1 ms1 ms10 ms2. If the cycle time is 1 s or longer, the cycle time read from Programming Devices will be 999.9 ms. The correct maximum and current cycle times will berecorded in the AR area.ExampleIf 0230 is set in DM 6618, an FALS 9F error will not occur until the cycle timeexceeds 3 s. If the actual cycle time is 2.59 s, the current cycle time stored in theAR area will be 2590 (ms), but the cycle time read from a Programming Devicewill be 999.9 ms.A “cycle time over” error (non-fatal) will be generated when the cycle time exceeds 100 ms unless detection of long cycle times is disable using the setting inDM 6655.1-2-7 Minimum Cycle TimeMake the settings shown below to standardize the cycle time and to eliminatevariations in I/O response time by setting a minimum cycle time.Bit 150DM6619Cycle time (4 digits BCD)0000:Cycle time variable0001 to 9999: Minimum cycle time (Unit: 1 ms)Default: Cycle time variableIf the actual cycle time is shorter than the minimum cycle time, execution will waituntil the minimum time has expired.
If the actual cycle time is longer than theminimum cycle time, then operation will proceed according to the actual cycletime. AR 2405 will turn ON if the minimum cycle time is exceeded.1-2-8 Input Time ConstantsMake the settings shown below to set the time from when the actual inputs fromthe DC Input Unit are turned ON or OFF until the corresponding input bits areupdated (i.e., until their ON/OFF status is changed). Make these settings whenyou want to adjust the time until inputs stabilize.Increasing the input time constant can reduce the effects from chattering andexternal noise.Input from an input devicesuch as a limit switchInput bit statustt Input time constantThe SRM1(-V2) does not have this setting.19SectionBasic PC Operation and I/O ProcessesCPM1/CPM1A PCs1-2Set the input time constants for CPM1/CPM1A inputs from a Programming Device.Input Time Constants for IR 000Bit 150DM 6620Time constant for IR 00007 to IR 00011 (1 digit BCD; see below.)Time constant for IR 00005 to IR 00006 (1 digit BCD; see below.)Time constant for IR 00003 to IR 00004 (1 digit BCD; see below.)Time constant for IR 00000 to IR 00002 (1 digit BCD; see below.)Default: 0000 (8 ms for each)Input Time Constants for IR 001 to IR 009Bit 15DM 6621: IR 001 and IR 002DM 6622: IR 003 and IR 004DM 6623: IR 005 and IR 006DM 6624: IR 007 and IR 008DM 6625: IR 0090DM 6621 to DM 6625Time constant for IR 002, IR 004, IR 006, and IR 008Time constant for IR 001, IR 003, IR 005, IR 007, and IR 009Default: 0000 (8 ms for each)The nine possible settings for the input time constant are shown below.
(Set onlythe rightmost digit for each setting for IR 000.)00: 8 ms05: 16 ms01: 1 ms06: 32 ms02: 2 ms07: 64 ms03: 4 ms08: 128 ms04: 8 msThe CPM1/CPM1A’s I/O response time is the input time constant (1 ms to128 ms; default is 8 ms) + the cycle time.Refer to 8-1 CPM1/CPM1A Cycle Time and I/O Response Time for more details.CPM2A/CPM2C PCsSet the input time constants for CPM2A/CPM2C inputs from a Programming Device.Input Time Constants for IR 000Bit 150DM 6620Time constant for IR 00007 to IR 00011 (1 digit BCD; see below.)Time constant for IR 00005 to IR 00006 (1 digit BCD; see below.)Time constant for IR 00003 to IR 00004 (1 digit BCD; see below.)Time constant for IR 00000 to IR 00002 (1 digit BCD; see below.)Default: 0000 (10 ms for each)Input Time Constants for IR 001 to IR 009DM 6621: IR 001 and IR 002DM 6622: IR 003 and IR 004DM 6623: IR 005 and IR 006DM 6624: IR 007 and IR 008DM 6625: IR 009Bit 15DM 6621 to DM 6625Time constant for IR 002, IR 004, IR 006, and IR 008Time constant for IR 001, IR 003, IR 005, IR 007, and IR 009Default: 0000 (10 ms for each)200SectionBasic PC Operation and I/O Processes1-2The nine possible settings for the input time constant are shown below.
(Set onlythe rightmost digit for IR 000.)00: 10 ms01: 1 ms02: 2 ms03: 3 ms04: 5 ms05: 10 ms06: 20 ms07: 40 ms08: 80 ms1-2-9 Error Log SettingsError Detection and Error Log Operation (DM 6655)Make the settings shown below to determine whether or not a non-fatal error is tobe generated when the cycle time exceeds 100 ms or when the voltage of thebuilt-in battery drops (CPM2A/CPM2C only), and to set the method for storingrecords in the error log when errors occur.Bit 15DM6655Low battery voltage detection0: Detect1: Don’t detect00Always0Cycle time over detection0: Detect1: Don’t detectError log storage method0: Error records for the 7 most recent errors always stored (older errors deleted).1: Only the first 7 error records stored (no errors stored beyond that point).2 to F: Error records not stored.Default: Low battery voltage and cycle time over errors detected, and error recordsstored for the 7 most recent errors.Battery errors and cycle time overrun errors are non-fatal errors.For details on the error log, refer to Section 9 Troubleshooting.Note The low battery error is applicable to CPM2A/CPM2C only.
This digit isn’t used inCPM1/CPM1A/SRM1(-V2) PCs and CPM2C PCs that aren’t equipped with abattery.21SECTION 2Special FeaturesThis section explains special features of the CPM1, CPM1A, CPM2A, CPM2C, and SRM1(-V2).2-12-22-32-42-52-62-72-82-92-102-112-122-132-142-152-162-172-182-19CPM2A/CPM2C Interrupt Functions . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1-1 Interrupt Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1-2 Interval Timer Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .CPM2A/CPM2C High-speed Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2-1 Using High-speed Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .