Allen bradley micrologix 1400 manual




















The Source value is not affected by this instruction. The controller uses the two masks to determine whether to set or reset the RTS control line, or leave it unchanged.

This status is read-only and resides in the. POS field in the control data file. The following shows how to determine the channel status value. In this example, the value is F. To repeat the operation, the rung must go from false-to-true.

The Termination characters are specified via the Channel Configuration screen. The maximum is 82 characters. If you specify a length larger than 82, only the first 82 characters are read and moved to the destination. Page Asc - String Search efesotomasyon.

If two strings are identical, the rung is true; if there are any differences, the rung is false. Address Function Files Address Level Page Ascii Instruction Error Codes efesotomasyon. D Valid in-line direction: Input: Flow rate is currently 48955 liters per minute and contains [L] particles per liter contaminants. The MicroLogix Controller also supports an extended character set decimal … However, the extended character set may display different characters depending on the platform you are using.

For a message to transmit, it must be scanned on a true rung of logic. When scanned, the message and the data defined within the message if it is a write message are placed in a communication buffer. See General Channel Status Block on page 64 for additional status information.

Page Msg - Message efesotomasyon. You may program the SVC instruction unconditionally across the rungs. This is the normal programming technique for the SVC instruction. Page The Message Element efesotomasyon.

The MG data file, shown at left, is accessed using the MG prefix. Each message instruction utilizes an element within a MG data file. When messaging This built-in timeout control is in effect whenever the message timeout is non-zero. It defaults to 5 seconds for channel 0, so unless you change it, the internal timeout control is automatically enabled.

An error code is written to the MSG File. The ER bit and the error code are cleared the next time the associated rung goes from false to true. At the next end of scan, REF, or SVC instruction, the controller determines if it should examine the communications queue for another instruction. Step 4 is not shown in the timing diagram.

If you do not receive an ACK, step 3 does not occur. Instead, either no response or a negative acknowledge NAK is received. When this happens, the ST bit remains clear 0. If the check box is unchecked, communication throughput and scan time will increase. Page Msg Instruction Ladder Logic efesotomasyon. Page Configuring A Local Message efesotomasyon.

If the target device supports any of these command types, the controller should be capable of exchanging data with the device. If the target device supports any of these Modbus command types, the controller should be capable of exchanging data with the device. Input, output, string, and RTC file types are not valid for read messages.

Page Modbus commands. The maximum timeout value is seconds. A valid address is any valid, configured data file within the target device whose file type is recognized by the controller. Page Local Messaging Examples efesotomasyon. When the message is sent, the address is decremented by 1 and converted into a 4-character hex number to be transmitted via the network with a range of 0-FFFFh ; Channel 0, Channel 1 or Channel 2 Communication Specifies the type of message.

A timeout of 0 seconds means that the controller waits indefinitely for a reply. Valid range is from 0… seconds. Since configuration options are dependent on which channel is selected, the programming software has been designed to only show the options available for the selected channel. Communication Command The controller supports seven different types of communication commands. If the target device supports any of these command types, the controller should be capable of exchange data with the device.

Page This variable defines the bridge address on the local network. The Link ID value is a user-defined number between 1 and 65, All devices that can initiate remote messages and are connected to the local network must have the same number for this variable. Select Module Configuration by clicking with the left mouse button. If no routing table has been created the following should appear. Right click on the Backplane and left click on Edit Module. Make sure that the Back plane Link ID is set to Click on the MultiHop tab.

Page DH message. Add a new group: 3. The Generic Message via Network Configuration is shown below. Also the size of bytes receive or send is the length of service data to be sent or received in the message.

Page Msg Instruction Error Codes efesotomasyon. No IP address configured for the network, or Bad command - unsolicited message error, or Bad address - unsolicited message error, or No privilege - unsolicited message error, or Multihop messaging cannot route request To change Ethernet Channel Configuration, you must enter the characters for the configuration parameter.

