Network Operation with Remote PLC / Remote Networked PLC Example /
Assembly Mapping to PLC Tags
Inputs to PLC from RaptorLinx-Ai-ST Outputs
For our example, we have two sensors (PE-1 and PE-2) as inputs. We created suggested tag names for the PLC to use and the following table indicates the Input Assembly, Index of the Register within that Assembly, and the Bits within the Register for the PLC to associate with the tag.
Tag | State | Program Action |
Assembly | Index |
PE_1_Blocked | – | State Mapped to Bit 07 | Input 103 | 10 |
PE_2_Blocked | – | State Mapped to Bit 05 | Input 103 | 10 |
Outputs from PLC to RaptorLinx-Ai-ST Inputs
For our example, we need PLC Outputs to run the motor and select one of the 4 configured motor profiles. We created suggested tag names for the PLC to use and the following table indicates the Input Assembly, Index of the Register within that Assembly, and the Bits within the Register for the PLC to associate with the tag.
Tag | State | Program Action |
Assembly | Index |
Run_Motor | True | Set Bit 01, Clear Bits 02, 03 | Output 106 | 0 |
Run_Motor | False | Set Bit 02, Clear Bits 01, 03 | Output 106 | 0 |
Set_Profile_0 | True | Clear Bits 04, 05, 06 | Output 106 | 0 |
Set_Profile_1 | True | Set Bit 04, Clear Bits 05, 06 | Output 106 | 0 |
Set_Profile_2 | True | Set Bit 05, Clear Bits 04, 06 | Output 106 | 0 |
Set_Profile_3 | True | Set Bits 04, 05, Clear Bit 06 | Output 106 | 0 |