## SLMP/Ethernet-IP Communication

SLMP communication uses four memory blocks in the PLC’s D-Register set to exchange data with the vision system. For each of the memory blocks an offset and a size must be specified. The four memory blocks are:

Name | Offset | Size (Words) | Purpose
--- | --- | --- | ---
Vision Control Block | VCB_Offset | 2 | Contains Control Bits to control the Vision system
Vision Status Block | VSB_Offset | 2 | Contains Status Bits providing status information of the Vision system
Vision Input Block | VIB_Offset | 25 | Memory area to write user data to the Vision system
Vision Output Block | VOB_Offset | 29 | Memory area to receive result data from the Vision system.
String Cmd Block | SCB_Offset | 100 | Block to send native command strings to the camera
String Result Block | SRB_Offset | 100 | Bock to receive native command response

The corresponding Ethernet-IP data communication blocks are:

Name | Ethernet-IP block | Byte
--- | --- | ---
Vision Control Block | Output Assemblies - Instance 22 | 0..3
Vision Status Block | Input Assemblies - Instance 13 | 0..3
Vision Input Block | Output Assemblies - Instance 22 | 4…
Vision Output Block | Input Assemblies - Instance 13 | 8…
String Cmd Block | N/A | N/A
String Result Block | N/A | N/A

For more information regarding Ethernet-IP communications, please use the In-Sight Explorer Help file

Note: When using the In-Sight Explorer Help File, references will be made to In-Sight devices. Please use the Hardware Comparison table in AlignSight User Guide to connect the AlignSight model to the In-Sight model. In-Sight models that do not have a comparison to an AlignSight model are not supported in our AlignSight Series.
Note: AlignSight uses firmware 5.7.3 CR 2 (12). This should be referred to when using the In-Sight Explorer Help File

The size of the Vision Control Block and Vison Status Block is fixed to 2 Words (4 Bytes).

For SLMP connections, the Offset values must be specified on the SLMP configuration page while creating a sensor.

Example:

VCB_Offset = D300, Size = 2
VSB_Offset = D302, Size = 2
VIB_Offset = D304, Size =25 (Minimum Default)
VOB_Offset = D350, Size =29 (Minimum Default)
SCB_Offset = D400 Size = 100 (Minimum = 50)
SRB_Offset = D500 Size = 100 (Minimum = 50)

###### Typical Execution Sequence