omron — I9 Full/Abbreviated Program Listing Form

PMAC Product Guide I8 Real Time Interrupt Period Range: 0 .. 255 Default: 2 Units: Servo Interrupt Cycles This parameter controls how often certain time-critical tasks, such as PLC 0 and checking for motion program move planning, are performed. A value of 2 means that they are performed after every third servo interrupt, 3 means every fourth interrupt, etc. Usually, this can be left at the default value. In some advanced applications that push PMAC’s speed capabilities, tradeoffs between performance of these tasks and the calculation time they take may have to be evaluated before setting this parameter. Note:

A large PLC 0 with a small value of I8 can cause severe problems because PMAC will attempt to execute the PLC program every I8 cycle. This can starve background tasks, including communications, background PLCs, and even updating of the watchdog timer, for time, leading to erratic performance or possibly even shutdown. In multiple-card PMAC applications where it is very important that motion programs on the two cards start as closely together as possible, I8 should be set to 0. In this case, no PLC 0 should be running when the cards are awaiting a RUN command. At other times I8 may be set greater than 0 and PLC 0 re- enabled. I9 Full/Abbreviated Program Listing Form Range: 0 .. 3 Default:

2 Units: none When this parameter is 0 or 2, programs are sent back in abbreviated form for maximum compactness, and when I-variable values or M-Variable definitions are requested, only the values or definitions are returned, not the full statements. When this parameter is 1 or 3, programs are sent back in full form for maximum readability. Also, I-Variable values and M-Variable definitions are returned as full command statements, which is useful for archiving and later downloading. When this parameter is 0 or 1, I-variable values that specify PMAC addresses are returned in decimal form. When it is 2 or 3, these values are returned in hexadecimal form (with the $ prefix).

Any I- Variable values can be sent to PMAC either in hex or decimal, regardless of the I9 setting. This does not affect how I-Variable assignment statements inside PMAC motion and PLC programs are reported when the program is listed. Example: With I9=0:

I125 ; Request address I-variable value 49152 ; PMAC reports just value, in decimal M101-> ; Request M-Variable definition X:$C001,24,S ; PMAC reports just definition LIST PROG 1 ; Request listing of program LIN ; PMAC reports program short form X10 100 I-Variables Setting Meaning 0 Short form, decimal address I-Variable return 1 Long form, decimal address I-Variable return 2 Short form, hex address I-Variable return 3 Long form, hex address I-Variable return