Page Ethernet communication channel 1 of the MicroLogix If this check box is checked, SMTP configuration page will be appeared. There are several Authentication methods; login, plain, cram-md5, and etc.

But, MicroLogix supports only the login method. Base64 encoding is used to login to SMTP server. Page Chapter 23 Overview efesotomasyon. The application protocol determines the exact sequence of application transactions. Service Timeouts You must specify a Timeout parameter in milliseconds for any service that might not complete immediately OpenConnection, AcceptConnection, Read, and Write. Page Programming Considerations efesotomasyon.

Any others are Non-Executing modes. If the MicroLogix controller transitions from Executing to Non-executing mode while socket requests are active, all connections are closed and all instances are deleted. Page Socket Object Services efesotomasyon.

This fragment of Structured Text logic shows an example of handling a partial Read service. The application data is sent out as it is. The service returns an instance number that you use in the subsequent socket operations. Call the CreateSocket service with instance 0 Socket object class.

Parameter Value Service Type You can specify a number of bytes to receive. The Read service returns the number of bytes received. For TCP, the Read service returns when any data is received, up to the requested number of bytes. Connectionless UDP messages may use the address stored in the open connection service. If the recipe number is invalid, a user fault code is generated. Right-click and select New. Create a RCP File. Create the following ladder logic.

Within this memory, you can define up to 0… data logging queues. Each queue is configurable by size maximum number of records stored , and by length each record is 1… characters.

ACC 2 bytes I The following table can be used to determine the formatted string length. Queues 1. Open a MicroLogix application. The first step in using Data Logging is to configure the data log queue s. Separator Character Choose the character to act as the separator for the data in this queue tab, comma, or space. The DLG instruction triggers the saving of a record. Page Data Log Status File efesotomasyon.

The DLS file does not exist until a data log queue has been configured. The Data Log Status file has 3-word elements. This bit is set 1 by the DLG instruction when a record is overwritten. Once set, the OV bit remains set until you clear 0 it. Page Retrieving Reading Records efesotomasyon. Page Accessing The Retrieval File efesotomasyon.

Accessing the Retrieval You can use a dedicated retrieval tool or create your own application. File Tpe Ele. For more information on writing a DF1 protocol, refer to Allen-Bradley publication LCD Overview Through the embedded LCD, your MicroLogix lets you monitor bit, integer and long integer data within the controller, and optionally modify that data, to interact with your control program.

Similarly to the optional Page Lcd Function File efesotomasyon. Up to two lines of up to 12 characters each can still be sent to the LCD for display, but the third line, in this mode, is used to obtain numeric input from the user. By setting this bit to ON 1 , you can let your controller display LCD instructions or get keypad inputs from the user at power-up, without additional operations.

Page 1 ERR bit. This means a Trimpot range error has occurred at program download. This bit should be cleared so as to get the next key input. Because once ESC key is pressed, this bit is set and latched until it is cleared by manually. The list shows the memory usage and instruction execution time for each instruction. Execution times using indirect addressing and a scan time worksheet are also provided.

Page None MicroLogix Indirect Addressing The following sections describe how indirect addressing affects the execution time of instructions in the MicroLogix processor. The timing for an indirect address is affected by the form of the indirect address. In this example, a program scan time of This is done by using the status file to set up control bits and monitor both hardware and programming device faults and other status information.

Page Status File Details efesotomasyon. The state of these bits remains in effect until the next math, logical, or move instruction in the program is executed. Otherwise the bit remains cleared 0. See also:LE - Load on Error on page It cannot be accessed via communications such as a Message instruction from another device.

Page Free Running Clock depends upon which controller you are using. Page 1. This pinpoints the conditions in the application that caused the Suspend mode. Page Identifying Controller Faults efesotomasyon.

Page Routine on page for information on creating a user fault subroutine. Fault Messages This section contains fault messages that can occur during operation of the MicroLogix programmable controller. Each table lists the error code description, the probable cause, and the recommended corrective action. Page Communication Protocol efesotomasyon. It also helps you Protocol plan and operate the controller on a DH network.

