Beginner guide (986746), страница 8
Текст из файла (страница 8)
As these controls are turned, values from 0 to 200 (BCD) are stored in the SR Area.ControlAnalog volume control 0Analog volume control 1Corresponding IR wordSR 250SR 251Setting range (BCD)0000 to 0200The storage area is refreshed once with every CPM2A cycle.•Quick-response InputsThe CPM2A has four inputs used for quick response inputs (shared with interrupt inputs and 2-kHzhigh-speed counter inputs). With quick-response inputs, signals that are changed within a scan canbe received by maintaining an internal buffer.SharedprocessingCalculationprocessingI/O refreshSharedprocessingCalculationprocessingI/O refreshInput terminal(00003)000031 scan3-153.FEATURES & FUNCTIONSInput number (See note.)00003000040000500006Minimum input signal width50 µsThe following table shows the relationships between interval timer interrupts and the CPM2A’sother functions.Synchronized pulse controlInterrupt inputsInterval timer interruptsHigh speed countersInterrupt inputs (counter mode)Pulse outputsQuick-response inputsInput time constantClockNote 1.2.3.4.•Interval time interruptsCan be used simultaneously.See note 1.Can be used simultaneously.Can be used simultaneously.See note 2.Can be used simultaneously.See note 3.See note 4.Can be used simultaneously.Quick response input utilize the interrupt input function, so the same input number from the00003 to 00006 cannot be assigned for both a quick response input and an interrupt input in thePLC setup.A quick-response input and an interrupt in counter mode cannot be assigned the same inputnumber in the PLC setup.The input numbers allocated for quick quick-response inputs are 00003 to 00006.
These inputscan be set and operated as quick-response inputs.Input time constants are disable for all inputs that are set as quick-response inputs.Marco FunctionThe macro function allows a single subroutine (programming pattern) to be used by simplychanging the I/O word. An number of similar program sections can be managed with just onesubroutine, thereby greatly reducing the number of steps in the program and making the programeasier to understand.To use a macro, call a subroutine by means of the MACRO instruction, MCRC(99), as shownbelow, instead of SBS (91) (SUBROUTINE ENTRY).MCRO(99)Subroutine NoFirst input wordFirst output word3-164.qUNIT SPECIFICATIONS AND COMPONENTSGeneral Specifications of CPM1A CPUs UnitItemSupply voltageOperating voltagerangePower consumptionInrush currentExternal powersupply (AC typeonly)AC typeDC typeAC typeDC typeAC typeDC typePower supplyvoltagePower supplyoutput capacityInsulation resistanceDielectric strengthNoise immunityVibration resistanceShock resistanceAmbient temperatureAmbient Humidity (operating)Ambient environment (operating)Terminal screw sizePower supply holding timeCPU weightNote :AC typeDC type10-point I/O20-point I/O100 to 240 VAC, 50/60 H24 VDC85 to 264 VAC20.4 to 26.4VDC30 VA max.6 W max.30 A max.24 VDC200 mA30-point I/O40-point I/O60 VA max.20 W max.60 A max.300 mA20 MΩ min.
(at 500 VDC) between the external AC terminalsand protective earth terminals.2,300 VAC 50/60 Hz for 1 min between the external AC andprotective earth terminals, leakage current: 10 mA max.1,500 Vp−p, pulse width: 0.1 to 1 µs, rise time: 1 ns (via noisesimulation)10 to 57 Hz, 0.075−mm amplitude, 57 to 150 Hz, acceleration:9.8 m/s2 (1G) in X, Y and Z directions for 80 minutes each (i.e.swept for 8 minutes, 10 times)147 m/s2 (20G) three times each in X, Y and Z directionsOperating: 0 0 to 55 0 CStorage: −20 0 to 75 0 C10% to 90% (with no condensation)With no corrosive gasM3AC type: 10 ms min; DC type: 2 ms min.(A power interruption occurs if power falls below 85% of therated voltage for longer than the power interruption time.)400 g max.500 g max.600 g max.700 g max.300 g max.400 g max.500 g max.600 g max.The specifications of the Expansion I/O Unit are the same as for the CPU except that the power issupplied from the CPU and the weight is 300g.4-14.qUNIT SPECIFICATIONS AND COMPONENTSCharacteristicsItemControl methodI/O control methodProgramming languageInstruction lengthTypes of instructionsExecution timeProgram capacityMaximumCPU onlyI/O pointsWithExpansionI/O unitInput bitsOutput bitsWork bits (IR area)Special bits (SR area)Temporary bits (TR area)Holding bits (HR area)Auxiliary bits (AR area)Link bits (LR area)Timers/Counters10-point I/O20-point I/O30-point I/O40-point I/OStored program methodCombination of the cyclic scan and immediate refresh processing methods.Ladder diagram1 step per instruction, 1 to 5 words per instructionBasic instruction: 14Special instructions:77 types, 135 instructionsBasic instructions: 0.72 to 16.2 µsSpecial instructions:12.375 µs (MOV instruction)2,048 words10 point (620 point (1230 point (1840 point (24input/4 output)input/8 input)input/12 output)input/16 output)----99 point (54100 point (60input/36 output)input/40 output)00000 to 00915 (Words 0 to 9)01000 to 01915 (Words 10 to 19)512 bits: IR 20000 to 23115 (Words IR 200 to IR 231)384 bits: SR 23200 to 25515 (Words SR 232 to IR 255)8 bits (TR0 to TR7)320 bits: HR 0000 to HR 1915 (Words HR 00 to HR 19)256 bits: AR 0000 to AR 1515 (Words AR 00 to AR 15)256 bits: LR 0000 to LR 1515 (Words LR 00 to LR 15)128 timers/counters (TIM/CNT 000 to TIM/CNT 127)100-−ms timers: TIM000 to TIM 12710−ms timers : TIM 00 to TIM 127Decrementing counters and reversible countersData memoryRead/write: 1,024 words (DM 0000 to DM 1023)Read−only: 512 words (DM 6144 to DM 6655)Interrupt processing2 points (Response 4 pointstime: 0.3 ms max.(Response time: 0.3 ms max.)Memory protectionHR, AR, Data Memory area contents and counter values maintained duringpower interruptions.Memory backupFlash memory: User program, data memory (Read only) (Non-battery poweredstorage)Capacitor backup: Data Memory (Read/Write), holding bits, auxiliary memorybits, counter (20 days at ambient temperature of 25 oC ).CPU failure (watchdog timer), I/O bus error, and memory failureSelf−diagnostic functionsProgram checksNo END instruction, programming errors (continuously checked duringoperation)High−speed counter1 point: 5 kHz single−phase or 2.5 kHz two−phase (linear count method)Increment mode: 0 to 65,535 (16 bits)Up/Down mode: −32,767 to 32,767 (16 bits)Together with the external interrupts inputs.
(Min. pulse width: 0.2 ms)Quick−response inputsInput time constantCan be set to 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms.Analog volume settings2 controls (0 to 200 BCD)Note: Bits not used as input bits can used as work bits.4-24.qUNIT SPECIFICATIONS AND COMPONENTSStructure of Memory AreaData areaIR area 1 Input areaOutput areaWork areaSR areaTR areaHR area 2AR area 2LR area 1Timer/Counter area 2DM areaRead/write2Error log 4Read−only 4PC SetupNote:4WordsIR 000 to IR 009(10 words)IR 010 to IR 019(10 words)IR 200 to IR 231(32 words)SR 232 to SR255(24 words)---BitsIR 00000 to IR 00915(160 bits)IR 01000 to IR 01915(160 bits)IR 20000 to IR 23115(512 bits)SR 23200 to SR 25515(384 bits)TR 0 to TR 7(8 bits)HR 00 to HR 19HR 0000 to HR 1915(20 words)(320 bits)AR 00 to HR 15AR 0000 to HR 1515(16 words)(256 bits)LR 00 to LR 15LR 00000 to LR1515(16 words)(256 bits)TC 000 to TC 127 (timer/counternumbers) 3DM 0000 to DM--0999DM 1022 to DM1023(1,002 words)DM 1000 to DM1021(22 words)DM 6144 to DM6599(456 words)DM 6600 to DM6655(56 words)---FunctionThese bits can be allocated to the externalI/O terminals.Work bits can be freely used within theprogram.These bits serve specific functions such asflags and control bits.These bits are used to temporarily storeON/OFF status at program branches.These bits store data and retain theirON/OFF status when power is turned off.These bits serve specific functions such asflags and control bits.Used for a 1:1 data link with another PC.The same numbers are used for both timersand counters.DM area data can be accessed in wordunits only.
Word values are required whenthe power is turned off.Used to store the timer of occurrence anderror code of errors that occur. Thesewords can be used as ordinary read/writeDM when the error log function isn’t beingused.--Cannot be overwritten from program.---Used to store various parameters thatcontrol PC operation.1. IR and LR bits that are not used for their allocated functions can be used as work bits.2.The contents of the HR area, LR area, Counter area, and read/write DM area are backed up by acapacitor.
At 25 oC, the capacitor will back up memory for 20 days.3.When accessing a PV, TC numbers are used as word data; when accessing Completing Flags, they areused as bit data.4.Data in DM6144 to DM6655 cannot be overwritten from the program, but they can be changed from aPeripheral Device.4-34.qUNIT SPECIFICATIONS AND COMPONENTSI/O Terminal – IR Bit AllocationThe following table shows which IR bits are allocated to the I/O terminals on the CPM1A’s CPUand Expansion I/O Unit.Number of I/OTerminals onthe CPU10Expansion I/O UnitTerminalsInputsOutputs-----CPU TerminalsInputsOutputs6 points:00000 to 000054 points:01000 to 010032012 points:00000 to 000118 points:01000 to 01007------3018 points:000000 to 0001100100 to 0010524 points:00000 to 0001100100 to 0011112 points:01000 to 0100701100 to 0110316 points:01000 to 0100701100 to 0110736 points:00200 to 0021100300 to 0031100400 to 0041124 points:01200 to 0120701300 to 0130701400 to 0140740PowerSupplyModel NumberACDCACDCACDCACCPM1A-10CDR-ADCCPM1A-40CDR-DCPM1A-10CDR-DCPM1A-20CDR-ACPM1A-20CDR-DCPM1A-30CDR-ACPM1A-30CDR-DCPM1A-40CDR-AINPUT Bit No.0000000001010000000201001000030000400005010020100300006010040000700008000090100501006000100001101007OUTPUT Bit No.4-44.qUNIT SPECIFICATIONS AND COMPONENTSGeneral Specifications of CPM2A CPU UnitsItemSupply voltageOperating voltagerangePower consumptionInrush currentExternal powersupply (AC typeonly)AC typeDC typeAC typeDC typeAC typeDC typeAC typeDC typeSupply voltageOutput capacityInsulation resistanceDielectric strengthNoise immunityVibration resistanceShock resistanceAmbient temperatureHumidityEnvironmentTerminal screw sizePower supply holding timeCPU weightAC typeDC typeExpansion I/O Unit weight30-point I/O40-point I/O100 to 240 VAC, 50/60 H24 VDC85 to 264 VAC20.4 to 26.4VDC60 VA max.20 W max.60 A max.20 A max.24 VDC60-point I/O300 mA(When the external power supply provides an overcurrent or isshort circuited, the external power supply voltage will drop butthe PC will continue operation.)20 MΩ min.