EasyManua.ls Logo

VIPA System 300V - Page 154

Default Icon
160 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V
6-64 HB130E - CPU - Rev. 11/50
FC 1:
CALL "Control" //Control Send order
SSNR:=0
ANR:=1
PAFE:=MB195
ANZW:=MD174
O M 175.1 //Order in process or
O T 1 //timer on
BEB
L S5T#1s //Set timer value at 1s
CLR
SV T 1
SET
SV T 1 //Start timer
CALL "Send" //Send order
SSNR:=0
ANR:=1
IND:=0
QANF:=P#DB11.DBX 0.0 BYTE 16 //Source: DB11 from DW0, 16Byte
PAFE:=MB194
ANZW:=MD174
L DB11.DBW 0 //Telegram counter
+ 1 //in DB11,
T DB11.DBW 0 //increment DW0
FC 2:
CALL "Control" //Control Receive order
SSNR:=0
ANR:=1
PAFE:=MB195
ANZW:=MD184
UN M 185.0 //if handshake not
BEB //convenient, end
CALL "Receive" //Receive order
SSNR:=0
ANR:=11
IND:=0
ZANF:=P#DB12.DBX 0.0 BYTE 16 //Dest: DB12 from DW0, 16Byte
PAFE:=MB193
ANZW:=MD184
L MB 188 //Increment telegram
+ 1 //counter in MB188
T MB 188
FC 1 - SEND
FC 2 - RECEIVE

Table of Contents

Other manuals for VIPA System 300V

Related product manuals