![Omron NS - Скачать руководство пользователя страница 601](http://html1.mh-extra.com/html/omron/ns/ns_programming-manual_743537601.webp)
Section 4 Using Functions
4-1 Application
4-10
NS Series Programming Manual
1. Register an ON/OFF Button on the screen with the following settings.
Switch label for address ON/OFF
Select.
OFF – label
Transporting
ON – label
Transport completed
Address
PLC bit number used to change characters.
Control flag
Disable input (When operation not required.)
N
N
N
o
o
o
t
t
t
e
e
e
♦
Image data (BMP or JPEG files) cannot be specified for labels.
Example 2:
To indicate on the screen the position of the driverless transport vehicle based on the
value (0 to F) in the PLC word that indicates the position of the vehicle.
NS-series PT
PLC
Bit
Transport
completed
Transporting
1. Create a bit map (object) for the vehicle position for 0.
Display file:
Specify BMP file name for vehicle.
2. Create a word lamp outside the screen.
Address:
PLC address that indicates the vehicle position (HOST:00000 in this example.)
Macro – when changing
value:
Select.
Macro contents:
READCMEM ($W0, [HOST:00000], 1);
IF($W0==0)
MOVEPARTS(1,600,100);
ENDIF
←
When display position for 0 is (600,100).
IF($W0==1)
MOVEPARTS(1,500,100);
ENDIF
←
When display position for 1 is (500,100).
…
IF($W0==15)
MOVEPARTS(1,700,200);
ENDIF
←
When display position for 15 is (700,200).
($W0 is used as a work area.) When ID for bit map (object) created in step 1 is 1.
Содержание NS -
Страница 2: ......
Страница 12: ...Contents vi NS Series Programming Manual...
Страница 46: ...Section 1 Overview 1 5 Procedure before Operation 1 33 NS Series Programming Manual...
Страница 590: ...Section 3 Using PTs 3 12 Function Key Settings NS15 Only 3 35 NS Series Programming Manual...
Страница 604: ...Section 4 Using Functions 4 1 Application 4 13 NS Series Programming Manual...
Страница 640: ...Section 5 Troubleshooting and Maintenance 5 2 Error Messages 5 35 NS Series Programming Manual...
Страница 680: ...Appendices Appendix 6 Additional NS Series Functions A 39 NS Series Programming Manual...
Страница 682: ......
Страница 683: ......