CPM2A_PROGRAMMING MANUAL (W353-E1-2) (986750), страница 47
Текст из файла (страница 47)
ofExpansion I/OUnits3Max. No. of I/O(see note 1)80390310031201. The values for the maximum number of I/O in the above table include the I/Oon Expansion I/O Units.2. When using a CPM2A CPU Unit, up to 3 Expansion Units or Expansion I/OUnits can be connected to the PC.CPU Unit Allocation• In the following diagrams, shaded areas indicate bits actually used for inputs oroutputs.• Input bits are allocated starting from IR 00000.• Output bits are allocated starting from IR 01000.• Bits in the output words that are not used as output bits can be used as workbits.• Bits in the input words that are not used as input bits cannot be used as workbits.CPU Units with 10 I/O Points6 inputsIR 00000 to IR 00005CPM1-10CDR-CPM1A-10CD-4 outputsIR 01000 to IR 0100315BitsInputsIR 000141312111009080706050403020100Do not useOutputs IR 010287SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-2CPU Units with 20 I/O Points12 inputsIR 00000 to IR 00011CPM1-20CDR-CPM1A-20CD-CPM2A-20CD-8 outputsIR 01000 to IR 0100715BitsInputs14IR 0001312111009080706050403020100Do not useOutputs IR 010CPU Units with 30 I/O Points18 inputsIR 00000 to IR 00011IR 00100 to IR 00105CPM1-30CDR-/CPM1-30CDR--V1CPM1A-30CD-CPM2A-30CD-12 outputsIR 01000 to IR 01007IR 01100 to IR 0110315Bits14131211100908070605040302010009080706050403020100IR 000InputsDo not useIR 001IR 010OutputsIR 011CPU Units with 40 I/O Points24 inputsIR 00000 to IR 00011IR 00100 to IR 00111CPM1A-40CD-CPM2A-40CD-16 outputsIR 01000 to IR 01007IR 01100 to IR 0110715Bits1413IR 000InputsIR 001IR 010OutputsIR 011288Do not use121110SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-2CPU Units with 60 I/O Points36 inputsIR 00000 to IR 00011IR 00100 to IR 00111IR 00200 to IR 00211CPM1A-60CD-24 outputsIR 01000 to IR 01007IR 01100 to IR 01107IR 01200 to IR 01207Bits15141312111009080706050403020100IR 000InputsIR 001Do not useIR 002IR 010Outputs IR 011IR 0125-2-2 Expansion I/O UnitsNo.
of I/O882020Model numberCPM1A-8EDI/OAllocated bitsInput8 inputs: Word (m+1), bits 00 to 07Output---CPM1A-8ERCPM1A-8ETCPM1A-8ET1Input---Output8 outputs: Word (n+1), bits 00 to 07CPM1A-20EDRCPM1A-20EDR1CPM1A-20EDTCPM1A-20EDT1Input12 inputs: Word (m+1), bits 00 to 11Output8 outputs: Word (n+1), bits 00 to 07CPM1A-20EDRInput12 inputs: Word (m+1), bits 00 to 11Output8 outputs: Word (n+1), bits 00 to 07Compatible CPU UnitsCPM1-30CDR--V1CPM1ACPM2ACPM1-30CDR--V1CPM1ACPM2ACPM1-30CDR--V1CPM1ACPM2ACPM1-10CDR-CPM1-20CDR-CPM1-30CDR-(-V1)Note m: “m” denotes the last input word allocated to the CPU Unit, or to the previousExpansion Unit or Expansion I/O Unit if one is already connected.n: “n” denotes the last output word allocated to the CPU Unit, or to the previousExpansion Unit or Expansion I/O Unit if one is already connected.Expansion I/O Unit Allocation• In the following diagrams, shaded areas indicate bits actually used for inputs oroutputs.• Input bits are allocated to Expansion I/O Units from word (m+1), where “m” isthe last input word allocated to the CPU Unit, or to the previous Expansion Unitor Expansion I/O Unit if one is already connected.• Output bits are allocated to Expansion I/O Units from word (n+1), where “n” isthe last output word allocated to the CPU Unit, or to the previous ExpansionUnit or Expansion I/O Unit if one is already connected.• Bits in the output words that are not used as output bits can be used as workbits.• Bits in the input words that are not used as input bits cannot be used as workbits.289SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-2Expansion I/O Units with 8 Inputs8 inputsWord (m+1), bits 00 to 07CPM1A-8EDNo outputs15BitsInputs1413m+1121110090807060504030201000908070605040302010009080706050403020100Do not useExpansion I/O Units with 8 OutputsNo inputsCPM1A-8ERCPM1A-8ETCPM1A-8ET18 outputsWord (n+1), bits 00 to 0715BitsOutputs1413121110n+1Expansion I/O Units with 20 I/O Points12 inputsWord (m+1), bits 00 to 11CPM1-20EDRCPM1A-20EDRCPM1A-20EDR1CPM1A-20EDTCPM1A-20EDT18 outputsWords (n+1), bits 00 to 0715BitsInputsm+1Outputsn+11413121110Do not use5-2-3 Expansion UnitsUnitAnalog I/O UnitTemperatureSensor UnitsModel numberCPM1A-MAD01CPM1A-TS001CPM1A-TS101CPM1A-TS002CPM1A-TS102CompoBus/S I/OLink UnitCPM1A-SRT21Note290I/OAllocated wordsInput2 inputs: m+1, m+2Output1 output: n+1InputOutputInputOutputInputOutput2 inputs: m+1, m+2--4 inputs: m+1 to m+4--1 input: m+11 output: n+1Max.
No. ofUnits3 (see note 2)CompatibleCPU UnitsCPM1CPM1ACPM2A3CPM1ACPM2A1CPM1ACPM2A3CPM1ACPM2A1. m: “m” denotes the last input word allocated to the CPU Unit, or to the previous Expansion Unit or Expansion I/O Unit if one is already connected.n: “n” denotes the last output word allocated to the CPU Unit, or to the previous Expansion Unit or Expansion I/O Unit if one is already connected.SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-22. Only CPM1 CPU Units with the “-V1” suffix can have 3 Analog I/O Units connected.
CPU Units without the “-V1” suffix can only have one Analog I/O Unitconnected.3. Only one CPM1A-TS002/102 Temperature Sensor Unit can be connectedto the PC. If a CPM1A-TS002/102 Temperature Sensor Unit is connected tothe PC, one more Expansion Unit (other than another CPM1A-TS002/102Temperature Sensor Unit) or Expansion I/O Unit can be connected.Analog I/O UnitCPM1A-MAD012 analog inputsInput 0: word (m+1)Input 1: word (m+2)1 analog outputOutput 0: word (n+1)Temperature Sensor UnitsCPM1A-TS001/TS101CPM1A-TS002/TS1022 temperature inputsInput 0: word (m+1)Input 1: word (m+2)4 temperature inputsInput 0: word (m+1)Input 1: word (m+2)Input 2: word (m+3)Input 3: word (m+4)No outputsNo outputsCompoBus/S I/O Link UnitCPM1A-SRT218 inputsInput: word (m+1)8 outputsOutput: word (n+1)Note Input bits 00 to 07 in word (m+1) are for outputs from the Master.
Output bits 00 to07 in word (n+1), are for inputs to the Master.5-2-4 Examples of Expansion Unit and Expansion I/O Unit Allocation• When using a CPM1 CPU Unit without “-V1” at the end of the model number,only one Expansion I/O Unit can be connected.• When using a CPM1 CPU Unit with “-V1” at the end of the model number, up to3 CPM1A-series Expansion I/O Units can be connected.• When using a CPM1A CPU Unit with 30 or 40 I/O points, or when using aCPM2A CPU Unit, up to 3 Expansion Units or Expansion I/O Units, excluding4-input Temperature Sensor Units, can be connected. Only one 4-input Temperature Sensor Unit can be connected. If a 4-input Temperature Sensor Unitis connected to the PC, only one more Expansion Unit (except for another4-input Temperature Sensor Unit) or Expansion I/O Unit can be connected.291SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-2Example: CPU Unit with 20 I/O Points + Expansion I/O Unit with 20 I/O PointsCPU Unit(20 I/O points)Expansion I/O Unit(20 I/O points)12 inputsIR 00000 to IR 0001112 inputsIR 00100 to IR 001118 outputsIR 01000 to IR 010078 outputsIR 01100 to IR 0110715BitsInputs141312IR 000Do not useIR 001Do not use111009080706050403020100IR 010OutputsIR 011• IR 00000 to IR 00011 and IR 00100 to IR 00111 are allocated as input bits.IR 00012 to 00015 cannot be used.• IR 01000 to IR 01007 and IR 01100 to IR 01107 are allocated as output bits.IR 01108 to IR 01115 can be used as work bits.• IR 002 to IR 009 of the input words and IR 012 to IR 019 of the output words canall be used as work words.Example: CPU Unit with 30 I/O Points + 3 Expansion I/O Units with 20 I/O PointsCPU Unit(30 I/O points)Expansion I/O Unit(20 I/O points)Expansion I/O Unit(20 I/O points)18 inputsIR 00000 to IR 00011IR 00100 to IR 0010512 inputsIR 00200 to IR 0021112 inputsIR 00300 to IR 0031112 inputsIR 00400 to IR 0041112 outputsIR 01000 to IR 01007IR 01100 to IR 011038 outputsIR 01200 to IR 012078 outputsIR 01300 to IR 013078 outputsIR 01400 to IR 0140715BitsInputs1413IR 000Do not useIR 001Do not useIR 002Do not useIR 003Do not useIR 004Do not useIR 010IR 011Outputs IR 012IR 013IR 014292Expansion I/O Unit(20 I/O points)12111009080706050403020100SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-2Example: CPU Unit with 60 I/O Points + 3 Expansion I/O UnitsCPU Unit(60 I/O points)Expansion I/O Unit(20 I/O points)Expansion I/O Unit(16 outputs)Expansion I/O Unit(20 I/O points)36 inputsIR 00000 to IR 00011IR 00100 to IR 00111IR 00200 to IR 0021112 inputsIR 00300 to IR 00311No inputs12 inputsIR 00400 to IR 0041124 outputsIR 01000 to IR 01007IR 01100 to IR 01107IR 01200 to IR 012078 outputsIR 01300 to IR 0130716 outputsIR 01400 to IR 014158 outputsIR 01500 to IR 0150715BitsInputs1413IR 000Do not useIR 001Do not useIR 002Do not useIR 003Do not useIR 004Do not use12111009080706050403020100IR 010IR 011Outputs IR 012IR 013IR 014IR 015293SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-2Example: Configuration Including Analog I/O Unit, Temperature Sensor Unit, and Expansion I/O UnitCPU Unit(60 I/O points)Analog I/O UnitCPM1A-MAD0136 inputsIR 00000 to IR 00011IR 00100 to IR 00111IR 00200 to IR 002112 analog inputsInput 0: IR 003Input 1: IR 00424 outputsIR 01000 to IR 01007IR 01100 to IR 01107IR 01200 to IR 0120715BitsInputsTemperature Sensor UnitCPM1A-TS001/101Expansion I/O Unit(20 I/O points)2 temperature inputsInput 0: IR 005Input 1: IR 00616 inputsIR 00700 to IR 007111 analog outputOutput 1: IR 0131413IR 000Do not useIR 001Do not useIR 002Do not useIR 0031211No outputs10090807068 outputsIR 01400 to IR 014070504020100Used for input 0 of the Analog I/O UnitIR 004Used for input 1 of the Analog I/O UnitIR 005Used for input 0 of the Temperature Sensor UnitIR 006Used for input 1 of the Temperature Sensor UnitIR 00703Do not useIR 010IR 011Outputs IR 012IR 013Used for the output of the Analog I/O UnitIR 014With the exception of CPM1A-TS002/102 Temperature Sensor Units, up to 3Expansion Units (Analog I/O Units, Temperature Sensor Units, or CompoBus/SUnits) can be connected to a CPM1A or CPM2A PC.