Kkula
Browse Questions » STEP 7 / STEP 7 Lite: Sfc51 returns incorrect Device Software number

About User

Questions Asked: 29.3K

Answers Given: 0

0
  • Open

STEP 7 / STEP 7 Lite: Sfc51 returns incorrect Device Software number

The following SFC51 call is used to get the firmware version of a 6ES7 412-5HK06-0AB0 / V6.0 CPU:
CALL  "RDSYSST"
REQ       :=TRUE
SZL_ID    :=W#16#111
INDEX     :=W#16#7
RET_VAL   :=#tInt
BUSY      :=#tBool
SZL_HEADER:=#SSL_HEADER
DR        :="Test results".FW
The two words returned are as follows:
Ausbg1: W#16#5606
Ausbg2: W#16#0005
56 is ASCII hex for "V", so this translates to V6.5
Why does it return V6.5 and not V6.0?

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(0)