10ć17 – Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual
Page 120

Using Commands in Report Generation
Chapter 10
10Ć17
The procedure above contains three on_error command lines which
execute if the 1775-S4B scanner detects a runtime error in the following
command lines:
When a runtime error occurs in command lines 1 thru 4, the 1775-S4B
scanner displays the error code at the data terminal, and procedure
execution stops.
When a runtime error occurs in command lines 6 (A = (B % C)) thru
command line 9, the 1775-S4B scanner executes the on_error goto
DIV_ERR command line.
When a runtime error occurs in command lines 11 (CA (A – B) @S @T
@U @V thru command line 13, the 1775-S4B scanner executes the
on_error @NO_PROC command line.
Definition: To assign a value from a specific source to a specific
destination.
Format:
Description: You can use the assignment command to write a numeric or
string value from a specific source to a specific destination. Looking at the
command format, the destination for the value can be:
Logical
address
Symbolic
address
User
symbol
The assignment command assigns the source to the destination. Different
from the other report generation commands, you do not enter assignment
to implement this command. The 1775-S4B scanner recognizes the
assignment command by the assignment statement. The 1775-S4B scanner
recognizes four assignment statements:
10.3.9
Assignment