Download 1766-RM001 - Rockwell Automation
Transcript
ASCII Instructions Chapter 21 • Channel is the number of the serial port being used, 0 or 2. • Control is the control data file. See page 313. • Characters are the number of characters in the buffer that the controller finds (0…1024). This parameter is read-only. • Error displays the hexadecimal error code that indicates why the ER bit was set in the control data file. See page 335 for error descriptions. Addressing Modes and File Types can be used as shown below: ACB Instruction Valid Addressing Modes and File Types For definitions of the terms used in this table see Using the Instruction Descriptions on page 68. Channel Control • Element Long Word • • • Word Address Level Bit Indirect Direct DLS - Data Log IOS - I/O CS - Comms LCD MMI BHI EII STI PTOX, PWMX HSC RTC PLS RI/RIX MG, PD L A ST F N T, C, R B S I Parameter O Address Mode Function Files Immediate Data Files(1) • (1) The Control data file is the only valid file type for the Control Element. Instruction Operation When the rung goes from false-to-true, the Enable bit (EN) is set. When the instruction is placed in the ASCII queue, the Queue bit (EU) is set. The Running bit (RN) is set when the instruction is executing. The Done bit (DN) is set on completion of the instruction. The controller determines the number of characters in the buffer and puts this value in the POS field of the control data file. The Done bit (DN) is then set. If a zero appears in the POS field, no characters were found. The Found bit (FD) is set when the POS filed is set to a non-zero value ACI - String to Integer ACI ACI String to Integer Source ST10:0 Dest N7:0 0< Instruction Type: output Execution Time for the ACI Instruction Controller MicroLogix 1400 Data Size When Instruction Is: True False word 6.5719 µs 0.2142 µs long word 7.1146 µs 0.1978 µs Use the ACI instruction to convert a numeric ASCII string to an integer (word or long word) value. Rockwell Automation Publication 1766-RM001F-EN-P - May 2014 323
Related documents
1766-RM001D-EN-P MicroLogix 1400
syslib-rm001 - Literature Library
Allen-Bradley 1794-IE8H Specifications
ENET-UM527 - Literature Library
UTT HiPER 518W Specifications
MicroLogix 1200 Programming Manual
Capacitor Bank Controller User Manual
- Rockwell Automation
ENET-AT002 - Rockwell Automation
MicroLogix 1400 Programmable Controllers
1762-RM001 - Rockwell Automation
1761-6.5, DeviceNet Interface User Manual