Input Assembly Instance 100
In this example application, we will also be using the Assembly Instance 100 that holds 64 bytes of user data. The complete assembly is:
DINT
Meaning
0 32 Bits of Camera Virtual IO 1 User defined tag value 2 Camera Status Register 3 Last Error 4...19 64 bytes of user data
In this example, we will be storing Data Matrix results into the user data block of the assembly. We will be returning the center point of the Data Matrix code that is composed of three floating point numbers (X, Y, and angle). This data will be followed by the decoded string of the Data Matrix up to a length of 28 characters. This is then followed by a Boolean containing the pass/fail status of the Data Matrix Tool. The complete assembly is:
Note: Each discrete numeric data type (integers, floats, and booleans) in Visionscape® will map to a DINT in the assembly when using the provided Perl scripts for reading and writing Ethernet/IP data.