Siemens 2D-TZ577 Instruction Manual page 24

Profibus dp-v0 slave interface for cr800-d series; cr750-d series; cr751-d series; crnd-700 series controller
Table of Contents

Advertisement

3 Features and Specification of 2D-TZ577 Card
Table 3-8 An Example of Input/Output Signal Alignment between Master Station and Robot
Data send/receive region
PLC data write completed flag
Robot data write completed flag
(*1)
For the purpose of explanation, a name is given to the Master Station input/output signal alignment.
Actually, you can make any input/output signal alignment in accordance with a Master Station instruction
manual that governs.
Below is an example of robot program which corresponds to the flowchart shown in Fig. 3-3. For information
about the Master Station-side program (ladder, etc.), refer to the instruction manual for the equipment being
used.
*Loop1: If M_In(2016) = 0 Then *Loop1
Mdata = M_InW(2000)
M_Out(2020) = 1
*Loop2: If M_In(2016) = 1 Then *Loop2
M_Out(2016) = 0
Specification Relative to Robot Language 3- 14
Meaning
Master
Start
Write one-word data
(data transmitted)
Write WRTFLG = 1
NO
RDFLG = 1?
YES
Write WRTFLG = 0
NO
RDFLG = 0?
YES
End
Figure 3-3 An Example of Use of Interlock
Master Station
*1
Data send region
Input: 2000 to 2015
WRTFLG
Input No. 2016
RDFLG
Output No. 2020
Robot
Start
Input No. 2016 = 1?
Read Input Nos. 2000 to
2015 (data received)
Write Output No. 2020 = 1
Input No. 2016 = 0?
Write Output No. 2020 = 0
End
Robot
NO
YES
NO
YES

Advertisement

Table of Contents
loading

Table of Contents