Subversion Repositories factorylink.decoder

Rev

Blame | Last modification | View Log | Download

START              Starting
RUN                Running
DEMO_RUN           Running in DEMO mode
LITE_RUN           Running in LITE mode
STOP               Normal shutdown
DEMO_STOP          Demo shutdown, licensed to run 5 hours
DEMO_MODE          Demo restart prohibited, restart FactoryLink
NOCT               Can't open CT file
NOTRIGGERS         No triggers defined
NOMEMORY           Out of RAM
CTINDEX            Error reading CT index
CTHEADER           Error reading CT header
BADTAG             Invalid tag number
CTRECORD           Error reading CT record
TIMER_CONV         Error reading timer conv. from mess. file

NO_RDTRIGGER       No read triggers %s
NO_BWTRIGGER       No block write trigger %s
MAX_MSG            Maximum # of %d messages in %s mbx
EW_CONV            Unknown exception conversion %s: %d
EX_CONVERT         Exception conversion %s: %d
EX_MSG             Exception write on message not supported
ARRAY              Array length error tag %s
CTCONV             Unkown conversion %s: %d

FL_WRITE           Writing %s %s: %d
FL_F_WRITE         Forced writing %s of ds %s: %d
FL_COUNT_MBX       Access mbx %s: %d
FL_READ            Reading %s tags %s: %d
FL_SET_CHG         Setting change flags %s: %d
FL_GET_CHG         Getting change flags %s: %d
FL_CHG_READ        Change read %s: %d
FL_CHG_WAIT        Change wait: %d
FL_CLEAR_CHG       Clear chg %s %s: %d
CTTAGVAL           Bad tag %s

IMX_INIT           IMX init %d
IMX_DS_REGISTER    IMX register ds %s
IMX_DS_QUERY       IMX query on ds %s: %d
IMX_DS_SEARCH      IMX ds internal search
IMX_RECV           IMX receive on ds %s: %d
IMX_SEND           IMX send on ds %s: %d
IMX_ERROR          IMX error %s on ds %s: %d
IMX_MSG            IMX unknown msg type %d on %s
IMX_DS_TRIGGER     IMX ds trigger %s: %d
IMX_BOUND          IMX unknown boundary %s: %d

DBG_STATUS         %s
DBG_CTLOAD         Configuration file loaded
DBG_QUERY          Query rsp %s \n\t\t  Boundary %d Bnd<-> %d Bit<-> %d Start %d Length %d
DBG_READ           Read rsp %s \n\t\t  Boundary %d Bnd<-> %d Bit<-> %d Start %d Length %d
DBG_WRITE          Write rsp %s
DBG_RECV           Rcv rsp %s \n\t\t  Boundary %d Bnd<-> %d Bit<-> %d Start %d Length %d
DBG_BLOCK_R        Read dataset %s
DBG_BLOCK_W        Block write dataset %s
DBG_EXCEPT         Exception write dataset %s, address %d

*---------------------------------------------------------------------------
*
* Format translation for user defined time conversions
*
*---------------------------------------------------------------------------
*
* Date-Time Translation can be specified by the user. The user has to define
* the date-time configuration from the external device. This definition is
* mainly specified as the byte order in which the date-time structure is
* received from (or send to) the external device. 
* First specified in the conversion is the coding of the data, Binary Coded
* Decimal (BCD) or Binary (BIN). Second is the order inside the date-time
* structure. The next elements can be specified:
*
* Element     Size    Description
*
* X           byte    Byte to ignore.
*
* HR          byte    Hours (0 -23)
* MI          byte    Minutes (0 -59)
* SC          byte    Seconds (0 -59)
* MS          word    Milliseconds
* 
* DOW         byte    Day of week (1 - 7, 1 = Sunday, 2 = Monday, etc.)
* DOW0        byte    Day of week (0 - 6, 0 = Sunday, 1 = Monday, etc.)
* DOW1        byte    Day of week (1 - 7, 1 = Sunday, 2 = Monday, etc.)
* DY          byte    Day of the month (1 - 31)
* MO          byte    Month (1 - 12, 1 = January, 2 = February, etc.)
* MO0         byte    Month (0 - 11, 0 = January, 1 = February, etc.)
* MO1         byte    Month (1 - 12, 1 = January, 2 = February, etc.)
* YP          byte    Hundreds of year, two digits
* YR          byte    Year, two digits
*
*---------------------------------------------------------------------------
*---------------------------------------------------------------------------
* Time        Conversion     Byte order
*---------------------------------------------------------------------------
TIM0          BCD            SC MI HR DY MO YR
TIM1          BIN            X DOW X MO X DY X YR X HR X MI X SC
TIM2          BIN            SC MI HR DY MO YR
TIM3          BIN            SC MI HR DY MO YR
TIM4          BIN            SC MI HR DY MO YR
TIM5          BIN            SC MI HR DY MO YR
TIM6          BIN            SC MI HR DY MO YR
TIM7          BIN            SC MI HR DY MO YR
TIM8          BIN            SC MI HR DY MO YR
TIM9          BIN            SC MI HR DY MO YR
*---------------------------------------------------------------------------

*---------------------------------------------------------------------------
* Months of the Year
*
*---------------------------------------------------------------------------
MO0             Jan
MO1             Feb
MO2             Mar
MO3             Apr
MO4             May
MO5             Jun
MO6             Jul
MO7             Aug
MO8             Sep
MO9             Oct
M10             Nov
M11             Dec

*---------------------------------------------------------------------------
* Days of the Week
*
*---------------------------------------------------------------------------
DOW0            Sun
DOW1            Mon
DOW2            Tue
DOW3            Wed
DOW4            Thu
DOW5            Fri
DOW6            Sat

*---------------------------------------------------------------------------
* Hours of the Day
*
*---------------------------------------------------------------------------
DAM             am
DPM             pm

*---------------------------------------------------------------------------
* Date/Time Format (Translation to message tags)
* You can change the sequence of the following tokens
*
* yr : two digit year
* mo : two digit month (jan = 01)
* mon: three digit month (jan, feb etc)
* dy : two digit day   (01.. 31)
* dow: three digit day of the week (sun, mon, etc)
* hr : two digit military hour (00..23)
* ah : two digit hour (00..12)
* mi : two digit minutes (00..59)
* sc : two digit seconds (00..59)
* ap : two digits am/pm
*
*---------------------------------------------------------------------------
* Default Format (Translation to message tags)
*
* DATETIME        mo/dy/year hr:mi:sc
*---------------------------------------------------------------------------
DATETIME        mo-dy-year hr:mi:sc
*---------------------------------------------------------------------------