Manuals
/
Siemens
/
Computer Equipment
/
Network Router
Siemens
installation instructions
Simatic NET CP 243-2 AS-i Master C79000-G8976-C142/02
Models:
CP 243-2
1
142
150
150
Download
150 pages
32.28 Kb
139
140
141
142
143
144
145
146
<
>
Install
Signaling
End bit error detected
Configuration Mode
ReadAS-iSlaveDiagnosticString
Access in the User Program
Command Interface
Safety
Feature
Reserved Mode
Page 142
Image 142
SIMATIC NET CP
243-2
AS-i
Master
C79000-G8976-C142/02
Page 141
Page 143
Page 142
Image 142
Page 141
Page 143
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
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
AS-i
Uses of the Module
DP Slave and AS-i Master
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
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
Example of Access to the Error Register
Error Register in the Digital Module
Meaning for the User Program
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
Structure of the Error Register
Error Register in the Analog Module
Bit Description/Range of Values
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
Assignment of the Input Areas
Analog Input Area
S7-200 CPU
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
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
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
ID code
SetExtendedPermanentConfiguration
Extended ID2 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
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
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
Further Support
Simatic Customer Support Online Services
Simatic Premium Hotline
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