Firmware Update Via Hw Config For Analog Input Module Sm 331; Ai 6 X Tc - Siemens SIMATIC Manual

Hide thumbs Also See for SIMATIC:
Table of Contents

Advertisement

T
MW
// Transfer the cold-spot temperature to AI 6 x TC
WRT:
CALL "WR_REC"
REQ
IOID
:=B#16#54
LADDR
:=W#16#EE
RECNUM
:=B#16#2
RECORD
:=P#M 0.0 Byte 14
RET_VAL
:=MW22
BUSY
:=M20.1
U
M
20.1
SPB
END
CLR
=
M
END:
NOP 0
This is just an example. The logic and memory allocation must be adapted to the structure of
the particular PLC program used.
The return value of SFC "WR_REC" (MW 22) can be evaluated in accordance with the
structure of the PLC program used. Additional information is available in the manual titled
System Software for S7-300/400 System and Standard Functions
(http://support.automation.siemens.com/WW/view/en/1214574).
6.11.4

Firmware update via HW Config for analog input module SM 331; AI 6 x TC

Introduction
Depending on the available comaptible function updates, the module AL 6 x TC can be
updated to the newest firmware version.
The most recent firmware versions are available from your Siemens representative or from
the Internet (http://www.siemens.com/automation/service&support).
Requirements
● STEP 7 V 5.4 SP4 (HSP0158) or higher
● For central use of the module Al 6 x TC in a S7-300, the firmware update must occur in
the CPU-operating mode STOP. If the CPU is in the RUN operating mode, it may result in
unexpected behavior and the module will first be available again after a network
off/network on.
● If the module Al 6 x TC is set in a distributed IO device ET 200M, a firmware update is
also possible in the CPU-operating mode RUN.
S7-300 Module data
Manual, 06/2017, A5E00105505-AJ
6.11 Analog input module SM 331, AI 6 x TC isolated (6ES7331-7PE10-0AB0)
12
// for channel 5 ofAI 6 x TC
:=M20.0
// Input address of AI 6 x TC
// Data record number must be set to 2
// Indicator for the memory for data
// Return value for SFC "WR_REC"
// Busy bit of SFC "WR_REC"
// check whether WR_REC is busy
20.0
// Request bit for data transfer
// transfer, 14 bytes long
// Reset request for cold-spot
// temperature
Analog modules
431

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-300S7-300 module data

Table of Contents