March 8, 2024

#198 - AVEVA How to set up the communication between the PLC and SCADA

There are different ways for the Modicon PLCs to get communication with SCADA ASP, through OPC Factory Server (OFS), or through Modicon Communication Server (MCS). There is a plugin software from Schneider called Asset Link that must be installed in ASP.

Image from Modicon Libraries General Purpose for AVEVA System Platform (OMI)
Configuration of MCS in OCMC:
- Add a new Device (PLC) and set its IP address
- In Settings > Security Tab, do as below:
- Restart the MCS Service
- Configuration of MCS_Connection in OI.GATEWAY.3:
- Tick Anonymous User and then click on the Test Connection button:
- Configuration of $aEsxCEAssetLink in AVEVA System Platform
Notes:
- During Asset Link installation:
> Generate the certificate (with a Password)
> Check the Log messages. Example: Error 1603 indicates incompatibility of versions (e.g. License Manager), Error 1602 indicates there is no ASP in the machine. During the installation of v4.0, it will fail if it has a more recent version than v2.9 of License Manager and Floating License Manager.
> Check Services are running: AssetLink Service, FlexNet Licensing Services, lmadminSchneider
- Check log files in this folder: C:\Users\Public\Documents\Schneider Electric\Modicon Communication Server\Log - Scan rate settings: IDE: AppEngine: Scan period : 200 ms OPCClientGP > Scan Group : Update interval : 250 ms OCMC: OI.GATEWAY.3 > Configuration : Device Group Update : 100 ms MCS_Connection > DeviceGroup : Update rate : 250 ms

Troubleshooting: (check also troubleshooting chapter of Modicon Communication Server User Guide):

GATEWAY/MCS_Connection: Connection Failed


Check Modicon services are running:


Deactivate OI.GATEWAY.3

Stop MCS

Reactivate OI.GATEWAY.3

Start MCS


Links:

- OPC Factory Server

- Asset Link

- YouTube

- Modicon Communications Server

No comments:

Post a Comment