Hello everyone,
I have a question.
I'm using SCL code to create a function block.
With that function block I want to get from a DB 3 strings.
DB name is DB8000
DB adres 1 is: DB8000.DB 0.0 (STRING[12] Initial value MS1A)
DB adres 2 is: DB8000.DB 14.0 (STRING[12] Initial value S1A)
DB adres 3 is: DB8000.DB 28.0 (STRING[12] Initial value IO1A)
What I want is, when I insert in to the FB1 input ''MS1A'' that automatically MS1A and S1A and IO1A, these 3 strings as output will be written.
Sorry for my bad english
I hope someone can write a code, thanks
I have a question.
I'm using SCL code to create a function block.
With that function block I want to get from a DB 3 strings.
DB name is DB8000
DB adres 1 is: DB8000.DB 0.0 (STRING[12] Initial value MS1A)
DB adres 2 is: DB8000.DB 14.0 (STRING[12] Initial value S1A)
DB adres 3 is: DB8000.DB 28.0 (STRING[12] Initial value IO1A)
What I want is, when I insert in to the FB1 input ''MS1A'' that automatically MS1A and S1A and IO1A, these 3 strings as output will be written.
Sorry for my bad english
I hope someone can write a code, thanks