
Chapter 4
Basic Programming Techniques
4-10
Quick Reference Guide to the 1785-OSI Commands
Command: Can
abbreviate to:
Syntax:
Examples:
OPEN
1 character,
upper or lower
case
OPEN <connection> TO <AE_name>
Special Note:
AE names can be in either single or double quotes.
open :c16 to 'parts_bin_4'
OP :C9 T "PARTS_BIN_14"
CLOSE
1 character,
upper or lower
case
CLOSE <connection>
CLOSE :c7
clo :c99
ABORT
1 character,
upper or lower
case
ABORT <connection>
Special Note:
The preferred method for terminating connection is the CLOSE
command.
AB :c6
abor :C66
DEFVAR
3 characters,
upper or lower
case
DEFVAR <connection><remote_symbol> to <remote_address>
Special Note:
MMS named variables must be in single quotes and address strings
must be in double quotes.
DEFVAR :C8'WELD_28' TO "T4:16"
def :c1'machine_44' to "t9:15"
DELVAR
3 characters,
upper or lower
case
DELVAR <connection><remote_symbol>
Special Note:
MMS named variables must be in single quotes.
DELVAR :C77'BIN_19'
delv :c2'liquid_vat_#22'
SET
1 character,
upper or lower
case
SET <destination> = <source>
READING:
set 'station_5' = :c4'parts'
SE "T4:3" = :C100'STATION_6'
Special Note:
When reading data, the connection identifier directly preceeds the
source. When writing data, the connection identifier directly preceeds the destination.
WRITING:
set :c1"f9:8" = :c'mach_12'
S :C77'PLATFORM_6' = "N7:90"
UINFO
2 characters,
upper or lower
case
UINFO <source> to <connection>
uinfo 'temp_3' to :c35
UI "T4:0.ACC" T :C5
USTAT
2 characters,
upper or lower
case
USTAT TO <connection>
USTAT TO :C33
ust t :c1
MOVE
1 character,
upper or lower
case
READING:
MOVE TO <destination> FROM <connection><source> or
MOVE FROM <connection><source> TO <destination>
Special Note:
You can switch the placement of the qualifiers within this command
line. As long as you place the <destination> directly after the TO qualifier, and the
<connection><source> directly after the FROM qualifier.
READING:
M T 'TIMER_1' FR :C1'TIMER_4'
mov to "n12:1" f :c7'station_99'
WRITING:
MOVE FROM <source> TO <connection><destination> or
MOVE TO <connection><destination> FROM <source>
Special Note:
You can switch the placement of the qualifiers within this command
line. As long as you place the <connection> <destination> directly after the TO
qualifier, and the <source> directly after the FROM qualifier.
WRITING:
MO FR "N13:90" TO :C13"N16:1"
move to :c55'machine_7' fr 'hold'
Содержание PLC-5 MAP/OSI
Страница 1: ...PLC 5 MAP OSI Software User Manual Cat No 1785 OSI AB Parts...
Страница 4: ...Table of Contents iii OSI Layer Management E 1...
Страница 57: ...Chapter 4 Basic Programming Techniques 4 7 For example B7 6 10 AB Parts...
Страница 91: ...Mapping MMS Data Types onto PLC 5 40 5 60 File Types Appendix A A 2 T ACC D 16 AB Parts...