S7 How to

lambusart

Member
Join Date
May 2006
Location
fleurus
Posts
12
Hi'
For a cpu 315-2dp
How to transfert value of a tempo Tx to a DByDwz(if possible by contact programming).
Must i use Dual or DEZ value of this Tx to move it with a block move into de DB?Or using Temp value?
I've problemes with Data format.
Thank's for all
Diego
 
Hello Diego;

I hope I understand your question correctly:
To transfer the remaining time from a timer (standard S5Timer) to a DB location, first create a DB location where you want to save the data, say DB12.DBW24; create the DB location as an integer(INT) if you need to save the data from the Dual pin, or as a WORD value for the DEZ pin (it is a BCD value). Then write that DB location as a destination from the Tx instruction box; here is an example:


S7_Timer_BI.jpg


Hope this helps,
Daniel Chartier
 
Back
Top Bottom