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,341
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
34
Hi Siemens guys! I am experiencing SF fault on our S7-300 (6ES7 315-2AH14-0AB0) CPU from time to time. I've checked the diagnostic buffer and...
Replies
13
Views
174
Have a system that has been running for over a year and all of a sudden getting a ExcessiveVelocityFault on one of the drives when the MSO command...
Replies
2
Views
144
Hello PLCS.Net Forum, First time posting. Let's assume I am a novice. BASIC PROBLEM: My servo/linear piston is no longer zeroed to the...
Replies
9
Views
218
Back
Top Bottom