This is the deal. I have 10 menus within a siemens S7/400 plc used for speed control on 1 conveyor. Each menu has a Db ( 201-211 ) Each menu then has its parameters which are the datawords within the datablock.
When a specific menu is chosen via an lauer pcs touch panel, the data block for that menu is loaded into a working datablock 200.
example. joe bloggs selects format number 6 which loads DB206 into DB200 9 working DB )
What i want to do is install a increment and a decrement button to allow me to fine tune the conveyor speed as required. This has to be done frequently due to belt wear ect.....
So, i want to to be able to push a button which will increment the conveyor speed setpoint stored in dataword by say 10 and then transfer it back to the same data word.
I have tried the following but no joy.
A I 69.0 increment button
JC M001
NOP 0
M001 DB200.DBW 86
INC 10
T DB200.DBW 86
Any help much appreciated. PS the values are stored as a "real " number within the DB
Cheers,
Jason
When a specific menu is chosen via an lauer pcs touch panel, the data block for that menu is loaded into a working datablock 200.
example. joe bloggs selects format number 6 which loads DB206 into DB200 9 working DB )
What i want to do is install a increment and a decrement button to allow me to fine tune the conveyor speed as required. This has to be done frequently due to belt wear ect.....
So, i want to to be able to push a button which will increment the conveyor speed setpoint stored in dataword by say 10 and then transfer it back to the same data word.
I have tried the following but no joy.
A I 69.0 increment button
JC M001
NOP 0
M001 DB200.DBW 86
INC 10
T DB200.DBW 86
Any help much appreciated. PS the values are stored as a "real " number within the DB
Cheers,
Jason