Operation Manual
25
5. Using Excel as DDE Client
In addition to the standard DDE expression described in the previous page, the following DDE
data monitoring is possible.
(1) Bit position designation for a register Tag
Bit on/off status of a register Tag can be monitored by using the following expression.
Plcsrv|T!TAG name.n
For example)
Plcsrv|T!Reg2.5
←
If the Tag (Reg2) is RW100, this expression shows bit-5 status of
RW100.
Applicable register types are XW, YW, RW, SW, LW, and W.
Display format is fixed to INT (0 or 1).
This method is useful when using the continuous address designation.
(2) PLC status monitor
The PLC status can be monitored by using the following expression.
PLC operation mode:
Plcsrv|T!PLC name.mode
This DDE function gives the following data according to the PLC current operation mode.
1 = HALT, 2 = RUN, 3 = RUN-F, 4 = HOLD, 6 = ERROR
Display format is fixed to INT.
PLC status:
Plcsrv|T!PLC name.sts
This DDE function gives the sum value of the following data according to the PLC current
status.
16 = Memory protect, 64 = Diagnostic display request, 128 = Constant scan delay
2048 = Battery alarm
Display format is fixed to INT.
Bit position: n = 0 to F
Summary of Contents for T-PSV
Page 37: ...36 DDE Server T PSV ...