Siemens S7-300 FB to access a string array

I need a Function Block for an S7-300 Siemens PLC that can access a shared DB containing an array of 100 x 16 character strings with the following specs:

Input parameters:

1.- DB# -integer

2.- Element index (1-100)-integer

Output Parameters:

1.- String Element (string of 16 characters)

For example:

DB# = 30

Element index = 37

The FB you provide will fetch the 37th string in the array and return it at the output. FB contains the array:

Badge ARRAY[1-100] STRING.




Kemahiran: Teknologi Bersih, Kejuruteraan Perisian

Lihat lebih lanjut: array 300, 300 array index, siemens string, siemens 300, siemens 300 string, siemens 300 array, 300 array, string siemens, siemens 300 array index, siemens array, string 300, 300 string, siemens string array, access array 300, string array siemens plc, 300 array example, array index siemens, string 300 example, index array siemens, array string siemens, access 300, character array siemens, string integer, 300 array strings, string array

Tentang Majikan:
( 91 ulasan ) Cairo, Egypt

ID Projek: #1555166