Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: What to Distribute to target controller node?

What to Distribute to target controller node? 1 month 4 weeks ago #10731

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 0
Hi Claes,

Two questions:

1) Does a custom object file need to be distributed to a target controller node?

2) Does a ld_appl*.txt file need to be distributed to a target controller node?


Examples:


Distribute_Objects.png



A custom object file, fuzzy.o, is included in ObjectModules[0] and works great in a workstation.

DES_Algos ApplDistribute object is used to download fuzzy.o to a target node, but not sure if this is necessary? If not, is the object file compiled into the plc executable?



ld_appl_txt.png




This project includes multiple opc da xml connections, as shown. However, this file is overwritten in the target object to a default configuration. OPConnections ApplDistribute object copies ld_ms150lscon_1.txt file to /pwrp/common/load/ folder on the target node. However, this does not seem to work? The original configuration file reappears after a downnload. Is there an obvious mistake?


Your comments and insights are much appreciated.

/Ron
Last Edit: 1 month 4 weeks ago by AutoMate. Reason: duplicate picture attached
The administrator has disabled public write access.

What to Distribute to target controller node? 1 month 4 weeks ago #10732

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2799
  • Karma: 0
Hi Ron,

1) There is no need to distribute any object files. They are linked to executables in the development environment, and it's the executables that should be distributed. In you case I guess it's the plc which is distributed automatically.

2) No. The ld_appl file should be edited on $pwrp_cnf and is copied to $pwrp_load when the node is built. It's then automatically distributed from $pwrp_load.

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: AutoMate

What to Distribute to target controller node? 1 month 3 weeks ago #10733

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 121
  • Karma: 0
Thanks for clarification of both examples. ApplDistribute objects are removed from this project and ld_ms150lscon_1.txt is moved to $pwrp_cnf, per your suggestions. Thanks again!
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.473 seconds