Inovance AutoShop Usage Guide (Example PLC: H5U)
1. Wiring Instructions
1.1 Cabinet Wiring
1.2 PLC-UC04-UART Servo Wiring
| RS485+ | UC04_B |
|---|---|
| RS485- | UC04_A |
1.3 RS485 Servo Wiring
| PLC-A | RS485 Servo-A |
|---|---|
| PLC-B | RS485 Servo-B |
| Power+ | RS485 Servo+ |
| Power- (must share GND with PLC) | RS485 Servo- |
2. Program Instructions
2.1 Configuration Setup (Software: AutoShop)
- Configure communication parameters on COM0.
- Protocol: Free Protocol.
- Baud rate: 115200.
- Data length: 8 bits.
- Parity: None.
- Stop bit: 1 bit.
2.2 FB Library Usage
-
In AutoShop Toolbox, right-click Custom Library and import all FB libraries.
-
Double-click the required FB library and place the FB block into the network.
-
Fill in parameters. FB command parameters:
- ID: servo ID
- angle: target servo angle, unit 0.1° (for 90°, set 900)
- interval: time for servo to reach target angle, unit ms
- accInterval: acceleration time, unit ms
- decInterval: deceleration time, unit ms
- power: servo output power, unit mW
- SendBuf: register address used to store commands (INT type)
-
After writing parameters, use the SerialSR instruction to send data from port 0.
- Port: port number
- SendBuf: send data buffer (first register written by MOV)
- SendSize: send byte count, 0-256
- RcvBuf: receive buffer
- RcvSize: receive byte count, 0-256
- Timeout: receive timeout, 20-30000 (ms)
- Done: completion flag*
- Status: instruction running status*
- Sent: bytes sent*
- Received: bytes received*








