MICRO-EPSILON optoNCDT 1900 PROFINET Operating Instructions Manual page 86

Table of Contents

Advertisement

PROFINET, Documentation
Example: Write float value to TIA Portal
In the header, set the subindex to 3.
Set the write length to 4 bytes (4 bytes float value)
WRREC_DB
REQ :=
1
0
ID :=
273
INDEX :=
0x2510
Object Index
LEN :=
12
8Byte + Data Length
RECORD :=
DONE =>
BUSY =>
Status/Result Output
Fig. 43 PLC write command
RDREC_DB
REQ :=
1
0
ID :=
273
INDEX :=
0x2510
Object Index
LEN :=
4
RECORD :=
DONE =>
BUSY =>
Status/Result Output
ERROR =>
STATUS =>
Fig. 44 PLC read command
optoNCDT 1900 / Profinet
Enable-Flag
Write-Header (8 Byte)
HW-ID
0 0 0x03 0 0x04
Enable-Flag
HW-ID
VALUE: 9.5
0x00 0x00 0x18 0x41
Data Length
VALUE: 9.5
0 0 0
0x00 0x00 0x18 0x41
Page 86

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the optoNCDT 1900 PROFINET and is the answer not in the manual?

Table of Contents