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