====================================================================================================
== Source code file (tdlSPLC/Sample0) ==============================================================

[] PseudoPLC.c

  + A sample program of pseudo PLC device that runs in the PC and performs SECS communication with
    the host above via tdlSPLC,



[] Makefile.Win32

  + Makefile to create the above program



[] tdlSPLCE.ini

  + Example of setting file used by this sample program.
  + Configure the SECS connection with the upper host used by tdlSPLC in [DEFAULT] section and
    [SECS] section.
  + In [PLC] section, set up an interface with the PLC device (this pseudo PLC device program
    sample 'PseudoPLC.exe') used by tdlSPLC.
  + If tdlSSim (our SECS/ HSMS Simulator) is used as the host to which this sample is connected,
    configure the settings used by tdlSSim in [HOST] section.
  + For details on setting values, refer to the programmers manual (TDSE.pdf) of our SECS/HSMS
    communication package (TDS).



[] tdlSPLC_MELSEC.sml
[] tdlSPLC_OMRON.sml
[] tdlSPLC_KEYENCE.sml
[] tdlSPLC_PSEUDO.sml

  + Sample definition of SECS message for each PLC device and memory allocation definition for
    data exchange in PLC device.
  + tdlSPLC_PSEUDO.sml is an example of a configuration file used by this sample program.
  + For definition method of SECS message, refer to Programmers Manual (TDSE.pdf) of our
    SECS/HSMS communication package (TDS).
  + Refer to Chapter 2 (2)(b) of tdlSPLCE.pdf for the memory allocation definition for data
    exchange in PLC device of each item in the SECS message.



====================================================================================================
== How to create a sample program ==================================================================

[] Build a program using makefile on Windows

  + Start cmd.exe and work in it.

  + In order to use a development environment such as Microsoft Visual Studio compiler, start the
    following batch file prepared by Visual Studio and prepare the development environment.

    - In case of 32bit application
      [Directory where you installed Visual Studio]\VC\vcvarsall.bat x86

    - In case of 64bit application
      [Directory where you installed Visual Studio]\VC\vcvarsall.bat x64

  + Execute Build with the following command.
    - nmake -f Makefile.Win32
      ~~~~~~~~~~~~~~~~~~~~~~~

  (Note 1) This sample program supports the following development environment.
    - Microsoft .. Visual Studio 2005  (Microsoft Visual Studio 8)  ...... (Not support)
    - Microsoft .. Visual Studio 2008  (Microsoft Visual Studio 9.0)  .... (Not support)
    - Microsoft .. Visual Studio 2010  (Microsoft Visual Studio 10.0)  ... (32bit, 64bit)
    - Microsoft .. Visual Studio 2012  (Microsoft Visual Studio 11.0)  ... (32bit, 64bit)
    - Microsoft .. Visual Studio 2013  (Microsoft Visual Studio 12.0)  ... (32bit, 64bit)
    - Microsoft .. Visual Studio 2015  (Microsoft Visual Studio 14.0)  ... (32bit, 64bit)
    - Microsoft .. Visual Studio 2017  (Microsoft Visual Studio 15.0)  ... (32bit, 64bit)
    - Microsoft .. Visual Studio 2019  (Microsoft Visual Studio 16.0)  ... (32bit, 64bit)



====================================================================================================
== How to start and operate sample programs ========================================================


[] Refer to the header part of the source code for the method of starting and operating this sample
   program.

