Manuals
/
Siemens
/
Computer Equipment
/
Network Router
Siemens
CP 243-2
installation instructions
Technical Description and Installation Instructions
Models:
CP 243-2
1
26
150
150
Download
150 pages
32.28 Kb
23
24
25
26
27
28
29
30
Install
Signaling
End bit error detected
Configuration Mode
ReadAS-iSlaveDiagnosticString
Access in the User Program
Command Interface
Safety
Feature
Reserved Mode
Page 26
Image 26
Technical Description and Installation Instructions
-
1-18
SIMATIC NET CP
243-2
AS-i
Master
C79000-G8976-C142/02
Page 25
Page 27
Page 26
Image 26
Page 25
Page 27
Contents
Appendix
AS-Interface Master
Manual
07/2000 C79000-G8976-C142 Release
Correct Usage
Safety Guidelines
Qualified Personnel
Trademarks
Purpose of the Manual
We recommend the following procedure when
Preface
Requirements
Preface
Contents
Dealing with Problems / Error Displays
Signaling Errors and Diagnostics in the User Program
Command Interface
Glossary Index
References Simatic NET ± Support and Training
Contents
Technical Description and Installation Instructions
General Notes on Operation ± Safety Warnings
AS-i
Uses of the Module
DP Slave and AS-i Master
Master
Components Supplied
Explanation/Values
Technical Specifications of the Module
Feature
Possible Restrictions
Installing the Module
Slots in the S7-200
Front Panel ± Access to all Functions
Connection, Display and Control Elements
Connections to the AS-i Cable
Terminal Block
Connections
Technical Description and Installation Instructions
Extended Operation
Modes of the CP
Standard Operation
Meaning of the LEDs
Displays and Operator Controls
Changing the Display Status ± Display Button
SET Button
LED color
Status Display
Interpreting the Status Display
Status
LED color Status SF red System error Meaning
Interpreting the Slave Display Status
Characteristics of the Slave Display
Slave Display
Display Statuses in Detail
Example of a Slave Display
Example of a Slave Display
Protected Mode
Configuring the AS-Interface with the SET Button
Configuration Mode
Interpreting the Display Status
Preparing to Configure
Configuring
Technical Description and Installation Instructions
Interface to the User Program S7-200 CPU
S7-200 CPU
Overview
CP 243-2 as Expansion Module in the S7-200
Digital Module
Analog Module
Examples
Addressing the CP 243-2 in the S7-200 CPU
Address Areas
CPU
Example of a CPU 224, a CP 243-2 and a CP
CPU 14 DI 10 do
CPU 14DI 10 do
Module
Meaning of the Data in the Digital Module
Overview
Range of Values
Identification Register in the Digital Module
Meaning
Example
Meaning for the User Program
Error Register in the Digital Module
Example of Access to the Error Register
Description of the Bits
Status Byte Input Register 8DI
Structure of the Status Byte
Bit Value
Bit
Control Byte Output Register 8DO
Structure of the Control Byte
Value Meaning
Meaning of the Data in the Analog Module
Digital module 8DI/8DO
Identification Register in the Analog Module
Bit Description/Range of Values
Error Register in the Analog Module
Structure of the Error Register
Example of Access to the Error Register
Principle
Access to the Analog Input and Output Words
Access in the User Program
Advantage
Interface to the User Program in the S7-200 CPU
S7-200 CPU
Analog Input Area
Assignment of the Input Areas
Banks 16±30 Reserved area
Bank 1 Diagnostics on the AS-Interface
Banks 2±15 Response data on the AS-Interface
Bank 31 Binary input data of the AS-i slaves 1B ± 31B
Banks 32±47 Analog input data of the AS-i slaves
Banks 48±63 Reserved area
Bank 1 reserved
Analog Output Area
Assignment of the Output Areas
Banks 32±47 Analog output data of the AS-i slaves
Banks 2±15 Command data on the AS-Interface
Bank 31 Binary output data of the AS-i slaves 1B ± 31B
Access to the Data of the AS-i Slaves
Access to the Binary Values
Bank Byte no
Bit 7±4 Bit 3±0
Reserved Slave 1B
Data Exchange in the Stop Mode of the S7-22x CPU
Special Feature of Analog Slaves
AS-i slaves
Output byte
Access to the AS-i User Data
Data Access with Micro
Bank Byte no Meaning
Access to the Analog Values
Assignment of the AS-i Analog Data
Simatic NET CP 243-2 AS-i Master C79000-G8976-C142/02
Access to the Data of the AS-i Slaves
Access to the Data of the AS-i Slaves
Access to the Data of the AS-i Slaves
Access to the Data of the AS-i Slaves
Representation of the Analog Values
Special Situations
Access to the AS-i Analog Data
SBR 4 STL
Access to the Data of the AS-i Slaves
Signaling Errors and Diagnostics User Program
Signaling
Error Signaling
Example Reading the Delta List
STL Example
Signaling Errors and Diagnostics in the User Program
Command Interface
Command interface of the CP
Command Buffer and Response Buffer
Command Sequence
AS-i master User program Reaction to command
Example
SBR 3 STL
Q1.0 Select bank
AIW0, VW512
Parameter
Description of the AS-i Commands
Name
Return
LPF
General Structure of the Command Buffer
Bank Byte Meaning / Content
General Structure of the Response Buffer
Bank Byte
Command Status
General Structure of the AS-i Slave Address
Bit Slave address
Structure of the Job Data in the Send Buffer
SetPermanentParameter
Purpose
Structure of the Job Data in the Receive Buffer
GetPermanentParameter
Purpose of the Command
WriteParameter
ReadParameter
StoreActualParameters
Extended ID2 code
SetExtendedPermanentConfiguration
ID code
GetExtendedPermanentConfiguration
StoreActualConfiguration
GetExtendedActualConfiguration
SetExtendedLPS
Reserved Mode
SetOfflineMode
SelectAutoprogramming
SetOperationMode
ChangeAS-iSlaveAddress
Read error in non-volatile memory
Parity error detected Error detected
End bit error detected
GetAS-iSlaveStatus
Reserved
GetLPS, GetLAS, GetLDS, GetFlags
Flag
Bit Number Meaning
Meaning of the Flags
GetExtendedTotalConfiguration
Idcode slave Ext ID1 slave
Command Interface
Command Interface
Reserved Parameter slave 1B
StoreExtendedTotalConfiguration
Idcode slave Ext ID1 Slave Configuration slave Ext ID2 slave
Command Interface
Command Interface
Configmode Autoaddrenable
Echo of the command number 3A H Command status
WriteExtendedParameterList
Echo of the command number 3C H Command status
ReadExtendedParameterEchoList
Command Interface
ReadVersionID
Purpose
ReadAS-iSlaveID
Reserved ID code
ReadAS-iSlaveID1
Reserved Extended ID1 code
WriteAS-iSlaveExtendedID1
Irrelevant Extended ID1 code
ReadAS-iSlaveID2
Reserved Slave ID2
Reserved Configuration
ReadAS-iSlaveI/O
GetLPF
WriteAS-iSlaveParameterString
ReadAS-iSlaveParameterString
Byte Meaning
ReadAS-iSlaveIDString
ReadAS-iSlaveDiagnosticString
Structure of the Response Buffer
Structure of the Command Buffer
ReadDataandDeltaList
Delta Slave Reserv Slave 7B Slave 6B
Command Interface
Dealing with Problems / Error Displays
You can now replace the defective slave as follows
Simple Replacement of AS-Interface Slaves
Detecting Defective AS-Interface Slaves
Possible Cause Remedy
Error Displays of the CP 243-2 / Remedying Errors
Error
Error Possible Cause Remedy
Dealing with Problems / Error Displays
Dealing with Problems / Error Displays
Comment / Function implemented by / Section
Pics for the CP
List of Master Functions Available
AS-Interface Protocol Implementation
Function or Call on the Host Interface
Idcod
AS-Interface Protocol Implementation
References
Simatic S7-200
Order numbers
References
EU Directive EMC 89/336/EEC
Installation Instructions
Product Name
Area of Application
Simatic NET CP 243-2 AS-i Master C79000-G8976-C142/02
Simatic Customer Support Hotline
Simatic NET ± Support and Training
Simatic Training Center
Nuremberg Johnson City Singapore Simatic Basic Hotline
Simatic Premium Hotline
Simatic Customer Support Online Services
Further Support
Glossary
AS-i standard slave
AS-i module
AS-i slave
Extended AS-i master
Nibble
Standard AS-i master
Glossary-4
Index
PICS, A-1
Top
Page
Image
Contents