Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

help me in converting this block

Status
Not open for further replies.

moneeb

Computer
Joined
Apr 3, 2005
Messages
18
Location
SA
please can anyone give me crystalized s7 block for the following s5 block?
decl: dbr i/q/d/b/t/c: B
:do =dbr
:asm kh 1EEA
:ju =m001
:L
:NOP 1
:l dw32
: c db32
:a =102s
:fr c 66
:l iw32
M001: lw =dbr
:l kh 00FF
:aw
:l RS 34
:+F
:LIR 1
:csw
:CFW
:LIR 1
:L kh 0205
:!=F
:BEC
:LW =DBR
:L KH BB00
:+F
:L KH FFFF
:AW
:L KH 0806
:stp
:BE
....
i will be very thankful to him.
Muneeb
 
The ASM (switch to assembler operation)instruction is used in S5 standard function blocks.

Your programming unit has interpreted some of the subsequent data as standard MC5 instructions but these should be disregarded as the raw data is actually assembler data.






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top