EasyManuals Logo

Danfoss 5000 Flux Manual

Danfoss 5000 Flux
176 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
Page #165 background imageLoading...
Page #165 background image
165
MG.10.J4.02 – VLT is a registered Danfoss trade mark
VLT
®
5000 SyncPos option
COM_OPT
/* Program for sending and reveiving 8 bytes of data via a communication option using PPO type 2 */
/* Definition of arrays */
DIM send [4]
DIM receive [4]
/* Definition of user parameters */
LINKGPAR 133 710 “DATA WORD 1” 0 255 0
LINKGPAR 134 711 “DATA WORD 2” 0 255 0
LINKGPAR 135 712 “DATA WORD 3” 0 255 0
LINKGPAR 136 713 “DATA WORD 4” 0 255 0
/* Initialize arrays (all elements = 0) */
i = 1
WHILE (i<4) DO
receive [i] = 0
i = i+1
ENDWHILE
j = 1
WHILE (j<4) DO
send [j] = 0
j = j+1
ENDWHILE
/* Main program loop */
main:
send [1] = GET 133 /* send array, element 1 = value of par. 710 */
send [1] = GET 134 /* send array, element 2 = value of par. 711 */
send [1] = GET 135 /* send array, element 3 = value of par. 712 */
send [1] = GET 136 /* send array, element 4 = value of par. 713 */
COMOPTGET 4 receive /* Copy 4 words from comm. option to receive array */
COMOPTSEND 4 send /* Copy 4 words from send array to communication option */
/* Print data of receive array */
print “RECEIVED(4 WORDS)”,” “,receive [1],” “,receive [2],” “,receive [3],” “,receive [4]
GOTO main /* End of program */
Program samples

Table of Contents

Other manuals for Danfoss 5000 Flux

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Danfoss 5000 Flux and is the answer not in the manual?

Danfoss 5000 Flux Specifications

General IconGeneral
BrandDanfoss
Model5000 Flux
CategoryDC Drives
LanguageEnglish

Related product manuals