s7-300 migrate s7-1200 problem

tulip

Member
Join Date
Oct 2005
Location
ist
Posts
236
Hi.In the S7-300 plc, DB100.DBB10, whose data type is byte, is transferred to db23.dbb10, whose data type is bool, with the move command. This segment runs on S7-300. After this project is migrated to S7-1200, when the program is compiled It gives an error. In S7-1200, I changed the data type of the relevant data row from bool to byte. This time it gives an error again and DB23???? But the relevant line of DB23 is called bool in other blocks. Therefore, the data type should remain bool.Thanks in advance for any help..
 
1200 cares about data type, whereas S7-300 never really did.


You could use the SCATTER command to move it from a BYTE into an array of 8 bools, if you're trying to use optimized programming and do things the "new way".
 
You can also use merker byte address as temp variable.
Then copy from same merker bit addresses to dbx.x bits.


But Siemens wants you to use symbols on TIA.
 

Similar Topics

Urgent Help needed I have to migrate a S7 300 PLC system controlling a plant which is currently in operation, from SIMATIC NET V6.3 to V.15...
Replies
0
Views
1,347
Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
10
Views
110
So basically i have 2 queries : 1. I have a program file of S7-300 PLC which i want to migrate in RSLogix500.In short i want to convert my simatic...
Replies
15
Views
252
Hi i using Kinetik 300 2097 driver control by EIP with using move absolute and incremental for motion , but i want to add same driver and motor as...
Replies
0
Views
64
Hey all, first time poster here. I am wondering if anyone has tried using a Keyence SR-X300 barcode scanner to a Micrologix 1400. Keyence sent...
Replies
0
Views
60
Back
Top Bottom