Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Software > Visualisation
Minimize Text   Default    Enlarge Text
 

Print
E-mail

How Do I Sync The Time Of The PLC Clock With The PC Clock In CX-Supervisor


You can set the PLC clock time by using some internal CX-Server functions provided with CX-Supervisor.
 
These extra functions can be enabled by Selecting Project Settings followed by Runtime settings and Startup Conditions:
 

You can then choose to use the CXServer Control in your project:

This control adds a number of features which are documented in the online help. These features include the ability to get or set the PLC clock.

Here is some example code to set the PLC clock:

 

The CX-Server control offers many other features including:

  • CXServer.ClockRead
  • CXServer.ClosePLC
  • CXServer.DownloadProgram
  • CXServer.GetDeviceConfig
  • CXServer.RawFINS
  • CXServer.RunMode
  • CXServer.SetDeviceAddress
  • CXServer.SetDeviceConfig
  • CXServer.UploadProgram

 For full details of the script syntax for these functions see the CX-Supervisor Script Reference Manual, Appendix B




Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2010-12-10
Modified 2010-12-10
Views 4397

 

You are not logged in.