Software Interface
2-7
2.3.3
The
status-code word continuously reports status and error information to
the PLC. All error bits are checked prior to starting a cycle. See T
able 2-3.
For example, WX3 = binary value 1
100 0000 0000 0000 indicates that the
module is in the run mode and is running a profile. The I/O mapping and
scaling feature allows a larger selection of devices to be interfaced to a
module. Download table locations 257 through 283 specify required
parameters. WX3 bit 9 has been defined to denote if any of these
parameters are invalid. If bits 1 through 8 of WY8 are set, and any entries
are invalid, the module exits RUN mode.
T
able 2-3
WX3 = Status Codes
(16-Bit Word)
Bit 1(MSB)
Bit 16(LSB)
Cycle Complete Code
[.... .... .... ...1] Illegal
V
-memory pointer in WY5 or WY6
(pointers are out of bounds)
[.... .... .... ..1.] Illegal
V
-memory pointer in WY5 or WY6
(pointers overlap)
[.... .... .... .1..] Clamp
closure profile data error *
[.... .... .... 1...] Injection
profile data error *
[.... .... ...1 ....] Pack
and hold profile data error *
[.... .... ..1. ....] Plasticate
profile data error *
[.... .... .1.. ....] Clamp
opening profile data error *
[.... xxxx 1... ....] Error
bit for mapping and scaling
[..00 .... .... ....] Output
configuration 1
[..01 .... .... ....] Output
configuration 2
[..10 .... .... ....] Output
configuration 3
[..11 .... .... ....] Reserved
[.1.. .... .... ....] Defaults
to 1 (reserved)
[1... .... .... ....] Profile
execution in progress
* Data
is out of bounds or data is out of sequence
(for
active profiles
only).
NOTE:
T
o clear any of the above errors, force the first 5 bits of word WY8 to
zero, then enter a new run command.
WX3 = Status
Codes