Rockwell Automation 57C610 Enhanced Basic Language, AutoMax User Manual

Page 67

Advertising
background image

6Ć27

hex number

0

D

0

0

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

OPTIONAL TERMINATION CHARACTER

FOR INPUT STATEMENTS

1: XĆON,XĆOFF HANDSHAKE ENABLED (D)

0: XĆON, XĆOFF HANDSHAKE DISABLED
1: HARD COPY DEVICE

0: NONĆHARD COPY DEVICE (D)
1: ECHO ON (D)

0: ECHO OFF
1: 8 BIT CHARACTERS (D)

0: 7 BIT CHARACTERS
1: EVEN PARITY

0: ODD PARITY (D)
1: PARITY ENABLED

0: PARITY DISABLED (D)
1: 2 STOP BITS

0: 1 STOP BIT (D)
1: HARDWARE HANDSHAKING ENABLED

0: HARDWARE HANDSHAKING DISABLED (D)

(D) = default

baud_rate =

134, 150, 200, 300, 600, 1200 (default), 1800, 2400, 4800, 9600,

and 19200 (19,200 for Processor module M/N 57C435 and

PC3000 Serial Option card). The baud rate must be specified if

the SETUP parameter is specified.

status =

Required only when using port B on a Processor. See

Configuring and Using Port B, below, for details. An optional

parameter. Specify as NON_EXCLUSIVE when more than one

task in the Processor must have access to port B. The

parameters SETUP and ACCESS cannot be specified in the

same OPEN statement.
If the ACCESS parameter is not specified, the access status is

EXCLUSIVE. If the status is EXCLUSIVE, no other task can read

or write to the port until the port is closed. Refer to Configuring

and Using Port B, below, for details.

Configuring and Using PORT A

For port A, the Processor's operating system allocates and

deĆallocates the port for access by any task in the Processor without

using an OPEN statement in any task. The operating system will

automatically allocate the port before executing the INPUT, PRINT,

GET or PUT statements and deĆallocate the port after executing the

statements. It will manage the port allocation and error handling

between tasks without any software interlocking being added in any

of the tasks.
If the operating system default port setup and baud rate described

are acceptable for your application, you can simply use the INPUT,

PRINT, GET, or PUT statements in any task on the Processor to

communicate through port A.

Advertising
This manual is related to the following products: