Hi
I am looking to read 2 strings of 25 characters from a DB (say DB1). Lets assume DB1 is empty apart from
'Hello This is string1'
'Hello This is string2'
I wish to write these to DB2, at slots (say 11,12 or whatever the DB usage will be)
How do I get this to work? If I go online to the DB1 it shows the initial values but the actual values are shown as ''
Do I need to use FB20.?
I have cheated and used the HMI to do this (move a consant into an HMI internal string) but would prefer to do it in the PLC
I have looked on here and the manual but is is a bit vague on string handling. I was cosidring using the concatenate function (concatenate '', 'My String 1')
Thanks
I am looking to read 2 strings of 25 characters from a DB (say DB1). Lets assume DB1 is empty apart from
'Hello This is string1'
'Hello This is string2'
I wish to write these to DB2, at slots (say 11,12 or whatever the DB usage will be)
How do I get this to work? If I go online to the DB1 it shows the initial values but the actual values are shown as ''
Do I need to use FB20.?
I have cheated and used the HMI to do this (move a consant into an HMI internal string) but would prefer to do it in the PLC
I have looked on here and the manual but is is a bit vague on string handling. I was cosidring using the concatenate function (concatenate '', 'My String 1')
Thanks