Abbreviated Controller Transmission Byte Format. RED LION CONTROLS P48, T48
Reklama
Reklama
Abbreviated Controller Transmission Byte Format
The abbreviated response suppresses the node address and register ID characters, leaving only the numeric part of the response. The numeric field is
5-6 characters long. If the decimal point is present, the field is 6 characters.
Negative values have a leading minus sign. The data field is right justified with leading spaces.The end of the response string is terminated with a carriage return <CR> and line feed <LF>. When print block transmission is finished, an extra <SP><CR><LF> is used to provide separation between the blocks.
Byte
1-6
10
11
7
8
9
Description
6 byte data field, 4 bytes for number, one byte for sign, one byte for decimal point
<CR>
<LF>
<SP>(Space). This character only appears in the last line of a print
block.
<CR> This character only appears in the last line of a print block.
<LF> This character only appears in the last line of a print block.
Example of Full Field Printout of Factory Settings
P48
INP 25.0
SET 0.0
PWR 47.8%
PBD 100.0%
INT 40S
DER 4S
AL1 0.0
AL2 0.0
DEV 25.0
OFP 0.0%
RMP 0.0R
CRG 1.0G
CDB 0.0
OST 0000
T48
TMP 87F
SET 0F
PWR 0.0%
PBD 4.0%
INT 120S
DER 30S
AL1 0F
AL2 0F
DEV 87F
OFP 0.0%
RMP 0.0R
CRG 1.0G
CDB 0F
RSP 0F
HCF 0.0A
OST 0101
-65-
Troubleshooting Serial Communications
If problems are encountered when interfacing the controller(s) and host device or printer, the following check list can be used to help find a solution.
1. Check all wiring. Proper polarity of all devices on the serial loop must be observed. Refer to previous application examples.
2. Check the controller’s communication format in module 6-SC. Make sure all devices on the serial loop are configured with the same communication format.
3. Check the requesting device constructed command string format.
4. When sending commands to the controller, an asterisk “*” or dollar sign
“$” must terminate the command. Make sure a carriage return or line feed does not follow the command terminator.
5. Check the controller’s unit address in module 6-SC. It should be zero if the address command is not used in the command string for single controller configurations. In multiple controller configurations, make sure each controller has a unique unit address.
6. Initiate transmissions from the controller by programming the User Input for PrNt in module 1-IN for print and programming module 6-SC at PoPt set INP (input) to YES. As long as the user input is connected to common, controller data will be sent.
7. With two-way communications or multiple controller configurations, make sure only one device is communicating at a time.
8. If all of the above has been done, try reversing the polarity of the serial wires at host device or printer. Some devices have reversed polarity.
Preuzimanje
Reklama