
Chapter
Using BASIC Module Statements
7
7 -6
Use these calls when you have PRT2 port configured for DF1 protocol.
Important: CALL 108 must be used before any standard or background
DF1 calls.
Important: CALLs 29, 118, 122 and 123 are for background operation.
Do not attempt to execute standard DF1 calls while background calls are
enabled and active. Invalid data transfers could result.
Statement Page
ONDF1
11 -22
CALL 16 enable/disable DF1 packet interrupt 12 -10
CALL 29 read/write to PLC/SLC from module internal string 12 -18
CALL 108 enable DF1 driver communications 13 -38
CALL 113 disable DF1 driver communications 13 -47
CALL 114 transmit DF1 packet 13 -48
CALL 115 check DF1 status 13 -49
CALL 117 get DF1 packet length 13 -51
CALL 118 PLC/SLC unsolicited writes 13 -52
CALL 120 clear BASIC module input and output buffers 13 -57
CALL 122 read remote DF1 PLC data file 13 -58
CALL 123 write to remote DF1 PLC data file 13 -66
Use these calls to perform background operations while the BASIC module
is executing a program.
Statement Page
CALL 16
enable/disable DF1 packet interrupt 12 -10
CALL 33 transfer data from PRT1/PRT2 to BTR buffer 12 -23
CALL 34 transfer data from BTW buffer to PRT1/PRT2 12 -29
CALL 49 read remote DH-485 SLC data file 12 -44
CALL 50 write to remote DH-485 SLC data file 12 -50
CALL 118 PLC/SLC unsolicited writes 13 -52
CALL 122 read remote DF1 PLC data file 13 -58
CALL 123 write to remote DF1 PLC data file 13 -66
DF1 Protocol
Communication
Background Operations
Commentaires sur ces manuels