Tips and Tricks
5-3
PLC S7-300, CPU Specifications CPU 312 IFM to CPU 318-2 DP
A5E00111190-01
CPU 312 IFM and 314 IFM: Erasing the integrated EPROM
If you wish to erase the contents of the integrated EPROM, proceed as follows:
1. Open a window with an Online view of the opened project via menu command
View
Online, or
open the Online nodes window per click on the Online nodes in the function
bar, or select the menu item PLC
Show online nodes.
2. Select the MPI number of the target CPU (double-click).
3. Select the Function Block container.
4. Select the menu item Edit
Mark all.
5. Then select the menu item File
Delete, or press the DEL key. This deletes all
the selected blocks from the target memory.
6. Select the MPI number of the target CPU.
7. Select the menu item PLC
Copy RAM to ROM.
This command deletes all blocks online and overwrites the EPROM with the blank
contents of the RAM.
SFB “DRUM” - Reversed Bytes in Output Parameter OUT-WORD
With the SFB “DRUM”, the following CPUs return the value with reversed bytes on
the output parameter OUT_WORD.
CPU 312 IFM up to 6ES7312-5ACx2-0AB0, firmware V 1.0.0
CPU 313 up to 6ES7313-1AD03-0AB0, firmware V 1.0.0
CPU 314 up to 6ES7314-1AEx4-0AB0, firmware V 1.0.0
CPU 314 IFM up to 6ES7314-5AEx3-0AB0; firmware V 1.0.0
CPU 315 up to 6ES7315-1AF03-0AB0, firmware V 1.0.0
CPU 315-2 DP up to 6ES7315-2AFx2-0AB0,
CPU 316 up to 6ES7316-1AG00-0AB0
The result is the following assignment, with reference to output parameter OUTj,
0j15:
OUTj, 0j15:
76 0
j = 7 .... 0
54321
OUT_WORD
15 14 813 12 1110 9
j = 15 .... 8