background image

7 Visualisation

The module has an internal memory for storing the content of the visualization in the 
form of a website.
The site can be built in HTML + CSS. Data for visualization is available through the AJAX 
mechanism.

7.1

The configuration of the Modbus points

The definition of groups of MODBUS points is included in the file POINTS.XML.

Sample content for Modbus RTU:

<

group

>

<

id

>node

_

<

/id

>

<

id_start

>

5

</

id_start

>

<

len

>

3

</

len

>

<

protocol

>

RTU

</

protocol

>

<

dev_addr

>

1

</

dev_addr

>

<

cmd

>

MB_MULTIHOLD

</

cmd

>

<

address

>

4000

</

address

>

<

access

>

rw

</

access

>

<

pool

>

50

</

pool

>

</

group

>

<group> the group description,

<id> defines the name of the point group,

<id_start> defines the start number of the point group numbering,

<len> determines the number of points in the group,

<protocol> specifies the access protocol to the point

RTU – Modbus RTU via RS485, 

TCP – Modbus TCP via the LAN port,

<dev_addr> specifies the Modbus device number (for TCP it is always 1),

<cmd> ustawia komendę Modbus:

MB_HOLD – Holding Registers

MB_INPUT – Input Registers

MB_COIL – Coil

MB_MULTIHOLD – Holding Registers

<address> the Modbus address,

<access> access (r – read, w – write, rw – read and write).

Additional parameters are required for the MODBUS TCP protocol:

<ip_addr> IP address Modbus device

<ip_port> port of the MODBUS device (no tag sets port no. 502).

After   each   change  in   the  POINTS.xml,  or   CONFIG.xml   file,   it   is   necessary   to 
reset the device for the changes to be updated.

User manual 

μSCADA               

         

Page

 

12

 of 

15

[B03]

Содержание mSCADA

Страница 1: ...User manual SCADA Soft v1 00 INVEO s c ul Rzemie lnicza 21 43 340 Kozy tel 48 334446587 www inveo com pl info inveo com pl...

Страница 2: ...s device the basic principles of safety and maintenance Please also keep the user manual so that you can read it during later use Attention The manufacturer is not liable for any damage caused by impr...

Страница 3: ...RES 7 5 2 TECHNICAL DATA 7 6 NETWORK SETTING 8 6 1 CHANGING THE PC S SUBNET ADDRESS FOR THE DEVICE CONFIGURATION 8 6 2 DEVICE CONFIGURATION 9 6 3 LAN 9 6 4 ACCESS TO VISUALIZATION 9 6 5 MODBUS RTU 10...

Страница 4: ...rnings could cause injury or damage to the device Important information and guidelines Following this guidelines makes the use of the device easier Attention The screenshots in this manual can be diss...

Страница 5: ...service for 10 years from the date of the introducing the device on the market The warranty covers all defects in material and workmanship The manufacturer undertakes to comply with the contract of g...

Страница 6: ...to 55 C relative humidity from 30 to 75 atmospheric pressure from 700 to 1060hPa Recommended transport conditions surrounding temperature from 40 C to 85 C relative humidity from 5 to 95 atmospheric...

Страница 7: ...nt of the housing there is a LED indicating that the device is working properly the LED is blinking whether an unexpected error has occurred the LED is on 5 2 Technical data Power supply Passive PoE 1...

Страница 8: ...nd Sharing Center Network and Internet Network Connections choose the related controller and right click on Properties After selecting this option configuration window will show up Next choose Interne...

Страница 9: ...e for the changes to be updated The meaning of tags is explained in chapters 6 3 6 4 and 6 5 6 3 LAN NET_IP NET_IP IP address of the device NET_MASK NET_MASK IP subnet mask NET_GW NET_GW network gatew...

Страница 10: ...ce being polled 6 6 Connection to the FTP server Any FTP client can be used to connect to the server e g Total Commander FileZilla WinSCP etc An example connection to the FTP server for Total Commande...

Страница 11: ...configuration file 192 168 111 10 by default The user and password field is completed as it was set in the configuration file by default admin user admin password The server supports passive and acti...

Страница 12: ...oup id_start defines the start number of the point group numbering len determines the number of points in the group protocol specifies the access protocol to the point RTU Modbus RTU via RS485 TCP Mod...

Страница 13: ...ed in the points xml file X is the number of the id_start tag or the next in the points xml file 7 4 Sending data from visualization to Modbus devices To send data use the HTTP GET syntax function 192...

Страница 14: ...s pool 50 pool group end of the group Take a look Only one group BUT with two points has been defined in the POINTS xml file Then modify the file in a web directory with the name eg index htm html hea...

Страница 15: ...ata setTimeout newAJAXCommand comm xml updateStatus false 2000 script body html The code shown above allows to write values in parameters 1 and 2 in the range 16 32 the limit was defined in the 10 lin...

Отзывы: