General interface description
The SCADA
interface provides:
- System values
- Power
Control setpoints
- Plant values for realtime monitoring etc.
How to activate the SCADA interface
Make sure the blueLog has a SCADA-licence installed:
Then please activate the SCADA interface:
Interface communication settings
Important
Note: Only
Modbus TCP is
supported
Modbus
TCP Port 502: For all devices
(inverter,
meter,
sensors,
etc.)
Modbus
TCP Port 503: Only reserved
for
Trackers
Allocation of devices (SCADA address)
The
values of each device are assigned to a specific client ID
The
client IDs from 100 - 247 are reserved for the SCADA interface
The sort order is as following:
- Device type (order as in the frontend, see cockpit)
- Port (first DI/MI, then RS485, then Ethernet)
- Bus address (ascending)
- Virtual address (ascending)
- The SCADA addresses are assigned automatically the first time the SCADA interface is activated.
- If SCADA is deactivated and activated again, the SCADA addresses retain.
- If the SCADA addresses are assigned automatically by pressing Reset SCADA address, the devices are simply counted from up to down.
- Newly created devices do not initially get an automatically assigned SCADA address, you have to use Edit SCADA address to assign a address:
Structure of the registers
Here you'll find the latest Version of the SCADA interface register list (PDF)
Overview:
Type |
TCP port |
Register |
General values |
502 |
40000 – 40741 |
Inverters |
502 |
41000 – 41999 |
Sensors |
502 |
42000 – 42306 |
Meter |
502 |
43000 – 43300 |
String Combiner |
502 |
44000 – 44030 |
Tracker |
503 |
45000 – 45010 |
Data types
We provide all common data types:
Type |
Description |
Default value |
U16 |
16 Bit Unsigned Integer |
0xFFFF |
U32 |
32 Bit Unsigned Integer |
0xFFFFFFFF |
I16 |
16 Bit Signed Integer |
0x8000 |
I32 |
32 Bit Signed Integer |
0x80000000 |
F32 |
32 Bit Float |
0x7FC00000 |
String |
String, ASCII Encoding If not the whole field-length is used, the string is filled with 0x00 at the end. If a value (e.g., Manufacturer name) is not fitting inside the register, it will be hard-cut. |
0x00 |
Factor & offset
Specifies the factor by which the value must be multiplied, or which offset must be added to the value- First the factor, then the offset must be taken into account!
Testing the SCADA interface with Modpoll / PLC software
Example with Janitza UMG Meter on Adress 101:
Polling the P_AC Value:
Query:
modpoll -t 4 :float -r 43000 -a 101 - 0 192.168 . 30.216
|
Result:
C:\modpoll>modpoll -t 4 :float -r 43000 -a 101 - 0 192.168 . 30.216
modpoll 3.9 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright (c) 2002 - 2020 proconX Pty Ltd
Visit https: //www.modbusdriver.com for Modbus libraries and tools.
Protocol configuration: MODBUS/TCP, FC3 Slave configuration...: address = 101 , start reference = 43000 (PDU), count = 1
Communication.........: 192.168 . 30.216 , port 502 , t/o 1.00 s, poll rate 1000 ms
Data type.............: 32 -bit float, output (holding) register table
-- Polling slave... (Ctrl-C to stop) [ 43000 ]: - 9383.629883
-- Polling slave... (Ctrl-C to stop) [ 43000 ]: - 8760.450195
-- Polling slave... (Ctrl-C to stop) [ 43000 ]: - 8764.480469
-- Polling slave... (Ctrl-C to stop) [ 43000 ]: - 8817.830078
-- Polling slave... (Ctrl-C to stop) |