String calls, Dh-485 communication, String calls dh-485 communication – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 95

Advertising
background image

Chapter
Using BASIC Module Statements

7

7 -5

Use theses calls to manipulate string data structures within a BASIC
program or from the command line.

Statement

Page

STRING

11 -37

CALL 60

string repeat

12 -59

CALL 61

string append

12 -60

CALL 62

number to string conversion

12 -61

CALL 63

string to number conversion

12 -62

CALL 64

find a string in a string

12 -63

CALL 65

replace a string in a string

12 -64

CALL 66

insert a string in a string

12 -65

CALL 67

delete a string from a string

12 -66

CALL 68

determine length of a string

12 -67

Use these calls when the DH485 port is configured for
DH-485 communications.

Important: CALLs 29, 49, 50, and 118 are for background operation.
Do not attempt to execute standard DH-485 calls while background calls
are enabled and active. Invalid data transfers could result.

Statement

Page

CALL 29

read/write to PLC/SLC from module internal string

12 -18

CALL 49

read remote DH-485 SLC data file

12 -44

CALL 50

write to remote DH-485 SLC data file

12 -50

CALL 83

display DH485 port setup

13 -11

CALL 84

transfer DH-485 CIF to BASIC input buffer

13 -12

CALL 85

transfer BASIC output buffer to DH-485 CIF file

13 -13

CALL 86

check DH-485 interface remote write status

13 -14

CALL 87

check DH-485 interface file remote read status

13 -15

CALL 90

read remote DH-485 data file to BASIC input buffer

13 -18

CALL 91

write BASIC output buffer to remote DH-485 data file 13 -22

CALL 92

read remote DH-485 CIF to BASIC input buffer

13 -26

CALL 93

write output buffer to remote DH-485 CIF file

13 -29

CALL 118

PLC/SLC unsolicited writes

13 -52

CALL 120

clear BASIC module input and output buffers

13 -57

String Calls

DH-485 Communication

Advertising