Getaloggedevent, Getbit, Getgwpointdisplay – Det-Tronics Mac - w/Supercard User Manual
Page 67: Xcmd's & xfcn's

XCMD's & XFCN's
4.3
This command gets an event that is in the log file. The count is from the
start of the file.
GetALoggedEvent(theLoggedEventNumber)
Example:
on openCard
put GetALoggedEvent(theNumber) into theString
end openCard
This command returns the state (1 or 0) of up to fifteen bits in the PLC.
The addresses that the operator requests the state of must be configured
in the “Datatable Configuration” window of the EagleVision™ applica-
tion.
This command returns the state (1 or 0) of any single bit in the PLC. The
address that the operator requests the state of must be configured in the
“Datatable Configuration” window of the EagleVision™ application.
Refer to the section on addressing for the correct format of the address.
GetBit(PLCNum,address)
Example:
on idle
if GetBit(27,”43073/1”) = 1 then
your command for “1” state
else
your command for “0” state
end idle
This command will display the point display window for the point request-
ed. The gateways are numbered 0 to 3. Point numbers are 1 to 250.
Several conditions must be met before the point display will be shown.
1. The “Gateway Address,” set from within the “Point Configuration”
window, must be non-zero.
2. “Hiway Polling” for the port of the connected gateway, set from
within the “Driver Settings” window, must be enabled.
3. The point must be configured.
GetGWPointDisplay(gateWayNumber,pointNumber)
Example:
on mouseUp
GetGWPointDisplay(0,24)
end mouseUp
G
ET
AL
OGGED
E
VENT
G
ET
B
IT
G
ET
GWP
OINT
D
ISPLAY
95-8434