ELT ICS Function Control Framework
5.0.0-pre2
Introduction
Scope
Acronyms
Main Components
Top Directory Structure
Device Manager (fcfDevmgr)
Directory Structure
Device Simulators (devsim)
Graphical Interfaces (gui)
Directory Structure
PLC Libraries (controllers)
Directory Structure
Device Manager (fcfDevmgr)
Supported Devices
Shutters
Lamps
Motors
IODev
Sensors
Derotators
ADCs
Piezos
Actuator
SmarAct
Device Manager State Machine
Command Line Arguments
Environment Variables
Configuration
CII Configuration Service (config-ng)
Device Manager Configuration
Device Base Configuration
Shutter Specific Configuration
Lamp Specific Configuration
IODev Specific Configuration
Motor Specific Configuration
Motor Initialisation
Named Positions
Derotator Specific Configuration
Derotator Control
Operation modes
ADC Specific Configuration
ADC Control
Operation modes
Piezo Specific Configuration
Actuator Specific Configuration
Database Attributes
Server configuration
Server Status
Common Device Keys
Shutter
Lamp
IODev
Motor
Derotator
ADC
Piezo
Actuator
Command Interface
Error Handling
Serialization
Setup Command
Setup Interface Definition
DevStatus Command
Ignore Command
Simulate Command
DevNames Command
DevsInfo Command
DevConfig
Troubleshooting
Logging
Loggers
Log File
OPC-UA Client
PLC Libraries
Common Attributes and Functionality
Library content
Input parameters
EtherCAT Operational State and FB Input variable i_nCouplerState
Interface with Device Manager
Operational Logs at PLC Level
PLC simulators
C++ Modules
Tracking
State Machine of Tracking Devices
Automatic TwinCAT Project Creation
Lamp Library (lamp.library)
State Machine
Input parameters
Signal Mapping
GUI Template
Lamp specific RPC Methods
Lamp Simulator
Simulator Mapping
Simulator RPC Methods
Shutter Library (shutter.library)
State Machine
Input parameters
Signal Mapping
GUI Template
Shutter specific RPC Methods
Shutter Simulator
Simulator Mapping
Simulator RPC Methods
Time Library (timer.library)
Input parameters
Signal Mapping using EL6688 terminal
Signal Mapping using NTP
GUI Template
Time specific RPC Methods
Motor Library (motor.library)
State Machine
Usage of NOVRAM
Input parameters
Signal Mapping
GUI Templates
Motor specific RPC Methods
Motor Simulator
Simulator Mapping
Simulator RPC Methods
User Defined Methods
Module ASTRO (FB_ASTRO)
Input parameters:
Output parameters:
Signal Mapping
Methods
GUI Template
Utils Library (utils.library)
CCS Simulator (ccssim.library)
Input parameters
Signal Mapping
GUI Template
CCS_SIM specific RPC Methods
CCS Library (ccslib.library)
Drot Controller (motor.library)
Input parameters
Signal Mapping
GUI Templates
Derotator specific RPC Methods
Derotator Simulator
User Defined Methods
ADC Controller (motor.library)
Input parameters
Signal Mapping
GUI Templates
ADC specific RPC Methods
ADC Simulator
User Defined Methods
I/O Device Library (ioDev.library)
State Machine of Sensor
Input parameters
User Customisation
Example 1: I/O Device with User Defined Scaling
Example 2: Sensor Device without User Defined Scaling
Signal Mapping
GUI Template
IODev specific RPC Methods
Signal Simulators
Simulator Mapping
Communication Libraries (rsComm*.library)
rsCommCommon.library
rsCommSerial.library
Signal Mapping
GUI Templates
Example code
rsCommTcp.library
Signal Mapping
GUI Templates
Example code
rsCommTcpRt.library
Adapter Configuration
GUI Templates
Example code
Piezo Library (piezo.library)
State Machine
Input parameters
Signal Mapping
GUI Template
Piezo specific RPC Methods
Piezo Simulator
Piezo Simulator RPC Methods
Simulator Mapping
Sample Code
Actuator Library (actuator.library)
State Machine
Input parameters
Signal Mapping
GUI Template
Actuator specific RPC Methods
Actuator Simulator
Simulator Mapping
Simulator RPC Methods
Creating PLC Applications with MakeTcProject Utility
Configuration File MakeTcProject.cfg
Utility Specifics
Summary of Main Steps
Building PLC Application
Testing PLC Application on Windows PC
Customizing PLC Application to match Instrument Project
PLC Application deployment to PLC
Client Application
List of Commands
Examples
Enabling debug level in the server
Initialising the server
Moving the server to Operational state
Executing a
Setup
command from the command line
FCF Shell (CLI)
Command Line Parameters
Shell History
Shell Completion
Supported Shell Commands
using devnames command
using devstatus command
using devstatus_regex command
using switch_off command
using move command
using setup command
using DAQ commands
FCF Python Client Library
Error Handling
Classes
DevmgrCommand
Public Methods for building Setup Payload
Methods for Command Interface
Examples
Retrieving the Status
Executing a single
Setup
Using a custom buffer object
Using a custom buffer object with JSON files
JSON Schema
JSON file examples
Lamp Example:
Motor Example:
Drot Example:
Iodev Example:
Device Simulator
Device Simulator - Command Line Options
Device Simulator - Base Application
Generation of the SCXML State Machine Model
Generation of the OPC UA Namespace Profile
Example
Device Simulators for Standard Devices
Actuator Device Simulator
ADC Device Simulator
DROT Device Simulator
I/O Device Simulator
Lamp Device Simulator
Motor Device Simulator
Piezo Device Simulator
Shutter Device Simulator
Developing a Device Simulator
Generate the Code of the Device Simulator
Adapt the Generated Code of the Device Simulator
Engineering Interfaces
Device Manager GUI
Stylesheets
Dock Widgets
Device Widgets
Selection Check-box
Device Name
Simulation Flag
Error Flag
Local Flag
Device States
Setup Button
Activity Feedback
Motor Widget
Drot Widget
Adc Widget
Motor Engineering GUI (fcfMotGui)
Initialisation Markers
Exporting Plotting Data
Lamp Engineering GUI
Programming Guide
Device Manager Extensions
Device Classes
Methods
Device Config
LCS Interface
Template
Top Directory Structure
Component Directory Structure
Custom Device
Custom Simulation
Extending JSON schema
Getting Started
Log-in
IFW Software
Database Server
INS Configuration
Device Manager Logs
Initialising the server
Using the
DeviceManager
GUI (fcsGui)
Starting the GUI
Using the
Motor Engineering
GUI (fcfMotGui)
Starting the GUI
Controlling Custom Device
Forcing a Syntax Error
Working with a PLC
Requirements
Stopping the Software
Stopping the GUI
Stopping the Software
ELT ICS Function Control Framework
»
Index
Index
D
|
F
D
devmgr
F
fcf
,
[1]
,
[2]
,
[3]
,
[4]
fcfDevmgr