@@ -78,7 +78,7 @@ Adjust the settings of the Ethernet card of your personal computer to use
7878100 Mbit/s full duplex (otherwise the test case "Different access ways
7979port-to-port" will fail).
8080
81- Set the IP address to 192.168.0.25 and netmask to 255.255.255.0.
81+ Set the IP address to `` 192.168.0.25 `` and netmask to `` 255.255.255.0 `` .
8282
8383Use a separate network for running tests with Advanced RT tester
8484(avoid running it on a network with unrelated devices).
@@ -136,19 +136,23 @@ Some of the test cases requires additional hardware; a Profinet-enabled switch
136136("Device B") and an IO-controller ("Device A"). Also a remote controlled
137137power outlet can be used to simplify the tests.
138138
139- +-------------------------+-----------------------------+-------------------+
140- | Item | IP address | Description |
141- +=========================+=============================+===================+
142- | Device under test (DUT) | 192.168.0.50 | |
143- +-------------------------+-----------------------------+-------------------+
144- | ART tester on PC | 192.168.0.25, 192.168.1.143 | |
145- +-------------------------+-----------------------------+-------------------+
146- | PLC ("Device A") | 192.168.0.100 | |
147- +-------------------------+-----------------------------+-------------------+
148- | Switch (“Device B”) | 192.168.0.99 | |
149- +-------------------------+-----------------------------+-------------------+
150- | Power outlet | 192.168.1.244 | Separate network |
151- +-------------------------+-----------------------------+-------------------+
139+ +-------------------------+-----------------------------+------------------------+
140+ | Item | IP address | Description |
141+ +=========================+=============================+========================+
142+ | Device under test (DUT) | 192.168.0.50 | |
143+ +-------------------------+-----------------------------+------------------------+
144+ | ART tester on PC | 192.168.0.25, 192.168.1.143 | |
145+ +-------------------------+-----------------------------+------------------------+
146+ | PLC ("Device A") | 192.168.0.100 | |
147+ +-------------------------+-----------------------------+------------------------+
148+ | Switch (“Device B”) | 192.168.0.99 | |
149+ +-------------------------+-----------------------------+------------------------+
150+ | Neighbour (“Device D”) | 192.168.0.98 | To port 2 of DUT |
151+ +-------------------------+-----------------------------+------------------------+
152+ | Neighbour (“Device E”) | 192.168.0.97 | To highest port of DUT |
153+ +-------------------------+-----------------------------+------------------------+
154+ | Power outlet | 192.168.1.244 | Separate network |
155+ +-------------------------+-----------------------------+------------------------+
152156
153157
154158Profinet-enabled switch
@@ -158,7 +162,7 @@ switch.
158162
159163The test specification of version V 2.41 recommends the use of a
160164Siemens Scalance X204IRT (article number 6GK5204-0BA00-2BA3).
161- It should have IP address 192.168.0.99, netmask 255.255.255.0 and station name "b".
165+ It should have IP address `` 192.168.0.99 `` , netmask `` 255.255.255.0 `` and station name "b".
162166Use for example Codesys to scan for the device, and to adjust the IP settings.
163167Alternatively, use SinecPni to change the IP address (see the Simatic
164168page in this documentation).
@@ -183,21 +187,31 @@ Connection of the switch ports is described in the table below:
183187The Automated RT tester will detect "Device B" by itself. No configuration is
184188required in the Automated RT tester menu.
185189
190+ The setting "Use IEC V2.2 LLDP mode" available via the STEP7 Profinet setup
191+ tool controls the format of the sent portID in LLDP frames.
192+ With the "Use IEC V2.2 LLDP mode" enabled the portID is sent as ``port-001 ``,
193+ while it is sent as ``port-001.b `` if disabled. The latter format is used in
194+ Profinet 2.3 and newer. The ART tester requires the LLDP format to be in the
195+ 2.2 format, otherwise it will complain about portID length.
196+ One way to restore the behavior to the 2.2 format is to do a factory reset
197+ of the switch via the web interface or by pressing the SET button for more than
198+ 20 seconds (if the button not is disabled in the web interface).
199+
186200
187201Remote controlled power outlet
188202^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
189203The Automated RT Tester can control an "Anel Net-PwrCtrl" power outlet via Ethernet.
190204It must be connected via a separate Ethernet
191- interface on the personal computer. Use a static IP address 192.168.1.243 with
192- subnet mask to 255.255.255.0 on that interface.
205+ interface on the personal computer. Use a static IP address `` 192.168.1.243 `` with
206+ subnet mask to `` 255.255.255.0 `` on that interface.
193207
194- The Power outlet has a default IP address of 192.168.0.244, and it has a
208+ The Power outlet has a default IP address of `` 192.168.0.244 `` , and it has a
195209built-in web server. Enter its IP address in your web browser to log in
196210(username and password printed on the hardware).
197- (You might need to temporary set your Ethernet interface to IP 192.168.0.1
198- and subnet mask to 255.255.255.0)
211+ (You might need to temporary set your Ethernet interface to IP `` 192.168.0.1 ``
212+ and subnet mask to `` 255.255.255.0 `` )
199213Modify the IP settings (on the "Einstellung" page) to use a static IP address
200- of 192.168.1.244.
214+ of `` 192.168.1.244 `` .
201215On the "Steuerung" page you can control the individual power outputs.
202216
203217Connect power for your device under test to connector number 3 on the power outlet.
@@ -207,6 +221,21 @@ left of the "PowerOutlet" text in the tool bar. The symbol to the right of the
207221"PowerOutlet" text shows a green check mark when the outputs are on, and a
208222black cross when the outputs are off (or when the power outlet not is connected).
209223
224+ +--------------+------------------------------------------------------------+
225+ | Power outlet | Connected to |
226+ +==============+============================================================+
227+ | 1 | PLC "A" |
228+ +--------------+------------------------------------------------------------+
229+ | 2 | Profinet enabled switch "B" |
230+ +--------------+------------------------------------------------------------+
231+ | 3 | Device under test (DUT) running p-net |
232+ +--------------+------------------------------------------------------------+
233+ | 4 | Neighbour device "D", connected to DUT port 2 |
234+ +--------------+------------------------------------------------------------+
235+ | 5 | Neighbour device "E", connected to DUT highest port number |
236+ +--------------+------------------------------------------------------------+
237+
238+
210239Hardware naming
211240^^^^^^^^^^^^^^^
212241Different types of Siemens hardware are used for the conformance test.
@@ -216,23 +245,106 @@ a list of Siemens naming conventions is provided here:
216245* AI: Analog input module
217246* AQ: Analog output module
218247* BA: Basic
248+ * BA: Busadapter (with RJ45 or fiber optic connectors)
219249* BU: BaseUnit (for mounting input and output modules)
220250* CM: Communication module
221251* DI: Digital input module
222252* DP: Profibus DP
223253* DQ: Digital output module
224254* F-: Fail safe
255+ * FC: Fast Connect (A bus adapter for network cables)
225256* HF: High feature
226257* HS: High speed
227258* IM: Interface Module
259+ * L+: +24 V DC
260+ * M: Ground connection
228261* P: Port
229262* PN: Profinet
230263* R: Ring port for media redundancy
231264* SM: Special module
265+ * SP: Scalable Peripherals
232266* ST: Standard
233267* TM: Technology module
234268* X: Interface
235269
270+
271+ Siemens IO-device for verification of multi-port devices
272+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
273+
274+ +--------------------------------------+-------------------------------------------+
275+ | Part | Comments |
276+ +======================================+===========================================+
277+ | Interface module ET200 IM155-6PN/2HF | |
278+ +--------------------------------------+-------------------------------------------+
279+ | Digital output module DQ 132 | In slot 1 (closest to interface module) |
280+ +--------------------------------------+-------------------------------------------+
281+ | Digital input module DI 131 | In slot 2 |
282+ +--------------------------------------+-------------------------------------------+
283+ | Base uint A0 (24 VDC, light colored) | One for each input/output module |
284+ +--------------------------------------+-------------------------------------------+
285+ | Bus adapter | With two RJ45 connectors |
286+ +--------------------------------------+-------------------------------------------+
287+ | Server module | Delivered with the interface module. Put |
288+ | | it in slot 3. |
289+ +--------------------------------------+-------------------------------------------+
290+
291+ See the Profinet test specification for part numbers.
292+
293+ Light-colored bus adapters are used for supply voltage distribution.
294+ The cyan-colored (auxiliary) terminals on bus-adapters are all connected together.
295+ If you only use light-colored bus adapters, then the cyan-colored terminals on
296+ one bus adapter are isolated from the corresponding terminals on other bus adapters.
297+
298+ Connect +24 V to the red terminals of the interface module and the base units.
299+ Connect 0 V to the blue terminals of the interface module and the base units.
300+
301+ Connect a button via wires to the digital input (DI) module. Connect it between
302+ DI.7 (pin 18) and and +24 V. The LED ".7" on the input module will be green
303+ when the button is pressed.
304+
305+ The LED ".7" on the digital output module (DQ) will be green when the output
306+ is high (+24 V).
307+
308+ .. image :: illustrations/SimaticIoDevice.jpg
309+
310+ See the page on setting up a Simatic PLC in this documentation for
311+ instructions on usage.
312+
313+
314+ Set up Cisco SF352-08P switch
315+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
316+ For multiport Profinet devices, also SNMP-communication to non-Profinet
317+ devices is verified. This Cisco switch can be used for that purpose.
318+
319+ Connect an Ethernet cable to port G1.
320+ Set your laptop IP address to ``192.168.1.143 `` and netmask to be ``255.255.255.0 ``.
321+ Log in to ``192.168.1.254 ``. Default username is ``cisco `` and password is ``cisco ``.
322+ Change password when prompted.
323+
324+ Set the IP address via the left side menu "IP configuration" -> "IPv4 Management and Interfaces" -> "IPv4 Interface".
325+ Click "Add" and enter the static IP address ``192.168.0.98 ``. Use netmask ``255.255.255.0 ``.
326+ The switch will change IP address to a new subnet, so you might need to change your
327+ laptop network setting before connecting to the new IP address.
328+
329+ Adjust LLDP settings via menu Administration -> "Discovery - LLDP" -> Properties.
330+ In the page top bar, set "Display mode" to Advanced. Set "Chassis ID Advertisement"
331+ to "MAC Address".
332+
333+ Via Administration -> "Discovery - LLDP" -> "Port settings" select port FE1 and
334+ click Edit. Enable SNMP notification. Select the optional TLVs that start with "802.3".
335+
336+ Via the menu Security -> "TCO/UDP Services", enable "SNMP Service".
337+
338+ In the page top bar, set "Display mode" to Advanced.
339+ Add a SNMP community via the menu SNMP -> Communities and click Add. The
340+ community string should be "public". Set "SNMP Management Station" to "All".
341+ Click "Apply" and "Close".
342+
343+ In the top of the page click the "Save" icon.
344+
345+ For the actual measurements, use the port 1 on the Cisco switch.
346+
347+
236348Tips and ideas
237349--------------
238350If you end up with ``Pass with Hint "The device made a EPM Request from a
@@ -359,7 +471,7 @@ Set the GSDML file attributes ``ConformanceClass="B"`` and
359471Relevant test cases for multi-port devices
360472------------------------------------------
361473
362- * PDEV_RECORDS
474+ * PDEV_RECORDS Requires additional hardware ("Device B")
363475
364476
365477Relevant test cases for legacy startup mode
0 commit comments