Diagnostic Addresses For Dp Masters And Dp Slaves - Siemens S7-300 Installation Manual

Automation system
Hide thumbs Also See for S7-300:
Table of Contents

Advertisement

7HVWLQJ IXQFWLRQV DQG 'LDJQRVWLFV
67(3  XVHU SURJUDP
67/
CALL SFC 59
REQ
:=TRUE
IOID
:=B#16#54
LADDR:= W#16#200
RECNUM
:=B#16#1
RET_VAL :=MW2
BUSY
:=MO.0
RECORD
:=P# DB10.DBX 0.0 BYTE 240
1RWH
Data is only returned to the target area if BUSY is reset to 0 and if no negative
RET_VAL has occurred.
'LDJQRVWLF DGGUHVVHV
With CPU 31x-2 you assign diagnostic addresses for the PROFIBUS DP. Make DP
diagnostic addresses are assigned to the DP master and to the DP slave sure
during configuration.
Figure 11-5 Diagnostic addresses for DP masters and DP slaves
11-18
//Request to read
//Identifier of the address area, here the I/O input
//Logical address of the module
//Data record 1 is to be read
//An error code is output if an error occurs
//Read operation not finished
//DB 10 is target area for the read data record 1
CPU as DP master
During configuration you must specify two diagnostic addresses:
Diagnostic address
S7-300 Automation System, Hardware and Installation: CPU 312IFM - 318-2 DP
'HVFULSWLRQ
CPU as DP slave
PROFIBUS DP
Diagnostic address
A5E00203919-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents