An array of tags

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Tag Edition > Function Explanation >

An array of tags

About tag arrangement

In a standard PLC, if you check "Make an array" in the "Advanced Settings" tab, the tag will be treated as an array.

 

Setting it as an array tag allows you to handle consecutive areas together.

For example, if you specify the number of arrays as 1000 in the numeric tag for PLC address "D00001," it will be treated as an array of 1000 elements from "D00001" to "D01000."

 

 

 

hint

■OPC

Supports OPC array type (VT_ARRAY). Checks whether the connected OPC client supports array data types, and if so, can communicate with consecutive areas at once using one tag.

 

■DDE

When communicating with Excel using VBA, it can be handled as an array of up to 32 items. For details, please refer to "Interface Edition".

 

■IPLinkClient ActiveX

The IPLink client can handle arrays using ReadVal/ WriteVal etc. For details, please refer to Interface.

 

■FA-Panel

Arrays can be handled with methods such as GetVal/ ReadVal/ WriteVal/ ReadRefresh/ WriteRefresh. Arrays allow you to read and write large amounts of data quickly from a script (SC2).

 

 

attention

If you define an array tag in Panel Server, you can read and write the array tag in bulk from a script (SC2) using the ReadVal/WriteVal method. However, you cannot directly access each element of the array tag (for example, only the third element of an array of 100 elements) from a script. Also, binds are not supported for array tags.

If you need to read and write to each element of an array tag using scripts or bindings, do not use array tags; instead, define a tag for each address that you need to read and write to.