User guide
(3) Assign IP address and
subnet mask
(4) Assign IP configuration
(2) Browse
Figure 6: Entering the Configured IP Address and Subnet Mask and Assigning PNIO Controllers
(3) Specify the IP address set in the bus configuration, the subnet mask, and possibly the router address. In the
user example, these values are: IP = 192.168.20.101, Subnet = 255.255.255.0, no router.
(4) Press the Assign IP Configuration
button to download the parameters to the PN-IO controller.
2.5.2 Assigning the Device Name
In the STEP 7 bus configuration and accordingly in the application software on the IO device, EB200PNIO has
been assigned permanently for the device name. Thus, to commission this user example the device name does
not have to be assigned (for the moment).
However, if you do wish to change the device name, the procedure is very similar to that of assigning an IP
address for the controller. First point the mouse to select the device in the bus configuration and then with the
"PLC Æ Edit Ethernet Node…" menu command, invoke the dialog and select the device by pressing "Browse."
Enter the device name in the input field at the bottom of the dialog and download it to the device with “Assign
name.”
You must also note the following when changing the device name:
• The device name must be unique within the system.
• The name on the device must match that in the HW Config configuration.
• When the device name is changed in the user example, the device application is informed, and the new
name is saved in the Flash memory.
• The device name can only be assigned if the device is in Stop mode.
2.5.3 STEP 7 Example Program
The Development Kit contains a simple STEP 7 program that is suitable for bus configuration. It has the following
functionality:
• When a diagnostic alarm occurs, a counter in DB 10 is incremented in the associated alarm (OB82). This
counter indicates the number of diagnostic alarms that have occurred. In addition, SFC54 is also called
here. SFC54 writes the alarm data supplied by the IO device to a specified data block (DB182 in this
case).
• When a process alarm occurs, a counter in DB 10 is incremented in the associated alarm (OB40). This
counter indicates the number of process alarms that have occurred. In addition, SFC54 is also called
here. SFC54 writes the alarm data supplied by the IO device to a specified data block (DB140 in this
case).
Copyright © Siemens AG 2008. All rights reserved. 14 DK_ERTEC200_PNIO_Description
Technical data subject to change Version 3.0.0