DH Network Description The DH protocol defines the communication between multiple devices that coexist on a single pair of wires. No acknowledgement or reply is returned. Unnecessary nodes such as a second programming terminal that is not being used slow the data transfer rate. The maximum number of nodes on the network is Page All devices should be set to the same maximum node address.

DF1 is an open protocol. Page Df1 Half-Duplex Protocol efesotomasyon. In contrast to the DF1 Full-Duplex protocol, Protocol communication takes place in one direction at a time.

This second use is based on the supposition that if a slave station did not respond the last time it was polled, it may not be able to receive and respond to a MSG instruction now, and so it would most likely process the maximum number of retries and time-outs before completing in error. The address range is 0…, so you can have a maximum of stations on a single telemetry network. Once the read or write command has been transmitted, the master waits the Reply MSG Timeout period and then polls that slave for a reply to its command.

Page Channel 0 in MicroLogix Channel configuration appears as follows. Figure shows Channel 0 configuration. Packets received that originate from the receiving node should never be re-transmitted. Note 2 — Page Modbus Rtu Protocol efesotomasyon. Yes, with certain limitations imposed based on the radio modem network.

To set up Channel 0 and data files for Modbus communication, select the Channel 0 Configuration tab. Memory Parity Error The slave attempted to read extended memory, but detected a parity error in the memory. Page Ascii Driver efesotomasyon. Page Ethernet Driver efesotomasyon. Valid range is 0… Stop Bits 1,5,2 Data Bits Network Link 0… Bootp Enable enabled, disabled 1 enabled Check this box to enable Bootp. If enabled, this causes the processor at power up to try to obtain its network-related parameters IP address, subnet mask, gateway address, etc.

If the Response packet size is larger than this value, the MicroLogix fragments the Response packet. Page The valid range is 0… Default value is 0. Number of Class1 Events If the MicroLogix is configured not to initiate Unsolicited Response, this parameter used to limit the maximum number of events which is generated and logged into the event buffer for Class 1 events.

In this case, value 0 will disable to generate the event. The number of elements defined for each of those data table files also defines the number of corresponding DNP3 objects. Page The valid range is 0… 2 hrs. Default value is 30 mins. This parameter is used for configuring the reply timeout in msec. The valid range is 0… s. Default value is 20 2 s. The diagnostic file number is used to store the diagnostics for the troubleshooting of DNP3 Secure Authentication subsystem.

The value of this parameter is N file only. Valid range is 0, 7, 9 to This function code is used for clearing bit IIN1. The copied value remains constant until the next freeze operation to the same point. This applies only to the MicroLogix Series B controller.

This applies only to MicroLogix Series B controllers. For more details, see Diagnostics. MicroLogix Data Files Page MicroLogix controller, but are similar. These configuration files allow you to configure parameters such as Class level and Object Flag bit information for each element. Only a Binary Data file type can be used for configuration file. Page The upper byte of the configuration file of these objects is used to configure the object flag.

Other bits are reserved. Two new bits are defined in MicroLogix Series B controllers. The bit TE is used to generate an event by setting it regardless of the change of state. The bit DCE is used to suppress the events by the change of state. The MicroLogix responds with the default group and variation when the DNP3 Master requests to read the object with all variations. Page If this bit is set, the Online bit in the status flag of each Binary Output points is set when you read Binary Output Status objects.

They are Activation model, Complementary latch model and Complementary two-output model. Default Class Level is 0. Any other bits are reserved. So, in the example below, for As an example, an Analog Input Config File is shown below. These files have 10 elements each. When only one of the Analog Output Object File is configured, Index number starts from 0 for the configured object.

To access the objects 41 AOB , the controller mode should be in Executing mode. These object groups and variations are supported. Double-click an element to edit it. Page Once this parameter is set by the ladder logic or communications, the MicroLogix clears it automatically after generating an event at the end of scan. This parameter is Double-click each element to edit it. When these values are configured properly according to the supported data files, the MicroLogix responds with a g87v1 object filled with the value in the data file.

