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

TOPIC: Activation du Maître

Activation du Maître 2 weeks 6 days ago #11455

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2961
  • Karma: 0
Hi El Khiari,

The errormessage in capture3 is that there is a value field in a Ge graph where you have specified an object but have to specify an attribute with attribute type, Plan-plc-W-CurrentTime1.Time##Time. You also have to specify a time format, %t.

I don't think the plc program is running, so rebuild the node with force. Set force in Options/Setttings/Build in the configurator menu, and build the node. Look for any error messages in the terminal window.

/Claes
The administrator has disabled public write access.

Activation du Maître 1 week 6 days ago #11470

  • EL KHIARI
  • EL KHIARI's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
hello claes,

the current time block worked well in my previous project.


currenttime.png



but when I try to use the block in my plc in raspberry doesn't work anymore.
can you help me please


www.proview.se/v3/media/kunena/attachmen...enttimeraspberry.PNG
Attachments:
Last Edit: 1 week 6 days ago by EL KHIARI.
The administrator has disabled public write access.

Activation du Maître 1 week 4 days ago #11475

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2961
  • Karma: 0
Hi El Khiari,

First check that the plc thread is running. You can see that in the PlcThread object in the node hierarchy. The Count attribute is incremented by each scan of the thread. If it's not counting the plc is not running any more.

The program that executes the code is $pwrp_exe/plc_el-lenovo-v320-17ikb_0999_plc. If the plc is running, it's probably an old version that doesn't contain the new code. Build the PlcPgm and the node again, and check the termninal window for any error messages. Check that you really create a new version of $pwrp_exe/plc_el-lenovo-v320-17ikb_0999_plc. Note that you have to build the node from the rootvolume configurator, not from the directory volume.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.354 seconds