STL
Explanation
T MW 4
for channel 1 of the 4 AI RTD/TC
T MW 6
for channel 2 of the 4 AI RTD/TC
T MW 8
for channel 3 of the 4 AI RTD/TC
T MW 10
for channel 4 of the 4 AI RTD/TC
T MW 12
for channel 5 of the 4 AI RTD/TC
T MW 14
for channel 6 of the 4 AI RTD/TC
T MW 16
for channel 7 of the 4 AI RTD/TC
// Transmit the reference junction temperature to the RTD/TC
WRT :CALL "WRREC", DB53
REQ :=M20.0
Request bit for data transmission
ID :=DW#16#78
Input address 120 of the 8 AI RTD/TC
INDEX :=2
Data record number must be set to 2
LEN :=18
Length 18 bytes
DONE :=
BUSY :=M20.1
Busy bit from SFB "WRREC"
ERROR :=
STATUS :=MD24
RECORD :=P#M0.0 BYTE 18
Pointer to memory for data transmission, length 18 bytes
U M 20.1
Checking if WRREC is "Busy"
SPB END
CLR
= M 20.0
Reset request for Dynamic Ref. Temp.
END :NOP 0
This is only an example. The logic and memory assignment have to be adapted to the
structure of the used PLC program.
Addition information on SFB 53 "WRREC" is available in the System Software for S7-300/400
System and Standard Functions manual.
10.2
I/O device analog output
10.2.1
I/O device 4 AO U/I 4xM12
Article number
6ES7145-6HD00-0AB0
188
ET 200eco PN
Operating Instructions, 06/2022, A5E01250250-AN
I/O device analog input/analog output
10.2 I/O device analog output
Summary of Contents for SIMATIC ET 200eco PN
Page 233: ...ET 200eco PN Operating Instructions 06 2022 A5E01250250 AN 234 Dimensional drawings C ...
Page 265: ...266 ET 200eco PN Operating Instructions 06 2022 A5E01250250 AN Open Source Software ...
Page 278: ...ET 200eco PN Operating Instructions 06 2022 A5E01250250 AN 279 Y Y cable 37 Index ...