Ladder Diagram Helpful Hints
This topic contains some helpful hints for programming in Ladder Diagram with XG5000.
 Avoid trying to add a function to the last two columns
Avoid trying to add a function to the last two columns
                                                        XG5000 prevents the user from trying to add a function/function block to the last two columns. Picture below shows the columns to avoid when adding functions.
                                                                 
                                                            
 Comment Tag
Comment Tag
                                                        XG5000 allows the user to add a Tag to LD comments to allow easy navigation to that ladder rung.
                                                                 
                                                            
                                                                 
                                                            
                                                                 
                                                            
 Extension Function (Shift+F7)
Extension Function (Shift+F7)
                                                        | Symbol | Description | 
|---|---|
| BREAK | Used to exit a FOR loop sequence. | 
| CALL | Used to call a sub-routine. | 
| END | Used to END a main program or sub-routine. | 
| FOR | Will run a FOR loop the given number of times. | 
| INIT_DONE | Command ends the initialization task. Must be used if an initialization task is used or the Scan program won’t begin. | 
| JMP | Jumps to a label and all the instructions between JMP and label will be ignored. | 
| NEXT | Goes to next iteration of the FOR loop. | 
| RET | Returns from a sub-routine call | 
| SBRT | Creates a Sub-routine label that can be called using CALL. | 
LP307-6