About Dynamic File Name

  • Hello everyone,

    I use KR300-2700

    Controller KRC4

    KSS Version : 8.6.7

    I want to create a dynamic string name with using a variable. I could not find which operand should I use to combine variable with a string.

    I mean, my variable name is fileName and it holds “Test” string as :

    fileName = “Test”

    I want to combine fileName variable with “.txt” string but which operand should I use instead of & or +

    CWRITE(“krl_fopen”, .. , … “ Test ”<whichoperand> .txt”, …. )

    I wanna use in this line that operand.

    Could you help me about that topic? Thank you in advance!

  • AD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now