Siemens SIMATIC S5 Manual page 47

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Configuring with COM 115F
Example 2
WORD(S) TO COPY : 16
DEST. NO(S)
This statement causes the following transfer to be executed:
Word 16 ---> Word 20
Word 16 ---> Word 22
:
:
Word 16 ---> Word 30
This gives words 16, 20, 22, 24, 26, 28 and 30 the same contents.
The "COPY (W)ORD/(B)YTE?" prompt will appear to determine whether a word or byte is to
be copied. The above applies if you select word. If you select byte, further prompts appear:
The system expects you to enter word numbers in response to the "FROM BYTE(S)" and "TO
BYTE(S)" prompts. For DI modules, all numbers from 0 to 127 are permissible here, and for
DQ modules, all numbers from 0 to 125 are permissible.
Additional bits can be transferred to other addresses in the case of digital input modules. It is
also possible to specify the same number for both source and destination address, which
means that it is possible to copy within one byte.
If only one byte is copied, the bit transfer prompt appears. This allows you to select the bits to
be copied:
BIT TRANSFER:
TO BIT:0 1 2 3 4 5 6 7
FROM BIT:
The cursor appears in the "FROM BIT" line. You can then enter a bit number using the keys
<0> to <7>. Use the space bar to delete a number and the cursor control keys to select a
bit position. If no bit number is entered, i.e. all the bit positions are unused, the whole line
will be transferred.
Special care is required when copying bits within a byte. Do not enter a bit number which has
already been copied to! It is best to use only one bit number during a copy procedure.
Example 3
WORD(S) TO COPY:
DEST. NO ?
BIT TRANSFER:
TO BIT:0 1 2 3 4 5 6 7
FROM BIT:<CR>
This causes the following to be copied:
Bit 30.0 ---> Bit 45.0
Bit 30.1 ---> Bit 45.1
Bit 30.2 ---> Bit 45.2
:
:
Bit 30.7 ---> Bit 45.7
1-34
: 20-30
30
45
S5-115F Manual
EWA 4NEB 811 6149-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents