beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 172

background image

BASIC CALLs Syntax

MVI56-BAS ♦ ControlLogix Platform

User Manual

BASIC Module (DB/BAS Compatible)

Page 172 of 234

ProSoft Technology, Inc.

December 13, 2011

Code

Mode

Communication Parameters

30

Full-Duplex

FDM, ADER, Disable DPD, CRC Error Checking

31

Full-Duplex

FDM, ADER, Enable DPD, CRC Error Checking

Where:

NHS

No Handshaking

HDMwoCC

Half-Duplex Modem without Continuous Carrier

HDMwCC

Half-Duplex Modem with Continuous Carrier

DPD

Duplicate Packet Detection

ER

Enable Embedded Responses

ADER

Auto-Detect Embedded Response

In order to suppress the end of transmission (EOT) packets for Half-Duplex

Slave, add 32 to each Code (0 to 11) listed above. For example, to configure

PRT2 as Half-Duplex Slave, NHS, Enable DPD, CRC error checking and without

EOT use code 35 instead of 3.

B =

Poll Time out (Half-Duplex Slave) or Acknowledgement Time-Out (Full-Duplex): This

parameter is expressed as 5 ms increments and can assume values in the range 2 to 65535.

C =

Message Retries (Half-Duplex Slave) or ENQuiry Retries (Full-Duplex): The value entered

should be between 0 and 254.

D =

RTS On Delay Time period (Half-Duplex Slave) or Number of NAK Retries (Full-Duplex
Mode): RTS On Delay is expressed as 5ms increments and values in the range 0 to 65535

are accepted. If using NAK Retries values between 0 to 254 are accepted.

E =

RTS Off Delay (only used for Half-Duplex Mode): If used for Full-Duplex the value will be

ignored but still must be PUSHed. Values are accepted within 0 to 65499 range.

F =

DF1 address: This parameter specifies the BASIC module address that the DF1 driver

responds to when receiving enquires from a remote DF1 device.

Example:

.
.
.
90 PUSH 5,200,2,4,4,10: CALL 108
.
.
.