Publication 1763-RM001C-EN-P - October 2009
ASCII Instructions
337
Examples
For the following examples:
N7:0 = 25
N7:1 = -37
L9:0 = 508000
L9:1 = 5
.
ASCII Instruction Error
Codes
The following error codes indicate why the Error bit (ER) is set in the
control data file.
Valid in-line direction:
Input:
Flow rate is currently [N7:0] liters per minute and contains [L8:0] particles per liter
contaminants.
Output:
Flow rate is currently 25 liters per minute and contains 508000 particles per liter
contaminants.
Input:
Current position is [N7:1] at a speed of [L9:1] RPM.
Output:
Current position is -37 at a speed of 5 RPM.
Invalid in-line indirection:
Input:
Current position is [N5:1] at a speed of [L9:1] RPM.
Output:
Current position is [N5:1] at a speed of 5 RPM.
TIP
Truncation occurs in the output string if the indirection
causes the output to exceed 82 characters. The
appended characters are always applied to the output.
Error Code
Description
Recommended Action
decimal
hexadecimal
0
0x00
No error. The instruction completed successfully.
None Required.
3
0x03
The transmission cannot be completed because the
CTS signal was lost.
Check the modem and modem connections.
5
0x05
While attempting to perform an ASCII transmission, a
conflict with the configured communications protocol
was detected.
Reconfigure the channel and retry operation.
7
0x07
The instruction cannot be executed because the
communications channel has been shut down via the
channel configuration menu.
Reconfigure the channel and retry operation.
8
0x08
The instruction cannot be executed because another
ASCII transmission is already in progress.
Resend the transmission.
9
0x09
Type of ASCII communications operation requested is
not supported by the current channel configuration.
Reconfigure the channel and retry operation.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive