CPM2A_OPERATION MANUAL (W352-E1-3) (986749), страница 8
Текст из файла (страница 8)
Theinitial frequency can be set.Supported.2 max.Not supported.10 kHz max.10 Hz–16,777,215 to 16,777,215Supported.Supported.No effect2 kHz max.20 Hz0 to 16,777,215Not supported.Not supported.Turned ON/OFF by pulseoutputNot supported.Trapezoidal acceleration/decelerationPWM(––) outputNumber of simultaneous pulseoutputsMaximum frequencyMinimum frequencyPulse output quantityDirection controlPositioning to absolute positionsBit status while pulses are beingoutputReading PVResetting PVStatus outputsRead SR 228 through SR 231or execute PRV(62).Supported.Accelerating/deceleratingPV overflow/underflowPulse quantity setPulse output completedPulse output statusNot supported.1 max.Not supported.Pulse output statusAnalog controls22Clock functionInternalAR 17 to AR 21None---Analog I/O Units can beconnected.Same as CPM2A.Words containing time info.Analog I/O201-5SectionComparison with the CPM1AItemCPM2ACPM1ATemperature monitoringThe CPU Unit can receivetemperature sensor input fromeither thermocouples orplatinum resistancethermometers.Same as CPM2A.CompoBus/S communicationsA CompoBus/S I/O Link Unitcan be connected to provideCompoBus/S Slave functions.This switch determineswhether communications aregoverned by the standardsettings or PC Setup settings.LithiumPossible5-year lifetime at 25°CSupported.Programming Console(auto-detect)Peripheral bus (auto-detect)Host Link (with Slave-initiatedcommunications)No-protocolHost LinkNo-protocol1:1 PC LInk1:1 NT LinkCan be set to 1, 2, 3, 5, 10, 20,40, or 80 ms.
(Default: 10 ms)Same as CPM2A.Communications switchBatteryCommunications(in CPU Unit)BatteryBattery replacementLife expectancy/backup timeBattery error detectionPeripheral portRS-232C portInput time constant1-5NoneNone (capacitor backup only)--20-day backup at 25°C--Programming Console(auto-detect)Peripheral bus (auto-detect)Host Link1:1 PC LInk1:1 NT LinkNoneCan be set to 1, 2, 4, 8, 16, 32,64, or 128 ms. (Default: 8 ms)21SectionComparison with the CPM1A1-5Differences in Instruction SetsInstructions added to the CPM2AMnemonicNameTXD(48)TRANSMITRXD(47)RECEIVESCL(66)SCALINGSCL2(––)SIGNED BINARY TO BCD SCALINGSCL3(––)BCD TO SIGNED BINARY SCALINGSRCH(––)DATA SEARCHMAX(––)FIND MAXIMUMMIN(––)FIND MINIMUMSUM(––)SUM CALCULATIONFCS(––)FCS CALCULATEHEX(––)ASCII-TO-HEXADECIMALAVG(––)AVERAGE VALUEPWM(––)PULSE WITH VARIABLE DUTY RATIOPID(––)PID CONTROLZCP(––)AREA RANGE COMPAREZCPL(––)DOUBLE AREA RANGE COMPARENEG(––)2’S COMPLEMENTACC(––)ACCELERATION CONTROLSTUP(––)CHANGE RS-232C SETUPSYNC(––)SYNCHRONIZED PULSE CONTROLBINL(58)DOUBLE BCD TO DOUBLE BINARYBCDL(59)DOUBLE BINARY TO DOUBLE BCDTMHH(––)VERY HIGH-SPEED TIMERTIML(––)LONG TIMERSEC(––)HOURS-TO-SECONDSHMS(––)SECONDS-TO-HOURSInstructions with Changed SpecificationsMnemonicINI(61)NameMODE CONTROLCPM2ASupports the interrupt input (counter mode) PVchange operation.CPM1ADoes not support theseoperations.Supports the pulse output PV change operation.Supports the pulse synchronization control stopoperation.PRV(62)HIGH-SPEEDCOUNTER PV READSupports the interrupt input (counter mode) PV readoperation.CTBL(63)COMPARISON TABLELOADSupports the pulse output PV read operation.The count is compared with all of the target valuesin the target value comparison table.PULS(65)SET PULSESINT(89)INTERRUPT CONTROL22Supports absolute pulse specification, but thecoordinate system must be set to absolutecoordinates.Supports a count-up interrupt for incrementingcounters.Does not support theseoperations.The count is comparedwith each target value inthe order that theyappear in the targetvalue comparison table.Does not supportabsolute pulsespecification.Does not support thisinterrupt function.SectionComparison with the CPM1A! CautionAdded Function CodeAllocations1-5Before using a CPM1A program containing one or more of the instructions in thetable above, check the program to be sure that it will operate properly and editthe program if necessary.
The CPM2A may not operate properly if a CPM1A program with these instructions is transferred and executed unchanged.The following three instructions are allocated function codes that were not usedin the CPM1A.InstructionRXD(47)TXD(48)SCL(66)CPM2ARECEIVETRANSMITSCALINGCPM1ANot allocated. (NOP(00))Differences in I/O MemorySR Area DifferencesThe following table shows differences in the SR area. (PV is the abbreviation forpresent value.)FunctionPulse output 0 PVPulse output 1 PVPulse output 0 PV Reset BitPulse output 1 PV Reset BitRS-232C Port Reset BitBattery Error FlagChanging RS-232C Port Setup FlagAR Area DifferencesCPM2ASR 228 to SR 229SR 230 to SR 231SR 25204SR 25205SR 25209SR 25308SR 25312CPM1ANotsupported.The following table shows differences in the AR area.FunctionCPM2AClock/calendar dataRS-232C Communications Error CodeRS-232C Error FlagRS-232C Transmission Enabled FlagRS-232C Reception Completed FlagRS-232C Reception Overflow FlagPeripheral Port Reception Completed FlagPeripheral Port Reception Overflow FlagRS-232C Reception CounterHigh-speed Counter Comparison FlagHigh-speed Counter Overflow/Underflow FlagPulse Output 0 ConditionPulse Output 0 PV Overflow/Underflow FlagPulse Output 0 Pulse Quantity Set FlagPulse Output 0 Output Completed FlagPulse Output 1 PV Overflow/Underflow FlagPulse Output 1 Pulse Quantity Set FlagPulse Output 1 Output Completed FlagPulse Output 1 Output StatusPower OFF CounterAR 17 to AR 21AR 0800 to AR 0803AR 0804AR 0805AR 0806AR 0807AR 0814AR 0815AR 09AR 1108AR 1109AR 1111AR 1112AR 1113AR 1114AR 1212AR 1213AR 1214AR 1215AR 23 (See note.)CPM1ANotsupported.AR 10Note CPM1A programs that use AR 10 (the Power OFF Counter) cannot be used inthe CPM2A without editing the program.
In the CPM2A, the Power OFF Counteris in AR 23.DM Area DifferencesThe following table shows differences in the DM area other than the PC Setup.23SectionPreparation for OperationFunctionError Log AreaCPM2A1-6CPM1ADM 2000 to DM 2021 DM 1000 to DM 1021Note CPM1A programs that use the Error Log Area cannot be used in the CPM2Awithout editing the program to change the location of the Error Log Area.The following table shows differences in the PC Setup.Function1-6CPM2ARS-232C Port Servicing Time SettingRS-232C Port Servicing Time EnablePulse Output 0 Coordinate SystemPulse Output 1 Coordinate SystemDM 6616 bits 00 to 07DM 6616 bits 08 to 15DM 6629 bits 00 to 03DM 6629 bits 04 to 07RS-232C Communications Settings SelectorRS-232C Port CTS Control SettingsRS-232C Port Link Words for 1:1 PC LinkRS-232C Port Communications ModeRS-232C Port Baud RateRS-232C Port Frame FormatRS-232C Port Transmission DelayRS-232C Port Host Link Node NumberRS-232C Port No-protocol Start Code EnableRS-232C Port No-protocol End Code EnableRS-232C Port No-protocol Start Code SettingRS-232C Port No-protocol End Code Settingor Number of Bytes ReceivedPeripheral Port No-protocol Start Code EnablePeripheral Port No-protocol End Code EnablePeripheral Port No-protocol Start Code SettingPeripheral Port No-protocol End Code Settingor Number of Bytes ReceivedBattery Error Detect SettingDM 6645 bits 00 to 03DM 6645 bits 04 to 07DM 6645 bits 08 to 11DM 6645 bits 12 to 15DM 6646 bits 00 to 07DM 6646 bits 08 to 15DM 6647DM 6648 bits 00 to 07DM 6648 bits 08 to 11DM 6648 bits 12 to 15DM 6649 bits 00 to 07DM 6649 bits 08 to 15CPM1ANotsupportedDM 6653 bits 08 to 11DM 6653 bits 12 to 15DM 6654 bits 00 to 07DM 6654 bits 08 to 15DM 6655 bits 12 to 15Preparation for OperationFollow the steps listed below when setting up a CPM2A system.1, 2, 3...241.
System Design• Select a CPM2A CPU Unit, Expansion Units and Expansion I/O Units withthe specifications required in the controlled system.• Design external fail-safe circuits such as interlock circuits and limit circuits.Refer to 2-1 Specifications and 3-1 Design Precautions for details.2. Installation• Install the CPU Unit.
(Surface-mount or DIN-track installation)• Install the Expansion Unit(s) and Expansion I/O Unit(s).Refer to 3-3 Installing the CPM2A and 3-4 Wiring and Connections for details.3. Wiring• Wire the power supply and I/O devices.• Connect communications devices if necessary.• Connect the Programming Console.Refer to 3-4 Wiring and Connections for details.4. Initial Settings• Turn OFF the CPU Unit’s Communications Switch, if necessary.(When this switch is OFF, communications with devices other than theProgramming Console are governed by the settings in the PC Setup.)Preparation for OperationSection1-6• Connect the Programming Console, set the mode switch to PROGRAMmode, and turn ON the PC.• Check the CPU Unit’s LED indicators and the Programming Console’s display.• Clear the PC’s memory.
(All Clear)• Make PC Setup settings.Refer to 3-3 Installing the CPM2A for details.5. Create Ladder Program• Create a ladder program to control the system.Refer to the Programming Manual for details.6. Write Ladder Program in PC• Write the ladder program in the PC with the Programming Console ortransfer the program to the PC from the Support Software.Refer to Section 4 Using Programming Devices, to the SYSMAC SupportSoftware Operation Manuals and to the CPT User Manual for details.7.