CALL PLCREAD( 1, 12, 30, 1, t% )
This will capture the monitor value of a timer.
CALL PLCWRITE Statement
Purpose:
This command is used to write value(s) to the IDEC’s register(s), memory
location(s), or to force one or more output bits in a PLC.
Syntax:
CALL PLCWRITE
(id,cmd,start address,# of
registers/bits,expression/variable/array)
Comments:
id
specifies the address of the IDEC - always use 1.
cmd
specifies the write operation you wish to perform. See the table below
for the write operation possibilities:
address
-
describes where in memory the value is to be stored or read from
count
-
number of bits to be read ( when using command of size WORD this
will be a 1 )
variable/number
-
this is the variable or number that is to be written in
memory in the case of a write or the variable that will store the value being
read
Examples:
CALL PLCWRITE( 1, 4, 805, 1, 12345)
This command tells the Idec PLC to write in register #805 the value 12345.
This function is only available in the FA-2J PLC.
CALL PLCWRITE( 1, 9, 400, 13, 4077)
This instructs the PLC to write into the internal relays at address 400, the
value of 4077 using 13 bits.
T-60 Operator's Manual
92
Summary of Contents for T-60
Page 1: ...T 60 Operator s Manual P N 400248 00 Rev A3 Date November1 1995 ...
Page 2: ......
Page 4: ...ii ...
Page 8: ...Table of Contents vii ...
Page 12: ...T 60 Operator s Manual 4 ...
Page 15: ...Figure 3 Mounting Figure 4 Mounting Clips Installation Through Panel Mounting 7 ...
Page 38: ...T 60 Operator s Manual 30 ...
Page 44: ...T 60 Operator s Manual 36 ...
Page 52: ...T 60 Operator s Manual 44 ...
Page 64: ...T 60 Operator s Manual 56 ...
Page 66: ...Figure 21 Physical Dimensions T 60 Operator s Manual 58 ...
Page 113: ...Appendix A List of Figures A 3 ...