I/O device analog input/analog output
10.2 I/O device analog output
STL
T MW 4
T MW 6
T MW 8
T MW 10
T MW 12
T MW 14
T MW 16
// Transmit the reference junction temperature to the RTD/TC
WRT :CALL "WRREC", DB53
REQ :=M20.0
ID :=DW#16#78
INDEX :=2
LEN :=18
DONE :=
BUSY :=M20.1
ERROR :=
STATUS :=MD24
RECORD :=P#M0.0 BYTE 18
U M 20.1
SPB END
CLR
= M 20.0
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
Explanation
for channel 1 of the 4 AI RTD/TC
for channel 2 of the 4 AI RTD/TC
for channel 3 of the 4 AI RTD/TC
for channel 4 of the 4 AI RTD/TC
for channel 5 of the 4 AI RTD/TC
for channel 6 of the 4 AI RTD/TC
for channel 7 of the 4 AI RTD/TC
Request bit for data transmission
Input address 120 of the 8 AI RTD/TC
Data record number must be set to 2
Length 18 bytes
Busy bit from SFB "WRREC"
Pointer to memory for data transmission, length 18 bytes
Checking if WRREC is "Busy"
Reset request for Dynamic Ref. Temp.
Operating Instructions, 06/2022, A5E01250250-AN
ET 200eco PN