Download Siemens 242 Technical data

Transcript
B8976105/01
2.1.6
AS-i Master Module CP 242-2
Addressing the CP 242-2 in the PLC
From the point of view of the S7-200 CPU, the CP 242-2 behaves logically as if it were two
consecutive expansion modules:
±
The first module is an 8DI/8D0 digital module. It occupies 8 input and 8 output bits in the
address base of the digital inputs and outputs.
The 8 input bits form the status byte of the CP 242-2. Using this byte, the CP 242-2
transfers status information to the PLC user program.
The 8 output bits form the control byte of the CP 242-2. Using this, the PLC user program
controls the CP 242-2.
±
The second module is an 8AI/8AO analog module. It occupies 16 input and 16 output bytes in
the address area of the analog inputs and outputs.
±
In standard operation, both the user data of the AS-i slaves and the diagnostic information of the
CP 242-2 are transferred via these 16 I/O bytes.
In extended operation, the 16 I/O bytes are also used to transfer commands.
The start addresses of the address area are decided by the S7-200 CPU being used and the slot in
which the CP 242-2 is inserted.
For more detailed information about addressing, refer to the manuals of the S7-200 programmable
controller.
Example of addressing the CP 242-2
1. CPU 212 and one CP 242-2
CPU 212
I0.0
I0.1
I0.2
I0.3
I0.4
I0.5
I0.6
I0.7
CP 242-2
Q0.0
Q0.1
Q0.2
Q0.3
Q0.4
Q0.5
I1.0
I1.1
I1.2
I1.3
I1.4
I1.5
I1.6
I1.7
Q1.0
Q1.1
Q1.2
Q1.3
Q1.4
Q1.5
Q1.6
Q1.7
AIW0
AIW2
AIW4
AIW6
AIW8
AIW10
AIW12
AIW14
AQW0
AQW2
AQW4
AQW6
AQW8
AQW10
AQW12
AQW14
2-9