Industry Online Support
Technical Forum
8/21/2009 2:56 PM | |
Posts: 131 Rating:
|
in S5 it's written only "TNB 138" or "TNB 140" and the rest of the code is converted..what do u think could be the value to be copied?? |
8/24/2009 8:37 AM | |
Posts: 131 Rating:
|
i investigated it..all the statements were converted and oinly tnb 138 hadnt been converted. its a one line statement..is this the source in ACCU2? |
8/24/2009 11:30 AM | |
Posts: 131 Rating:
|
ok its.. : :L FW 208; :L FW 204; :TNB 140; :L FW 206; :L FW 202; :TNB 138; : this is the instance..thnks for ur help |
8/24/2009 2:04 PM | |
Posts: 131 Rating:
|
so it become like that? CALL SFC 20 ( SRCBLK:= P#MW208 BYTE 138 , RET_VAL:= conv_ret_val, DSTBLK:= P#MW204 BYTE 138 ); ??? |
8/24/2009 2:51 PM | |
Joined: 4/24/2006 Last visit: 6/2/2023 Posts: 8587 Rating:
|
Dear mexflexx, No, that's not correct. I meant the value of MW208 will indicate the Source address. Perhaps indirect addressing is used, see this link: http://support.automation.siemens.com/WW/view/en/365590 Or perhaps this manual can help: http://support.automation.siemens.com/WW/view/en/1118413 Chapter 7.3 and 7.4 Best regards, Wizard |
Follow us on