CPM2A_PROGRAMMING MANUAL (W353-E1-2) (986750), страница 26
Текст из файла (страница 26)
Turn ON AR 2115 (Clock Set Bit) when the time set in step 2 is reached. Theclock will start operating from the time that is set, and the Clock Stop Bit andClock Set BIt will be turned OFF automatically.Setting Only the SecondsIt is also possible, by using AR 2113, to simply set the seconds to “00” withoutgoing through a complicated procedure. When AR 2113 is turned ON, the clocktime will change as follows:If the seconds setting is from 00 to 29, the seconds will be reset to “00” and theminute setting will remain the same.If the seconds setting is from 30 to 59, the seconds will be reset to “00” and theminute setting will advance by one.When the time setting is complete, AR 2113 will turn OFF automatically.Note The time can be set easily using menu operations from a Programming Consoleor SSS.
Refer to the CPM2A Operation Manual or the CPM2C Operation Manual for the Programming Console procedure or to the SSS Operation Manual: Cseries PCs for the SSS procedure.151SECTION 3Using Expansion UnitsThis section describes how to use the CPM1A-MAD01 and CPM2C-MAD11 Analog I/O Units, theCPM1A-TS001/002/101/102 and CPM2C-TS001/101 Temperature Sensor Units, and the CPM1A-SRT21 and CPM2CSRT21 CompoBus/S I/O Link Units.3-13-23-3Analog I/O Units . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1-1 CPM1/CPM1A/CPM2A Analog I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1-2 CPM2C Analog I/O Units . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Temperature Sensor Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2-1 CPM1A/CPM2A Temperature Sensor Units . . . . . . . . . . . . . . . . . . . . . . . . . . .
. .3-2-2 CPM2C Temperature Sensor Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2-3 Using Temperature Sensor Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2-4 Connecting Temperature Sensor Units . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .3-2-5 Setting Temperature Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2-6 Connecting Temperature Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2-7 Ladder Programming . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2-8 Two-decimal-place Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .CompoBus/S I/O Link Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .154154163176176177178178180183185191197153SectionAnalog I/O Units3-13-1Analog I/O Units3-1-1 CPM1/CPM1A/CPM2A Analog I/O UnitsA maximum of 3 Expansion Units or Expansion I/O Units, including CPM1AMAD01 Analog I/O Units, can be connected to a CPM1, CPM1A (see note) orCPM2A PC. One Analog I/O Unit allows 2 analog inputs and 1 analog output.With the maximum of 3 Analog I/O Units connected, 6 analog inputs and 3 analog outputs are possible.• The analog input range can be set to 0 to 10 VDC, 1 to 5 VDC, or 4 to 20 mAwith a resolution of 1/256.• An open-circuit detection function can be used with the 1 to 5 VDC and 4 to20 mA settings.• The analog output range can be set to 0 to 10 VDC, 4 to 20 mA, or –10 to10 VDC.
The output has a resolution of 1/256 when the range is set to 0 to10 VDC or 4 to 20 mA, or a resolution of 1/512 when set to –10 to 10 VDC.A maximum of 3 Expansion Units or Expansion I/O Units can be connected.CPM1A-8EDCPM1A-MAD01Expansion I/O Unit Analog I/O Unit2 analog inputsCPM1A-20EDR1Expansion I/O Unit1 analog outputCPM1(-V1)/CPM1A/CPM2ACPU UnitNote The CPM1-30CDR--V1 is the only CPM1 CPU Unit to which 3 ExpansionUnits or Expansion I/O Units can be connected. Only one Expansion Unit orExpansion I/O Unit can be connected to models without the “V1” suffix. AnalogUnits cannot be connected to 10-point or 20-point CPM1A CPU Units.
You mustuse a 30-point or 40-point CPU Unit to connect to the CPM1A.154SectionAnalog I/O UnitsItemAnalogInputSectionAnalogOutputSection(Seenote 1.)Voltage I/ONumber of inputsInput signal rangeMax. rated inputExternal input impedanceResolutionAccuracyA/D conversion dataNumber of outputsOutput signal rangeMax. external output currentAllowable external output load resistanceResolutionAccuracySet dataConversion timeIsolation method3-1Current I/O20 to 10 V/1 to 5 V4 to 20 mA±15 V±30 mA1 MΩ min.250 Ω rated current1/2561.0% full scale8-bit binary10 to 10 V or4 to 20 mA–10 to 10 V5 mA----350 Ω1/256 (1/512 when the output signal range is –10 to 10 V)1.0% of full scale8-bit signed binary10 ms max. per Unit (See note 2.)Photocoupler isolation between I/O terminals and PC signals.No isolation between analog I/O signals.Note1.
With analog outputs it is possible to use both voltage outputs and currentoutputs at the same time. In this case however, the total output current mustnot exceed 21 mA.2. The conversion time is the total time for 2 analog inputs and 1 analog output.Analog I/O Signal RangesAnalog Input Signal Ranges0 to 10 V inputsConversion value1 to 5 V inputsConversion value1VInput signal4 to 20 mA inputsConversion value3VInput signalInput signal155SectionAnalog I/O UnitsAnalog Output Signal Ranges0 to 10 V outputs and–10 to +10 V outputsSet valueSet value4 to 20 mA outputsSet valueUsing Analog I/OSet the I/O rangeConnect the UnitWire the analog I/OAnalog inputs:0 to 10 V, 1 to 5 V, or 4 to 20 mAAnalog outputs:0 to 10 V, –10 to +10 V, or 4 to 20 mAConnect the Analog I/O Unit.Connect an analog input device.Write the range code.Create a ladder program156Analog input:Read converted data.Analog output:Write set value.3-1SectionAnalog I/O Units3-1Analog InputsCPU UnitAnalog I/O UnitLadder program(21) MOVE instructionWord (n + 1)Range codeWord (m + 1)Analog input 1conversion valueAnalog input 2conversion valueWord (m + 2)Writes the range code.Reads the conversionvalue.Analog devicesTemperature sensorWhere “m” is the last input word and “n” is thelast output word allocated to the CPU Unit, orprevious Expansion Unit or Expansion I/O Unit.Pressure sensorSpeed sensorFlow sensorVoltage/current meterAnalog OutputsCPU UnitAnalog I/O UnitLadder program(See note.)Word (n + 1)Range codeAnalog output set value(21) MOVE instructionWrites the range codeWrites the set valueAnalog devicesWhere “n” is the last output word allocated tothe CPU Unit, or previous Expansion Unit orExpansion I/O Unit.Adjustment equipmentServo ControllerVariable speed deviceRecorderOtherNote Word (n + 1) can be used for either the range code or the analog output set value.157SectionAnalog I/O UnitsSetting I/O Signal Range3-1The I/O signal range is set by wiring the I/O terminal and by writing the rangecode to the Analog I/O Unit’s output word.I/O Terminal ArrangementNote When using current inputs, short terminal V IN1 with I IN1and terminal V IN2 with I IN2.V OUTVoltage outputI OUTCurrent outputCOMOutput commonV IN1Voltage input 1I IN1Current input 1COM1Input common 1V IN2Voltage input 2I IN2Current input 2COM2Input common 2Range CodeThe range code must be set for the Analog I/O Unit to convert data.The 8 range code settings provide 8 combinations of signal ranges for the analog inputs and analog output, as shown in the following table.RangeAnalog input 1codesignal rangeFF000 to 10 VAnalog input 2signal range0 to 10 VAnalog outputsignal range0 to 10 V or 4 to 20 mAFF010 to 10 V0 to 10 V–10 to 10 V or 4 to 20 mAFF021 to 5 V or 4 to 20 mA0 to 10 V0 to 10 V or 4 to 20 mAFF031 to 5 V or 4 to 20 mA0 to 10 V–10 to 10 V or 4 to 20 mAFF040 to 10 V1 to 5 V or 4 to 20 mA0 to 10 V or 4 to 20 mAFF050 to 10 V1 to 5 V or 4 to 20 mA–10 to 10 V or 4 to 20 mAFF061 to 5 V or 4 to 20 mA1 to 5 V or 4 to 20 mA0 to 10 V or 4 to 20 mAFF071 to 5 V or 4 to 20 mA1 to 5 V or 4 to 20 mA–10 to 10 V or 4 to 20 mAWrite the range code to the Analog I/O Unit’s output word (n + 1) in the first cycleof program execution.SR 25315 First Cycle FlagON for 1 cycle(21)Analog input 1:1 to 5 V/4 to 20 mAAnalog input 2:0 to 10 VAnalog output:0 to 10 V/4 to 20 mA(n + 1)Range code (4-digit hexadecimal)The Analog I/O Unit will not start converting analog I/O values until the rangecode has been written.158SectionAnalog I/O Units3-1Once the range code has been set, it is not possible to change the setting whilepower is being supplied to the CPU Unit.
To change the I/O range, turn the CPUUnit OFF then ON again.Note If a range code other than those specified in the above table is written to n+1, therange code will not be received by the Analog I/O Unit and analog I/O conversionwill not start.Analog I/O UnitConnectionThis section describes how to connect an Analog I/O Unit to the CPU Unit.A maximum of 3 Expansion Units or Expansion I/O Units, including Analog I/OUnits, can be connected to one PC. When the Analog I/O Unit is used in combination with other Expansion Units or Expansion I/O Units, there are no restrictions on the connection order.Analog I/O UnitCPM1/CPM1A/CPM2ACPU UnitI/O AllocationI/O is allocated for the Analog I/O Unit in the same way as other Expansion Unitsor Expansion I/O Units starting from the next word following the last allocatedword on the CPU Unit, or previous Expansion Unit or Expansion I/O Unit.