Siemens TIA Portal V19 Usage Guide (Example PLC: S7-1200)
1. Wiring Instructions
1.1 Cabinet Wiring
1.2 PLC-UC04-UART Servo Wiring
| CB 1241_TA | CB 1241_T/RA |
|---|---|
| CB 1241_TB | CB 1241_T/RB |
| CB 1241_T/RA | UC04_A |
| CB 1241_T/RB | UC04_B |
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: TIA Portal V19)
- Add the PLC model in Device Configuration, then add the CB 1241 (RS485) communication board.
- Double-click the PLC device, open System and Clock Memory, and enable Use system memory byte and Use clock memory byte.
2.2 Function Block Library Import and Usage
- Click Libraries on the right side of the software, open Global libraries, and load the library file with the
.al19suffix.
- After loading, drag FB function blocks (library blocks) from Master copies into the program and fill in parameters. Then drag the data block to the leftmost program block.
- Click the data block and map the send buffer data block to
BUFFERinSend_P2P.
- Click the data block and map the receive buffer data block to
BUFFERinReceive_P2P.
2.3 Parameter Description (General for Library Blocks)
- angle: target servo angle, unit is 0.1°
- ID: servo ID
- interval: time for the servo to reach target angle, unit is ms
- accInterval: acceleration time, unit is ms (must be greater than 20ms)
- decInterval: deceleration time, unit is ms (must be greater than 20ms)
- power: output power, unit is mW











