Ladder programs may be generated offline, and loaded into the PLC at a later date.
When programming ladder logic, the ladder is programmed one line at a time. A new blank line may be inserted using the Insert Line command. The line is then built up by adding individual ladder elements to the line, one at a time. These elements are selected from the element palette by clicking on the icon denoting the element required, and then moving the mouse to the position in the line the element is to be added, and clicking the mouse again. Using the keyboard, first position the cursor at the place in the line where the new element is to be added. Next select the palette tab the element is located on (this is done by pressing the underlined letter on the palette tab header, which causes the selected palette to be displayed), and then press the key (F2..F12) designated for the required element. A dialog will appear requesting element operands, if the element device requires addresses to be entered.
If an output instruction is added before the end of the line, it will be automatically placed at the end of the line, with straight line connections put before it.
Straight lines are drawn (including vertical branch lines), by holding down the Ctrl key, and then pressing the Up/Down/Left/Right keys. Straight lines may be deleted by holding down the Ctrl and Alt keys, and then pressing the Up/Down/Left/Right keys.
To insert a blank column in a line, use Ctrl + Ins. To delete a column use Ctrl + Del.
To insert a blank row in a line, use Alt + Ins. To delete a row use Alt + Del.
To delete an element, position the cursor in front of the element, and then press the Ctrl key and the left arrow key. Also an element may be deleted by simply overwriting it with another element.
Pressing the Esc key will abort the current edits, and return the line to it’s initial state.
A line will be checked when the cursor is moved to another line. If the line is not valid (eg spaces in the line etc), the cursor will return to the current line, an error message will be displayed on the status line at the bottom of the screen, and the buzzer will emit a beep.
A line may be deleted by using the Delete line command.
The Cut , Copy , and Paste instructions may be used to edit either complete or partial lines. To select complete lines of ladder, hold down the shift key and then use the arrow keys to move from one line to another. To select partial lines, hold down the shift and alt keys, and use the cursor keys to move over the area of the line required for cutting / copying.
โปรแกรมบันไดอาจถูกสร้างขึ้นออฟไลน์และโหลดลงในแอลซีในภายหลัง.
เมื่อโปรแกรมตรรกะบันไดบันไดเป็นโปรแกรมหนึ่งบรรทัดในเวลา บรรทัดว่างใหม่อาจจะแทรกการใช้บรรทัดคำสั่งแทรก เส้นที่ถูกสร้างขึ้นแล้วขึ้นโดยการเพิ่มองค์ประกอบบันไดแต่ละเส้นหนึ่งที่เวลาองค์ประกอบเหล่านี้จะถูกเลือกจากจานองค์ประกอบโดยคลิกที่ไอคอนแสดงถึงองค์ประกอบที่จำเป็นและจากนั้นเลื่อนเมาส์ไปยังตำแหน่งในบรรทัดองค์ประกอบที่จะต้องเพิ่มและคลิกเมาส์อีกครั้ง โดยใช้แป้นพิมพ์ตำแหน่งแรกเคอร์เซอร์ในสถานที่ที่อยู่ในแนวที่เป็นองค์ประกอบใหม่ที่จะเพิ่มต่อไปเลือกแท็บจานธาตุตั้งอยู่บน (นี้จะกระทำโดยการกดตัวอักษรที่ขีดเส้นใต้ส่วนหัวแท็บจานซึ่งเป็นสาเหตุของจานสีที่เลือกที่จะแสดง) แล้วกดปุ่ม (f2. . F12) กำหนดไว้สำหรับการที่จำเป็น ธาตุ โต้ตอบจะปรากฏขอตัวถูกดำเนินการองค์ประกอบหากอุปกรณ์ขององค์ประกอบต้องมีที่อยู่ที่จะป้อน.
ถ้าคำสั่งการส่งออกจะเพิ่มก่อนปลายสายก็จะถูกวางไว้โดยอัตโนมัติเมื่อสิ้นสุดของบรรทัดที่มีการเชื่อมต่อเป็นเส้นตรงก่อนที่จะใส่.
เส้นตรงที่วาด (รวมถึงสาขาบรรทัดแนวตั้ง), โดยถือลง ปุ่ม Ctrl แล้วกดขึ้น / ลง / ปุ่มซ้าย / ขวา เส้นตรงอาจถูกลบโดยถือลงปุ่ม CTRL และ ALT,แล้วกดขึ้น / ลง / ซ้าย / ปุ่มขวา.
แทรกคอลัมน์ว่างในเส้นใช้ Ctrl-ins ที่จะลบคอลัมน์การใช้งานกดปุ่ม CTRL แล้วเดล.
_
ที่จะแทรกแถวว่างแถวในบรรทัด, ใช้ ins ที่เอแอลที ที่จะลบแถวการใช้งานเอแอลทีเดล.
_
ไปยังลบองค์ประกอบตำแหน่ง, เคอร์เซอร์ในด้านหน้าขององค์ประกอบ, และจากนั้นกดปุ่มปุ่ม Ctrl และที่สำคัญที่ลูกศรที่ทางด้านซ้ายนอกจากนี้ยังองค์ประกอบอาจถูกลบออกโดยเพียงแค่การการเขียนทับมันด้วยความเป็นอีกหนึ่งปัจจัย.
_
การกดปุ่ม ESC อยู่ทางจะยกเลิกในปัจจุบันคือคมชะตาของ, และกลับเส้นไปยังรัฐที่เริ่มต้นมัน 's.
_
เส้นจะถูกตรวจสอบเมื่อเคอร์เซอร์จะถูกย้ายไปสายอื่น . ถ้าเส้นไม่ได้เป็นถูกต้อง (ช่องว่าง e กรัมใน ฯลฯ เส้น), เคอร์เซอร์จะกลับไปยังบรรทัดปัจจุบัน,ข้อความข้อผิดพลาดจะปรากฏบนบรรทัดสถานะที่ด้านล่างของหน้าจอและกริ่งจะเปล่งเสียงบี๊บ.
สายอาจถูกลบโดยใช้บรรทัดคำสั่งลบ
ตัดคัดลอกและคำแนะนำวางอาจจะใช้ในการแก้ไขเส้นทั้งสมบูรณ์หรือบางส่วน เพื่อเลือกเส้นที่สมบูรณ์ของบันไดค้างไว้ปุ่ม Shift แล้วใช้ปุ่มลูกศรเพื่อย้ายจากที่หนึ่งไปยังอีกเส้นเพื่อเลือกเส้นบางส่วน Shift ค้างไว้และปุ่ม ALT และใช้ปุ่มเคอร์เซอร์จะย้ายไปทั่วพื้นที่ของสายที่จำเป็นสำหรับการตัด / คัดลอก
การแปล กรุณารอสักครู่..
![](//thimg.ilovetranslation.com/pic/loading_3.gif?v=b9814dd30c1d7c59_8619)