UMAS (Schneider Electric PLCs)
This protocol is used by Schneider Electric PLCs such as the M340, M580 and the Quantum PLCs with the Unity firmware.
This driver supports reading/writing/browsing of PLC tags as well as %S/%SW addresses.
The Data Dictionary needs to be enabled on the PLC.
(Supported by Plc4Py Only)
Connection String Options
Name |
Type |
Default Value |
Required |
Description |
Name |
UMAS |
|||
Code |
|
|||
Default Transport |
|
|||
Supported Transports |
|
|||
Config options: |
||||
|
INT |
5000 |
Default timeout for all types of requests. |
|
|
INT |
1 |
Unit-identifier or slave-id that identifies the target PLC. Defaults to 1. + |
Individual Resource Address Format
Connection String
UMAS has the following connection string format:-
umas:{transport}://{ip-address}:{port}?{options}
An example connection string would look like:-
umas:tcp://127.0.0.1:502
Note the transport, port and option fields are optional.
General Format
In general all UMAS addresses have this format:
{tag-name}.{child-name}.{child-name}:{data-type}[{array-size}]
Depending on the type of tag the child-name parameters are optional. e.g. A tag with a BOOL data type could be 'TESTING_BOOL_1' whereas if it is a UDT the tag name is followed by the child 'TESTING_UDT_1.START' which in itself could be a BOOL.
If the array-size part is omitted, the size-default of 1
is assumed.
If the data-type part is omitted, it defaults to the data type of the tag read from the PLC.