SncDeviceDriverBase.SyncdWriterSize (PROP) ¶ PROPERTY SyncdWriterSize : UDINT Property of type ‘UDINT’ to save the size of the writer which is set by the standard RTS. This size is used to synchronize with the F-SPS because there is no writer’s inteface yet to get the size
SncDevDesc (FB) ¶ FUNCTION_BLOCK FINAL SncDevDesc IMPLEMENTS ISncDevDesc Base class for a device description of a F-SPS which is addressed by SNC services Properties: FSpsAddress FSpsDevAddress FSpsMasterIdx FSpsVendorID Structure: FSpsAddress (Property) FSpsDevAddress (Property) FSpsMasterIdx (Property) FSpsVendorID (Property)
04 Comm Drivers ¶ This folder provides the function blocks for various communication drivers ( block drivers) based on EtherCAT or SharedMemory communication. BlkDriver Stuff EtherCAT based CommDriver SHM based CommDriver
BlkDriver Stuff ¶ This folder provides function blocks implenting a block driver based on EtherCAT or SharedMemory communication drivers.
EtherCAT based CommDriver ¶ This folder provides function blocks implenting an EtherCAT communication driver based on the VendorOverEtherCAT interface for reading / writing data
SHM based CommDriver ¶ This folder provides function blocks implenting a SharedMemory communication driver for reading / writing data
05 ServiceHandler ¶ This folder provides the function block for the SNC service handler which is registered at the RTS service handler and which handles the incoming SNC service requests for the various F-SPS.
06 ServiceProvider ¶ This folder provides the function block for the SNC service provider which combines the SNC service handler and the list of F-SPS registered for the SNC service. The service provider creates its own SNC logger, too. SncServiceProvider (FunctionBlock) NumOfHandledServices (Property) SimulateServiceRequest (Method)
SncServiceProvider (FB) ¶ FUNCTION_BLOCK FINAL SncServiceProvider EXTENDS SncServiceProviderBase Function block for a new service provider for handling the SNC services addressed to its connected F-SPS’s - extends the base class ‘SncServiceProviderBase’ - handles the F-SPS bus drivers which are registered for the SNC services, in a linked list adds drivers to the list (Register), removes drivers from the list (Unregister) and searches for certain members in this list (GetBusSpecifiDataHandler) does the registering of its linked SNC service handler to the RTS service handler and starts its own SNC logger Properties: NumOfHandledServices Methods: SimulateServiceRequest Structure: NumOfHandledServices (Property) SimulateServiceRequest (Method)
07 Logger ¶ This folder provides the function block for creating a new SNC logger and add log entries to this logger. The log messages are shown in the communication settings, folder ‘Log’ if the logger is selected to ‘SncLogger’ in the logger’s drop down menue. If additional log messages are wanted you have to set the compiler defines to ‘SNC_DEBUG_LOG’ (application properties, folder ‘Build’).