AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
Modules
  • AVEVA World
  • PDMS/E3D Forum
  • Modules
  • Cancel
Modules
Specon Module Specon Manual
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 36 replies
  • Subscribers 3 subscribers
  • Views 80 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Specon Manual

rxk
rxk over 18 years ago
 
  • Sign in to reply
  • Cancel
  • Cody Austin
    Cody Austin over 14 years ago
    [QUOTE=Stefan;42089]Hi,
    I was reading the above information and have a question
    When i output the spec file on the longer lines the text is cut with a $ sign and passed on to the next line.
    Is it possible to avoit that?
    if I remove all the $ signs and input the file will there be any problems with the system to accept it?

    Thanks,

    Stefan

    You can use the following BOLD syntax to make the line a certain character length.

    SPECONMODE
    COMP
    FILE /C:\SPEC.TXT OVER WI 150 CHAR
    OUTPUT CE
    EXIT
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Abba-Gana, Abubakar
    Abba-Gana, Abubakar over 14 years ago
    [QUOTE=codooaustin;45644]You can use the following BOLD syntax to make the line a certain character length.

    SPECONMODE
    COMP
    FILE /C:\SPEC.TXT OVER WI 150 CHAR
    OUTPUT CE
    EXIT

    I have tried the above syntax for spec output and discovered that it omits some line completely.  
    only tubi line is complete . has any one else noted this.


    Otherwise it is a powerful syntax , will save a lot of man hour.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • john pitchers
    john pitchers over 14 years ago
    After OUTPUT CE insert TERM

    OUTPUT CE
    TERM
    EXIT

    TERM closes the file.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Abba-Gana, Abubakar
    Abba-Gana, Abubakar over 14 years ago
    PITCH, Thanks for your remark, I always follow the output command with term.

    default outputting without character specification is fine, no truncating.

    The problem is specifying cahracter.
    kindly try to output a spec with this  ---- FILE /C:\SPEC.TXT OVER WI 150 CHAR -- you will appreciate what I am saying..

    best regards

    abba
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • john pitchers
    john pitchers over 14 years ago
    OK I see, I tried it on one of my specs.
    Basically when I use "WI 150 CHAR" I only get a file full of Headers , Defaults, plus anything on the continuation line following a $

    Now, I do not know why but
    I tried a second time with "WI 200 CHAR" and it worked perfectly. No wrapping necessary.

    I then tried again with 150 CHAR and that also worked OK.
    I exited  and reentered SPECON
    tried again with 150 CHAR and again it worked OK

    No Idea Why or what impact using 200 CHAR has had.

    I will try again tomorrow with a fresh entry to PDMS
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • john pitchers
    john pitchers over 14 years ago
    Also
    I used FFILE not FILE .......OVER
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • john pitchers
    john pitchers over 14 years ago
    Looked at this again this morning and reproduced both correct and incorrect output.

    It appears that the secret has nothing to do with the number of characters, but with the output format. "COMP" in Codo's example.

    In speconmode using a slightly diferent format

    FILE /FREDD OVER WI 150 CHAR COMPACT
    OUT CE
    TERM

    This is producing the output with no line wrapping (what you are looking for)

    FILE /FREDD OVER WI 150 CHAR ALIGN
    OUT CE
    TERM

    This produces what appears to be (is) garbage.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Orlando de Oliveira Amaral dos Santos
    Orlando de Oliveira Amaral dos Santos over 14 years ago
    abba, why don´t you use Ultraedit text editor to manipulate your spec files, macros and any programing language files.

    good luck!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Abba-Gana, Abubakar
    Abba-Gana, Abubakar over 14 years ago
    sorry, i missed all the actions, was attending piping end of year party.

    pitch, thanks for your effort, I try your suggestions and get back.

    olando, I will give it a trial, have never used one before. is it a free ware?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Abba-Gana, Abubakar
    Abba-Gana, Abubakar over 14 years ago
    Thanks, this  ----file /FREDD OVER WI 150 CHAR COMPACT   is actually what I am looking for.

    it will help alot.


    abba
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<>