
Real Time Automation, Inc.
44
1-800-249-1612
Printer Port Status
UsbStatus
- Indicates if there are any printer errors like paper empty when dealing with USB printer
devices (Class 7 only). This Status will match the USB Port 0/1 Status on the diagnostics page and main
page for each USB device connected to a printer.
The UsbStatus is a diagnostics variable already defined in the 460 gateway. For this example, the other
protocol in the gateway is the Allen-Bradley PLC. As you can see from the picture below, the UsbStatus
for ASCII Device 1 is mapped to a PLC tag called USB_Status. The data type of this tag is an Int32 to
match the data type of UsbStatus. The tag USB_Status will now hold the printer status of ASCII Device 1.
Application Use:
This is particularly useful if you wish to see the printer status from the other protocol
connected to the gateway. Description of value is listed below:
24 = Printer: No Error, Selected, Paper Available
16 = Printer: Error
–
Check Printer, Selected, Paper Available
56 = Printer: No Error, Selected, No Paper
Note:
Some USB printers may not always be able to determine this information. In this case, they should
return benign status of “Paper Not Empty”, “Selected”, and “No Error”.
Содержание 460BSUSB-N70U
Страница 19: ...Real Time Automation Inc 19 1 800 249 1612 ...