PLC Logics
Overview
Section titled “Overview”PLC Logics are pre-built automation control components that implement common industrial automation patterns. These components bridge the gap between traditional PLC programming logic and Unity-based digital twin simulations, providing ready-to-use control logic for typical automation scenarios.
PLC Logic components are designed to work seamlessly with realvirtual’s drive system, sensors, and PLC signal interfaces, enabling rapid prototyping and implementation of automation sequences without custom scripting.
Key Features
Section titled “Key Features”- Pre-built Control Logic: Common automation patterns ready for immediate use
- PLC Signal Integration: Direct connection to PLCInput and PLCOutput signals for external system integration
- Drive System Integration: Native support for realvirtual Drive components
- Sensor Integration: Automatic response to sensor states and conditions
- State Management: Built-in status tracking and sequence management
Available Components
Section titled “Available Components”Automatically stops a drive when a sensor detects an object, commonly used for conveyor systems and material handling applications.
Coordinates synchronized movement between three axes to perform automated pick and place operations with configurable positions and timing.
Usage Guidelines
Section titled “Usage Guidelines”- Component Setup: Add PLC Logic components to empty GameObjects in your scene hierarchy
- Reference Assignment: Connect drives, sensors, and PLC signals through the Inspector
- Position Configuration: Set target positions and operational parameters as needed
- Integration Testing: Verify component behavior with your external PLC or control system
Integration with External Systems
Section titled “Integration with External Systems”PLC Logic components are designed to integrate with external control systems through realvirtual’s interface system:
- OPC-UA: Industrial standard communication protocol
- S7 TCP: Direct connection to Siemens PLCs
- Modbus: Serial and TCP communication support
- Custom Interfaces: Extensible architecture for proprietary systems
See Also
Section titled “See Also”- Defining Logic - Custom logic implementation approaches
- Interfaces - External system communication
- Motion and Kinematic - Drive system fundamentals
- Sensors - Sensor integration and configuration
© 2025 realvirtual GmbH https://realvirtual.io - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.