Internal (Actiweb-to-Actiweb)¶
Internal connections can be used in two modes:
- local:
Moves data from datapoint to another within same device. Use this mode by having “local” as DEVICE in examples below.
- remote:
TBD
Internal dataSource and dataTargets¶
Internal datasources and -targets (later just dataurls) consists of multiple parts, just like regular http-urls do. Here is an example of modbusrtu dataSource:
actiweb://DEVICE/path%2Fto%2Fpoint?scale=2
Dataurl as a dataSource copies value from path/to/point.pv to this poin’s pv field. DataTarget copies this point’s pv value to path/to/point.pv.
The dataurl can be split into parts which are separated by / character.
- protocol
actiweb://This part tells the Internal module to access this datapoint.- device
DEVICEUse “local” for intra device connections.- path
path%2Fto%2FpointURL encoded pointname. Do not use “.fieldname” in the point path, because this module only deals with pv values.- parameters
scale=2All of the regular Actiweb URL parameters apply to this protocol. Note that dataTarget uses reversed functions and this example would equalscale=0.5in the target points dataSource.