InteractX Training - Getting Started with Quick Logging
USING QUICK LOGGING IN INTERACTX
Assumes you have completed:
 1: Installing MachineShop Suite (InteractX) And SQL2005 or Higher
 2:  Creating a New Project in InteractX
Â
Step 1:Â Open the project you created in Step 2.
Â
Step 2:Â Double click on CommServer in the application tree.
Â
Step 3:Â Add a new Channel Named SIM and select the Simulator driver. Leave all options default. Add a new Device Named PLCÂ and select the 16 Bit device module and leave all other options default.
Â
Â
Step 4:Â Close the Comm Server window.
Â
Step 5:Create a screen and tags where we can create our simulated data
  for the logging application.  Double Cick on Panel001
  Insert a Legend Plate tool and title the screen: Production Data
Â
Create the following Numeric Entry tools with Labels and Tags:
Â
            Type                          Label                                      Tag Name
            Numeric Entry           N/A                                         Target
            Numeric Entry           N/A                                         Actual
            Numeric Entry           N/A                                         Downtime
          Â
Add 3 Legend Plate tools next to the Numeric Entry tools.
Â
Type                          Label                                      Tag Name
Legend Plate           Target Production                N/A
Legend Plate           Actual Production                N/A
Legend Plate           Downtime                              N/A
          Â
Create a Momentary Pushbutton with label and tag:
Â
            Type                          Label                                      Tag Name
            Momentary              Next Shift                               NextShift      Â
Â
Add Navigation Tools that allow you to travel to the next screen and to exit the application when in runtime, found under templates.  Simply drag these tools
on to your screen.
Â
Your finished screen should look something like this:
Â
Â
Step 6:Â Â We are now going to create a SQL Server Express database and log
   these values using our New Quick Logging Feature:
Â
   Select, View, then Tags if your tag window is not visible
Â
All that is required to create a SQL Server Express database and begin logging these tags on a 1 second time interval is to check their Quick Log box in the Tag Editor.
Â
Â
Please check the QL check box for the tags named Actual, Target and Downtime.
Â
This will automatically add these tags as elements to a table named QuickLogTable in a database named QuickLog.
Â
In this case, we are going to simulate data being logged at the end of every shift, so we will need to change the logging interval for the QuickLog database form, from a 1 second interval to a Positive edge trigger.
Â
Â
Step 7:Â Find the Event Logs Folder on the Application Browser tree:
Â
Right click on the Historical changes Icon, select properties, and select the QuickLog Log. In the Object Properties Windows select Logging Control.
Â
Â
Change the Control from a Time Interval Log Trigger to Positive Edge and tie the Trigger Output to the NextShift tag that we created earlier.
(Note you can also set a start and stop time for logging so that data is only logged during active hours).
Â
Â
Â
 Step 8:  You can now test run this application, Select Tools, Run
            Application, Connected.  It should create a SQL Server
database on launch and log the current values for Target Production, Â
Actual Production and Unscheduled downtime each time the NextShift button is pressed.Â
Â
As the application stands, there is no way to confirm that the database is being created, and logged to. You can build out an InteractX screen that uses the database tool Log Viewer tool in InteractX to read back the data.