The following table shows the supported data files for the Point Addressing. The tables below show Flag Descriptions for each object. The rules below are also applied to Event data. With the MicroLogix , some of the variations are written so that you can Object read or write your own strings in your application.

The supported range of the variation is … Page Event data type. With Series B controllers, a Data Set event can consume multiple numbers of the event buffers. Further events are not logged until the logged events are reported to DNP3 Master and the buffer is available.

You need to adjust the number of the elements for each file according to your application. For any other Binary Input points, the events will not be generated. For any other bit Analog Input points, the events will not be generated. The key method to turn on and off event generating by ladder logic is to assign or un-assign the Class information bits in the Object Config Files.

The feature of the configuration files replaces the ladder program in this section. Master Node0 in Channel 0 Configuration tab indicates that the Unsolicited Response is reported to the Master with the node address 3.

Another timer, incremented by 1 millisecond in the DNP3 Slave subsystem, serves to provide appropriate resolution. This is the file to be used for download. IMG files. RSS format before However, some information is not stored into the IMG file, for example, rung comments. Maximum file size is Kbytes. The MicroLogix supports downloading up to Kbyte size of user program when Recipe is not configured. When Recipe is configured, Maximum file size is Kbytes.

The MicroLogix supports uploading of user programs up to Kbyte in size when Recipe is not configured. If the controller is in a fault mode, the MicroLogix clears the fault before changing the mode to Remote Program. The data file is configured in the parameter This table shows the 80 words of the data file for the troubleshooting.

MicroLogix should not be in the executing mode and any program and files should not be in open state. Any functionality beyond the highest subset level supported is indicated by grayed table cells. Connections are made directly from the Connections to the MicroLogix to an Ethernet hub or switch. The network setup is simple and Ethernet Network cost effective. Typical network topology is pictured below. Page Ethernet Connections MicroLogix to enable the MicroLogix to receive solicited messages from a client program or another processor.

In order to send an outgoing message, the MicroLogix must first establish a connection with the destination node at a specified IP address on the Ethernet network. Page Duplicate Ip Address Detection IP address assigned to this device does not match the address of any other network device. The MicroLogix will check every 2 minutes for a duplicate IP address on the network.

If the MicroLogix determines that there is a conflict another device on the network with a matching IP address , the following message gets posted on the LCD display. The maximum length is 63 characters. The range is 0… Double-click on the hardware address of the device you want to configure. Page Glossary The following terms are used throughout this manual. Page Glossary controller A device, such as a programmable controller, used to monitor input devices and control output devices.

Page Glossary high byte Bits 8 to 15 of a word. General term for digital circuits and programmed instructions to perform required decision making and computational functions. Page Glossary normally closed Contacts on a relay or switch that are closed when the relay is de-energized or the switch is deactivated; they are open when the relay is energized or the switch is activated. Page Glossary online Describes devices under direct communication. For outputs, the allowable range of user-supplied voltage.

Page Glossary read To acquire data from a storage place. For example, the processor READs information from the input data file to solve the ladder program. Page Glossary scan time The time required for the controller to execute the instructions in the program. Page Glossary workspace The main storage available for programs and data and allocated for working storage.

Page Index reporting event by polled response reporting event by unsolicited response performance reserved bit Ethernet processor restore planning considerations for a network retentive data power considerations RS input states on power down 12 RS communication interface isolation transformers 11 RS communication interface Page Rockwell Automation Support Rockwell Automation provides technical information on the Web to assist you in using its products.

Print page 1 Print document pages. Rename the bookmark. Delete bookmark? Cancel Delete. Delete from my manuals? Sign In OR. Don't have an account? Sign up! Distributor Distributor. Contact a Distributor. Case Study. Learn More. Water Wastewater. Automation for Water Treatment and Distribution Systems.

Learn more. Product Selection. Download Download. Looking for Additional Information?



0コメント

  • 1000 / 1000