Manuals
/
Siemens
/
Computer Equipment
/
Network Router
Siemens
CP 243-2
installation instructions
Access to the Data of the AS-i Slaves
Models:
CP 243-2
1
64
150
150
Download
150 pages
32.28 Kb
61
62
63
64
65
66
67
68
<
>
Install
Signaling
End bit error detected
Configuration Mode
ReadAS-iSlaveDiagnosticString
Access in the User Program
Command Interface
Safety
Feature
Reserved Mode
Page 64
Image 64
Access to the Data of the
AS-i
Slaves
-
3-16
SIMATIC NET CP
243-2
AS-i
Master
C79000-G8976-C142/02
Page 63
Page 65
Page 64
Image 64
Page 63
Page 65
Contents
AS-Interface Master
Manual
Appendix
07/2000 C79000-G8976-C142 Release
Safety Guidelines
Qualified Personnel
Correct Usage
Trademarks
We recommend the following procedure when
Preface
Purpose of the Manual
Requirements
Preface
Contents
Command Interface
Signaling Errors and Diagnostics in the User Program
Dealing with Problems / Error Displays
Glossary Index
References Simatic NET ± Support and Training
Contents
Technical Description and Installation Instructions
General Notes on Operation ± Safety Warnings
Uses of the Module
DP Slave and AS-i Master
AS-i
Master
Components Supplied
Feature
Technical Specifications of the Module
Explanation/Values
Slots in the S7-200
Installing the Module
Possible Restrictions
Front Panel ± Access to all Functions
Connection, Display and Control Elements
Connections
Terminal Block
Connections to the AS-i Cable
Technical Description and Installation Instructions
Standard Operation
Modes of the CP
Extended Operation
Displays and Operator Controls
Changing the Display Status ± Display Button
Meaning of the LEDs
SET Button
Status Display
Interpreting the Status Display
LED color
Status
LED color Status SF red System error Meaning
Characteristics of the Slave Display
Slave Display
Interpreting the Slave Display Status
Display Statuses in Detail
Example of a Slave Display
Example of a Slave Display
Configuring the AS-Interface with the SET Button
Configuration Mode
Protected Mode
Interpreting the Display Status
Preparing to Configure
Configuring
Technical Description and Installation Instructions
Interface to the User Program S7-200 CPU
Overview
CP 243-2 as Expansion Module in the S7-200
S7-200 CPU
Digital Module
Analog Module
Addressing the CP 243-2 in the S7-200 CPU
Address Areas
Examples
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
Identification Register in the Digital Module
Meaning
Range of Values
Example
Example of Access to the Error Register
Error Register in the Digital Module
Meaning for the User Program
Status Byte Input Register 8DI
Structure of the Status Byte
Description of the Bits
Bit Value
Control Byte Output Register 8DO
Structure of the Control Byte
Bit
Value Meaning
Meaning of the Data in the Analog Module
Digital module 8DI/8DO
Identification Register in the Analog Module
Structure of the Error Register
Error Register in the Analog Module
Bit Description/Range of Values
Example of Access to the Error Register
Access to the Analog Input and Output Words
Access in the User Program
Principle
Advantage
Interface to the User Program in the S7-200 CPU
Assignment of the Input Areas
Analog Input Area
S7-200 CPU
Bank 1 Diagnostics on the AS-Interface
Banks 2±15 Response data on the AS-Interface
Banks 16±30 Reserved area
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
Assignment of the Output Areas
Analog Output Area
Bank 1 reserved
Bank 31 Binary output data of the AS-i slaves 1B ± 31B
Banks 2±15 Command data on the AS-Interface
Banks 32±47 Analog output data of the AS-i slaves
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
Assignment of the AS-i Analog Data
Access to the Analog Values
Bank Byte no Meaning
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
Description of the AS-i Commands
Name
Parameter
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
SetPermanentParameter
Purpose
Structure of the Job Data in the Send Buffer
Structure of the Job Data in the Receive Buffer
GetPermanentParameter
Purpose of the Command
WriteParameter
ReadParameter
StoreActualParameters
ID code
SetExtendedPermanentConfiguration
Extended ID2 code
GetExtendedPermanentConfiguration
StoreActualConfiguration
GetExtendedActualConfiguration
SetExtendedLPS
Reserved Mode
SetOfflineMode
SelectAutoprogramming
SetOperationMode
ChangeAS-iSlaveAddress
Parity error detected Error detected
End bit error detected
Read error in non-volatile memory
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
ReadDataandDeltaList
Structure of the Command Buffer
Structure of the Response Buffer
Delta Slave Reserv Slave 7B Slave 6B
Command Interface
Dealing with Problems / Error Displays
Detecting Defective AS-Interface Slaves
Simple Replacement of AS-Interface Slaves
You can now replace the defective slave as follows
Error
Error Displays of the CP 243-2 / Remedying Errors
Possible Cause Remedy
Error Possible Cause Remedy
Dealing with Problems / Error Displays
Dealing with Problems / Error Displays
List of Master Functions Available
Pics for the CP
Comment / Function implemented by / Section
AS-Interface Protocol Implementation
Function or Call on the Host Interface
Idcod
AS-Interface Protocol Implementation
References
Simatic S7-200
Order numbers
References
Installation Instructions
Product Name
EU Directive EMC 89/336/EEC
Area of Application
Simatic NET CP 243-2 AS-i Master C79000-G8976-C142/02
Simatic NET ± Support and Training
Simatic Training Center
Simatic Customer Support Hotline
Nuremberg Johnson City Singapore Simatic Basic Hotline
Further Support
Simatic Customer Support Online Services
Simatic Premium Hotline
Glossary
AS-i module
AS-i slave
AS-i standard slave
Extended AS-i master
Nibble
Standard AS-i master
Glossary-4
Index
PICS, A-1
Top
Page
Image
Contents