Skip to content

OPC can change online attribute with Params.ini


1. Reload CSV sheet with OPC variables

  • Do this procedure if you change Devices (digital inputs, outputs cylinders etc.) also do this if you add new XVariable into RegixterX method or you change its type, name or you remove it.

  • Open M2k

  • Open Start - and write "M2K"

    Screenshot

  • Open M2KOPC

    • step 1 enable checkbox

    • step 2 click apply

    • step 3 clickStart Up Server

    • step 4 waiting on start server and after stop server

    • step 5 disable checkbox

    • step 6 OK

    Screenshot


2. Find ScpMedium.CSV

  • path "D:\MBGUI\Configuration files" -> file "ScpMedium.CSV"

3. OPC Quick Client

  • Open OPC Quick Client

Screenshot

  • Right click to memo and select "new server connection"

Screenshot

  • Expand "Local Machine" -> Select "Muehlbauer" and "OK"

Screenshot

  • you can "Create new group" or "Auto Create tags"


    Option 1 "Auto Create Tags"

    • Right click to "Muehlbauer", select "Auto Create Tags"

    Thus you read all xvars

    Screenshot


    Option 2 "Create new group"

    • Right click to "Muehlbauer" -> select "Create new group", give him name(you can give name by capsule)

    • Right click to your group, select "new item"

    Screenshot

    • Now select "Muehlbauer" -> "SCPMedium" -> < yourPackpage > ->

    • left contains < HP | MP | PP | cmd | ... > ->

    • on the right select your XVar and double click on it to add it to the list.

    • Confirm click button "OK"

    Screenshot

    Screenshot

    • confirm "OK"

Changing parameter values

if you want change online params value on OPC Client

  • Right click XVars what you want change it and select "Sychronous Write"

Screenshot

  • now set new value

  • Confirm "OK"