Settablestate, Setword, Setzonestate – Det-Tronics Mac - w/Supercard User Manual
Page 76

S
ET
T
ABLE
S
TATE
S
ET
W
ORD
S
ET
Z
ONE
S
TATE
4.12
This command will set the changed bit of the datatable requested.
SetTableState tableNumber
Example:
on openCard
SetTableState 3
end openCard
See command GetTableData
This command sets the value (–32768 to 32767) of any single word in the PLC.
Refer to the section on addressing for the correct format of the address. This com-
mand can set any word to a value, in any PLC assessable on the network that is
not protected. The ports are numbered as follows:
Modem
0
Printer
1
not used for this command
Port 1
2
if you have a multi-port board
Port 2
3
these numbers apply
Port 3
4
Port 4
5
SetWord PLCNum,portNum,address,theValue
Example:
on mouseUp
SetWord 27,3,”43075”,227
end mouseUp
This command will set the changed bit of the zone requested.
SetZoneState zoneNumber
Example:
on openCard
SetZoneState 3
end openCard
See command GetZoneState
95-8434