Вы находитесь на странице: 1из 14

HIMA Training

HIMax or HIMatrix with RIO

CONTENT

Hardware Editor................................................................. 2

Safeethernet settings ........................................................ 4

RIO Time synchronization over SNTP .............................. 5

Start-up of the RIO ............................................................ 6

Diagnostic/Maintenance ................................................... 9
5.1 RIO System commands ...................................................................................9
5.2 RIO Module commands ...................................................................................9
5.3 Communication (safeethernet) diagnostic ..................................................11

Changes ........................................................................... 14

07-SILworX-RIO_E_06-SW.doc

SILworX

Page 1/14

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

1 Hardware Editor
Open the Hardware editor of that resource to which you like to add a Remote I/O (RIO).
Drag selected RIO type to the HW-Editor.

Fig. 1.1: Inserting a RIO


Open detail-view (Double-click to RIO) and enter a Name, Rack-ID (>=200), parameters.

Fig. 1.2: RIO properties and System variables of the RIO


Page 2/14

SILworX

07-SILworX-RIO_E_06-SW.doc

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

Check the communication parameters for the Config-Server settings:


Minimum values for the parameters:
Timeout: 20.000ms
Resend Time: 5.000ms
Alive Interval: 2.500ms
Note:
The Config-Server is responsible for configuration, transmitting diagnose/status information
and also for commands.
These tasks are actually not time critical. The recommended settings ensure well working
communication even in huge systems with a big number of RIOs.
Basic function:
The Config-Server on the CPU module addresses all RIO periodically (if no other configdata telegrams are active) in a time interval according the Alive Interval.
If there is no valid reaction coming from the RIO a resend happens after the Resend Time
Reaction from the RIO is expected within Timeout
Minimum monitor the Temperature state
Open the detail-view of CPU (Double-click) and enter the IP Address:

Fig. 1.3: IP-Settings

07-SILworX-RIO_E_06-SW.doc

SILworX

Page 3/14

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

Assign variables to hardware:


Double-click to a module in the RIO and drag the variables into the table.

Fig. 1.4: Variable assignment

2 Safeethernet settings
In safeethernet Editor automatically appears a new link to the RIO.

Fig. 2.1: Safeetherneteditor


Check the settings according communication manual:

Fig. 2.2: Timeouts

Page 4/14

SILworX

07-SILworX-RIO_E_06-SW.doc

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

3 RIO Time synchronization over SNTP


The RIO is synchronized over SNTP.
In case the parent resource is a HIMax or HIMatrix 03 (enhanced performance), a SNTP
Server must be created.
In case the parent resource is a HIMatrix (standard), it only must be created if in this resource
is also a SNTP client defined.
Create a new Protocol, SNTP Server

Fig. 3.1: Creating SNTP Server


Set the properties of the SNTP Server.
Select the module where the RIO is physically connected to.

Fig. 3.2: Assigning a COM or CPU-module to the protocol


For HIMax/HIMatrix time synchronization over SNTP from PC please see the manual:
SILworX-SNTP
Start the code generator of the resource. Do this two times, compare the two results.
And if the CRC values of both runs are equal you can load the resource configuration into the
resource.
07-SILworX-RIO_E_06-SW.doc

SILworX

Page 5/14

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

4 Start-up of the RIO


Establish a direct connection between RIO and PC.
Do a right mouse click on the element Hardware in the resource structure and select the
function Online.

Fig. 4.1: Hardware -> Online


Click on the button ->to Module Login.

Fig. 4.2: Module login


Make a right mouse click on the CPU of the RIO and click on the function Detail View in the
CPU context menu.

Fig. 4.3: Detail view of the RIO CPU

Page 6/14

SILworX

07-SILworX-RIO_E_06-SW.doc

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

Now you get to the Module Login dialog.


You do not really want to login, but you need this dialog to change the communication
settings.
For this you click on Search.

TIP

Move the now opened window a bit to the side, so that you can see the original
data from the project.

Type in the new window the Mac-Address and click again on Search and then on Change.

Fig. 4.4: Search via Mac

Change the entries for IP-Address, System ID and Rack ID according to the project data.
Click in the field User group and activate with CTRL+A the administrator with administrator
access.
Click on Write.

Fig. 4.5: Changing the RIO communication data

07-SILworX-RIO_E_06-SW.doc

SILworX

Page 7/14

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

For a short time the following window appears.

Fig. 4.6: Changing message window


Click again on Search to check if the data were really set.

Fig. 4.7: Checking the setting of the data with Search


Now you can click here Cancel, to get back to the original Login dialog. Dont click Apply.
Activate the Administrator with Administrator access and click on Login.

Fig. 4.8: Login dialog


If you are able to login with the project data, the settings were done correct.
You can now close the Control Panel of the RIO and connect the RIO with an Ethernet cable
to the parent resource.
After a wile the PROG LED will be activated very shortly and then the RIO will be set in the
same state like the parent resource.
Page 8/14

SILworX

07-SILworX-RIO_E_06-SW.doc

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

5 Diagnostic/Maintenance
Open Hardware Online

5.1

RIO System commands

Context menu of RIO:

Fig. 5.1: System Commands to a RIO

5.2

RIO Module commands

Double-click to the RIO CPU in order to get a Module Login for the RIO:

Fig. 5.2: Opening Control Panel of a RIO

07-SILworX-RIO_E_06-SW.doc

SILworX

Page 9/14

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

Open detail view for advanced diagnostic:

Fig. 5.3: Control Panel of a RIO

Online commands:

Fig. 5.4: Online Commands in the Control Panel of a RIO

Page 10/14

SILworX

07-SILworX-RIO_E_06-SW.doc

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

Diagnosis:
For opening the diagnosis the Control Panel must be the active window and then you can get
the diagnosis over the menu Online (see the screen shot above):

Fig. 5.5: Diagnose

5.3

Communication (safeethernet) diagnostic

The Control Panel of the system is open.


Select here the element safeethernet. Now you can see all communication partners
according safeethernet.

Fig. 5.6: Control Panel safeethernet

07-SILworX-RIO_E_06-SW.doc

SILworX

Page 11/14

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

Force-Editor, Inputs:
The Control Panel of the system or other online access of the system is active.
Now it is possible to open the Force Editor of the resource. Select the tab Inputs.

Fig. 5.7: Force Editor Inputs

For general diagnostic and alarming check Connection State and Quality ch1
Communication OK
Connection State = 2 and Quality ch1 = 16#07
Communication not OK
Connection State = 1 and Quality ch1 = 16#03
For details see Communication Manual

Page 12/14

SILworX

07-SILworX-RIO_E_06-SW.doc

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

For alarming you can assign Global Variables to certain System Variables.
Safeethernet
Edit
Double-click to a link
System Variables

Fig. 5.8: System variables of the safeethernet connection

07-SILworX-RIO_E_06-SW.doc

SILworX

Page 13/14

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

HIMA Training

HIMax or HIMatrix with RIO

6 Changes
Rev.: Date/Name
01/09 Kull
01

Text
Document new created.

02

03/09 Kull

PC SNTP part moved into another document

03

27/10/09 Kull

Config-Server chapter 1

04

26.03.2010/ML

Some additional remarks for HIMatrix

05

28.10.2010/ML

Little updates

06

29.11.2012/ML

Little corrections

Page 14/14

SILworX

07-SILworX-RIO_E_06-SW.doc

by HIMA Paul Hildebrandt GmbH + Co KG. Any copy, even in extracts, are prohibited unless by permission from HIMA.

Вам также может понравиться