Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 262

Advertising
background image

Publication 1746-RM001A-US-P

B-6 BASIC Command, Statement, and CALL Quick Reference Guide

CALL 108

PUSH [operational code]
PUSH [poll timeout or ACKnowledge timeout]
PUSH [message retries or ENQuiry retries]
PUSH [RTS On delay or NAK received retries]
PUSH [RTS Off delay or NULL value]
PUSH [module DF1 address]

Enable DF1 driver communications.

11-12

CALL 109

None

Print the argument stack.

5-7

CALL 110

None

Print port PRT2 output buffer and pointer.

5-8

CALL 111

None

Print port PRT2 input buffer and pointer.

5-8

CALL 112

PUSH [LED1 state]
PUSH [LED2 state]

User LED control

12-25

CALL 113

None

Disable DF1 driver communications.

11-18

CALL 114

None

Transmit DF1 packet.

12-26

CALL 115

POP [DF1 transmit status]

Check DF1 XMIT status.

12-27

CALL 117

POP [length of DF1 packet]

Get DF1 packet length.

13-25

CALL 118

PUSH [CALL enable/disable]
PUSH [selection of destination file and/or
string]
PUSH [word offset in destination file]
PUSH [string number]
PUSH [maximum word length]
POP [CALL 118 status]

Allow unsolicited writes from a remote SLC or
PLC node.

13-26

CALL 119

None

Reset port PRT2 to default settings.

14-4

CALL 120

PUSH [decimal equivalent]

Clear module input and output buffers.

11-18

CALL 121

POP [program ID number]

Get SLC processor program ID number.

11-19

CALL 122

PUSH [type of PLC READ command]
PUSH [remote PLC node address]
PUSH [file number of remote PLC]
PUSH [file type on remote PLC]
PUSH [starting element offset on remote PLC]
PUSH [number of elements to be transferred]
PUSH [message time-out value]
PUSH [selection of destination file]
PUSH [word offset within destination file]
PUSH [string number]
POP [CALL 122 status]

Read a PLC data file.

13-30

Mnemonic

Required PUSHes or POPs

Description

Active In

Command

Mode

Only

Page

Advertising