beautypg.com

Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 137

background image

Using a Peripheral Communication Module

Appendix A

AĆ3

If you use the function abbreviations for report generation on your
1775-S4B scanner, note that GA Basic uses the following function
abbreviations:

Function Name

GA Basic Abbreviation

From_bcd
Getchar
Testchar
Testline
To_bcd

FR
G
TESTC
TESTL
TO

When you are specifying an octal address for a word or bit, you must enter
leading zeros for the file, word, and bit for the operation to function
properly in GA Basic. For example:

Address

Description

$B01:05/012

The address would correspond to binary file 1, word 5, bit 10

(decimal). Octal addressing for 1775ĆS4B report generation is

discussed in chapter 6.

When you are using the.EQ. expression operator, enter spaces before and
after the operator. For example:

If you enter:

IF (A .EQ. 10) GO LOOP

The peripheral communication module jumps to the label LOOP if user A
is equal to 10. Without the leading and trailing spaces around the .EQ.
operation, the module generates an error code.

When you are formatting data, the minimum format that the peripheral
communication module accepts is a base modifier. Otherwise, your
procedure generates an error. For example:

If you enter:

P A!016B

The formatted statement above would be valid for GA Basic. The
peripheral communication module prints user symbol A in 16-bit binary.

A.2.3
Abbreviating Functions

A.2.4
Specifying Octal Addresses

A.2.5
Using the .EQ. Expression
Operator

A.2.6
Formatting Data