ProSoft Technology MVI56-BAS User Manual
Page 190

BASIC CALLs Syntax
MVI56-BAS ♦ ControlLogix Platform
User Manual
BASIC Module (DB/BAS Compatible)
Page 190 of 234
ProSoft Technology, Inc.
December 13, 2011
SLC 5/02 (typed writes)
For more information about CALL 118 usage (including ladder logic) refer to
Using DF1 Protocol Communications.
Syntax:
PUSH [A]
PUSH [B]
PUSH [C]
PUSH [D]
PUSH [E]
CALL 118
POP [F]
Where:
A = CALL enable / disable (0 = enable CALL 118 , 1 = disable CALL 118)
B = selection of destination file. The following values are valid:
0 = CLX input image file
1 = CLX MSG instruction
2 = internal string
3 = CLX input image file and internal string
4 = CLX MSG instruction and internal string
If using an internal string the BASIC program must monitor the second character
which contains the transaction number which is incremented at every successful
transaction (from 0 to 255)
C = word offset in destination file. The offset for an internal string is always 2,
because each string has the following structure:
If using the input image file as the destination file the offset should be 2
minimum, because the first 2 words are reserved.
D = string number . This parameter is only used if the destination file selected is
an internal string
E = maximum word length . Any packet received which contains more than this
parameter is rejected.
F = CALL 118 status. It can assume one of the following values:
0 = successful
1 = disabled
2 = invalid parameter
3 = DF1 port is not enabled
4 = selected DF1 port is not enabled
5 = string is not dimensioned