show the entry list
ET 200S (standard modules) -- Setting up and parameterizing hardware -- Initializing and parameterizing modules
How can you group together the address area of the ET 200S in STEP 7 (TIA Portal) using the "Pack Addresses" function?
How do you commission the serial interface module 1SI 3964/ASCII (6ES7138-4DF01-0AB0) in STEP 7 Professional V11 and higher?
How do you commission the serial interface module 1SI MODBUS/USS (6ES7138-4DF11-0AB0) in STEP 7 Professional V11 and higher?
Which "local_device_id" do you parameterize in order to establish a connection to FB65 "TCON" for open communication via Industrial Ethernet?
Why is the message "This page is not available" displayed in the web browser when you call the HTML page "Topology", for example, to read out the topology via the web server of the CPU?
How do you reset the IP address and device name of an I device?
Which DP slaves can be added to and removed from a PROFIBUS DP master system using the CiR function (Configuration in RUN) and which configuration changes are permissible?
Where can you find sample S7 programs and documentation for communication via PROFINET on the SIMATIC NET Quick Start Collection?
Where can you find information of the reproducibility of delay interrupts and cyclic interrupts for IM151-8 and IM154-8?
How is reparameterization performed when replacing the IO link master module or the IO link device?
Which options are available for configuring the ET 200 stations?
Where can you find information on installation guidelines for an ET 200S station?
Which diagnostics messages might you get when commissioning the ET 200S as PROFINET IO device?
Which diagnostics messages might you get when commissioning the ET 200S as PROFIBUS DP slave?
TeleService with ET200S (IM151-CPU) and TS Adapter
Can I use a Quickstop function with an ET 200S Motor Starter?
How can you combine fail-safe and standard modules in the ET 200 stations?
Parameterizing ET 200 S DI 4xNAMUR (6ES7 131-4RD00-0AB0)
Temperature compensation of a thermocouple using a resistance thermometer Pt100 to capture the reference junction temperature
Temperature Compensation of a Thermo-element via the Electronic module 2AI TC HF
How can you group the addresses of ET200S IM151-1 HF (pack addresses) in HW Config?
IM 151-7 CPU: Porting Programs with Packed Addresses
How can you group together the address area of the ET 200S (pack addresses)?
Which ET 200S modules support the option handling function?
What conditions do you have to comply with when configuring ET 200S modules?
What should you watch out for regarding the compatibility of I/O modules and interface modules when configuring an ET 200S?
How can you use Bürkert pneumatic modules in the ET 200S remote I/O system?
How can you prevent the bus error LED from lighting on interface module IM 151 when using reserve modules?
IM 151-7 CPU: Porting Programs with Packed Addresses
Part number:


QUESTION:  
How can I port programs with packed I/O addresses to a IM 151-7 CPU?

ANSWER:  
The IM 151-7 CPU (6ES7 151-7AA10-0AB0) can only work with unpacked I/O addresses. Programs or FBs with packed I/O addresses have to be  rewired which equivalent to "unpacking". How a user program is ported depends on the operands used in the user programm that access these packed addresses:

  1. If you only access packed I/O with bit operands (e. g. O0.1; I1.5;...) the rewiring is made automatically in SIMATIC Manager. For this highlight folder "Blocks" and execute command "Extras > Rewiring...". In field "Rewiring" enter now in the table the desired replacements (old/ new operand). More details on "rewiring" can be found under "Notes on rewiring operands" - Entry ID: 11791432).

    Example:
    Use a standard IM 151-1 (6ES7 151-1AA03-0AB0) with a power module and four electronic modules 2-DO. The output adresses of the four 2-DO electronic modules (6ES7 132-4FB00-0AB0) were "packed":
  • 1st electronic module:  O 0.0..0.1
  • 2nd electronic module: O 0.2..0.3
  • 3rd electronic module:  O 0.4..0.5
  • 4th electronic module:  O 0.6..0.7 

The user program, in which bit operands access the packed outputs, is meant to be ported to a CPU IM151-7. Thus, the packed address area of O0.0 - O0.7 is no longer available. The "unpacked" address assignment could therefore be as follows:

  • 1st electronic module: O 0.0..0.1
  • 2nd electronic module: O 1.0..1.1
  • 3rd electronic module: O 2.0..2.1
  • 4th electronic module: O 3.0..3.1

In this case, the table of  dialog "Rewiring" is to be filled with the subsequent data:


Old Operand

New Operand

1 O0.2 O1.0
2 O0.3 O1.1
3 O0.4 O2.0
4 O0.5 O2.1
5 O0.6 O3.0
6 O0.6 O3.1

Table 1: Example for Item "Rewiring..."

  1. If, in addition to bit operands, operand areas (e.g. BYTE, WORD, DWORD) are also used that access to packed I/O data, then rewiring has to be done manually.

    Example:
    You use a IM 151-1 Standard (6ES7 151-1AA03-0AB0) with a power module and four 2-DI electronic modules. Input addresses of the four 2-DI electronic modules (6ES7 131-4FB00-0AB0) were "packed":
  • 1st electronic module: I 0.0..0.1
  • 2nd electronic module: I 0.2..0.3
  • 3rd electronic module: I 0.4..0.5
  • 4th electronic module: I 0.6..0.7 

In the user program those inputs are then retrieved e. g. via the command "L    IB 0 " and processed.
It is now intended to be ported to a IM151-7 CPU. The packed address area of I0.0 - I0.7 (IB 0) is therefore no longer available. The "unpacked" address assignment could therefore be as follows:

  • 1st electronic module: I 0.0..0.1
  • 2nd electronic module: I 1.0..1.1
  • 3rd electronic module: I 2.0..2.1
  • 4th electronic module: I 3.0..3.1

In this case, the command  "L    IB 0 " either has to be split into bit operands with new address areas or the input addresses are grouped to a new marker byte at the beginning of the  OB 1  (e. g. MB 0) for further processing. 

For details, please see 

  • manual "ET 200S Interfacemodul IM 151-7 CPU, edition 11/2003, Chapter 12.2", available under Entry-ID: 12714722 
  • online help of STEP 7, key word "Rewiring"

 Entry ID:19188913   Date:2004-08-23 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour