![]()
Home | Contact Us | Submit Troubleshooting Info | Search | Help
Output | Software Solutions | Proofing | Color, Screening and Calibration | Scanning | Digital Photography | Consumables | POS
scan <I/O
name> commandUsing the scan <I/O name> command | Interpreting sensor I/O bit states
scan <I/O name> commandThe scan
<I/O name> command can be used to display the state of any
unique sensor I/O point if the full I/O name is entered for <I/O name>, or
all I/O points matching the <I/O name> text up to the number of characters
entered.
For example, the command scan car (carriage)
displays information for all of the following I/O bit names...
CAR_&SensorAwaySide CAR_&SensorHomeSide CAR_SensorAwaySide CAR_SensorHomeSide
...and the command scan car_SensorAwaySide displays only information about the carriage away side sensor I/O.
The letters before the underscore character in the I/O name (CAR
in the examples above) represent the machine system in which the I/O bit or
group is used. Some other examples include...
LEC_SensorHomeSideUp
LR_SensorOutBottom
EDR_SensorClosed
RLR_SensorHomeSideDown
TEC_SensorHomeSideUp
AI_BallScrewTemp
...where LEC = leading edge clamp, LR
= load ramp, EDR = exit door, RLR = roller, TEC
= trailing edge clamp, and AI = analog input.
For more MCE sensor I/O names, see the MCE Sensors page.
Here are some more useful scan commands:
scan bstatus |
Shows every I/O currently bypassed |
scan groups |
Shows all I/O groups |
scan presence |
Shows all presence bits |
scan <I/O name> bon |
Bypasses the sensor I/O (bon
= bypass on) |
scan <I/O name> boff |
Enables the sensor I/O (boff
= bypass off) |
scan bits |
Displays all of the available I/O bits (including those that are unused on a particular output device) |
Digital outputs: When the scan command is issued, the I/O
scanner reports the state of not only the sensor inputs, but also the states of
the digital outputs used to control actuators. For example, the RLR digital
outputs tell the plate roller to go up or down by setting the digital output to
0 (off) or 1 (on). When the scan RLR command is issued, the states of the
digital outputs are displayed along with the states of the sensor inputs:
MCE>> scan RLR
Bit Name State Group Bit Mask
RLR_&SensorAwaySideOn 1 b DI_Group0 00000004h
RLR_SensorAwaySideOn ~0 b DI_Group0 00000008h
RLR_&SensorAwaySideOff 1 b DI_Group0 00000100h
RLR_SensorAwaySideOff ~1 b DI_Group0 00000200h
RLR_&SensorHomeSideOn 1 b DI_Group1 00000004h
RLR_SensorHomeSideOn ~0 b DI_Group1 00000008h
RLR_&SensorHomeSideOff 1 b DI_Group1 00000100h
RLR_SensorHomeSideOff ~1 b DI_Group1 00000200h
RLR_DriveHomeSideOn 0 b DO_Group0 00000040h
RLR_DriveHomeSideOff 1 b DO_Group0 00000080h
RLR_DriveAwaySideOn 0 DO_Group0 00004000h
RLR_DriveAwaySideOff 1 DO_Group0 00008000h
*** Command Complete
The text below is a sample of the information reported by the firmware after
the scan <I/O name> command is issued.
MCE>> scan car Bit Name State Group Bit Mask CAR_&SensorAwaySide 1 b DI_Group0 00000400h CAR_&SensorHomeSide 1 b DI_Group1 00000400h CAR_SensorAwaySide ~0 DI_Group3 00000001h CAR_SensorHomeSide ~0 DI_Group3 00000010h *** Command Complete
For the purposes of field service diagnostics, the information of interest in the above display is under the Bit Name and State columns. The table below describes the location and meaning of several of the characters used to present
| Character | Location (column) | Description |
|---|---|---|
& |
Bit Name | Indicates that the bit (under the Bit Name column) is a presence bit. Not all sensors have a presence bit. |
0
or 1 |
State | Indicates either
• Presence detect signal state: 0 = presence not detected 1 = presence detected or • Sensor I/O read-back state: 0 = sensor does not detect what it's looking for (example: carriage at home side limit) 1 = sensor detects what it's looking for |
~ |
State | Indicates that the signal is
inverted in firmware. In other words, the absence of an electrical
or optical signal at the sensor I/O signifies the presence of the
thing the sensor is looking for, and vice versa.
Example: Bit
Name State
In this case, the home carriage sensor is blocked (i.e., the I/O scanner does not detect a read-back signal), and this indicates that the carriage has been detected at the home side limit. |
b |
State | Indicates that the sensor is bypassable |
x |
State | Indicates that the sensor is
bypassed. Example:
Bit
Name State
In this case, the presence detect I/O of the home side carriage
sensor is bypassed. |
* |
State | Indicates that the I/O is not
scanned. For example, a base Trendsetter does not have a plate stacker, so
the scan DL (or scan bits) command displays
the following:
Bit
Name State Group Bit
Mask
|
Here are some more examples of the I/O bit states that would be reported
under various conditions after the scan car command is issued:
Home side and away side carriage sensors' presence signal is detected; carriage is between the home and away side limits:
MCE>> scan car Bit Name State Group Bit Mask CAR_&SensorAwaySide 1 b DI_Group0 00000400h CAR_&SensorHomeSide 1 b DI_Group1 00000400h CAR_SensorAwaySide ~0 DI_Group3 00000001h CAR_SensorHomeSide ~0 DI_Group3 00000010h *** Command Complete
Home side and away side carriage sensors are both disconnected or cables are damaged:
MCE>> scan car Bit Name State Group Bit Mask CAR_&SensorAwaySide 0 b DI_Group0 00000400h CAR_&SensorHomeSide 0 b DI_Group1 00000400h CAR_SensorAwaySide ~0 DI_Group3 00000001h CAR_SensorHomeSide ~0 DI_Group3 00000010h *** Command Complete
Note that the read-back state of the CAR_SensorAwaySide and CAR_SensorHomeSide I/Os are shown as zero, but this is irrelevant, because the sensors are disconnected.
Home side and away side carriage sensors are both connected properly; carriage is at the home side limit:
MCE>> scan car Bit Name State Group Bit Mask CAR_&SensorAwaySide 1 b DI_Group0 00000400h CAR_&SensorHomeSide 1 b DI_Group1 00000400h CAR_SensorAwaySide ~0 DI_Group3 00000001h CAR_SensorHomeSide ~1 DI_Group3 00000010h *** Command Complete