Chapter 6: Instructions
77
Special Instructions
Mnemonic
Command
Word
Double Word
Description
INPR
Input Refresh
INPR
Ch =
Refresh external input (get input
signal during execution of program).
Ch is external input word address.
OUTR
Output Refresh
OUTR
Ch =
Refresh external output (send output
signal during execution of program).
Ch is external output word address.
WAT
Watchdog Timer
WAT
Clear watchdog elapsed value.
END
END
END
End program. This instruction is
automatically added by GPC.
READ
Read data,
intelligent I/O unit,
shared memory
READ
To = RR1
Sz = NR3
Fr = NN5:NR6
Read NR3 words from slot NN5,
module memory address NR6, and
store in words starting at RR1.
WRITE
Write data,
intelligent I/O unit,
shared memory
WRITE
To = NN1:NR2
Sz = NR3
Fr = NR5
Read NR3 words from NR5, and write
them to slot NN1, module memory
address NR2.
RMRD
Read data, remote
I/O, intelligent I/O
unit, shared
memory
RMRD
To = NR1:RR2
Nt = NN3:NN4
Fr = NN5:NR6
Read NR1 words from remote I/O
loop NN3, station NN4, slot NN5,
module memory address NR6, and
store in words starting at RR2.
RMWR
Write data, remote
I/O, intelligent I/O
unit, shared
memory
RMWR
Nt = NN1:NN2
To = NN3:NR4
Fr = NR5:NR6
Read NR5 words from NR6, and write
them to remote I/O loop NN1, station
NN2, slot NN3, module memory
address NR4.
RECV
Receive data (Link
Network)
RECV
To = NR1:RR2
Nt = NN3:NN4
Fr = NN5:NR6
Read NR1 words from link network
NN3, station NN4, register type NN5,
address NR6, and write them to
words starting at RR2.
SEND
Send data (Link
Network)
SEND
Nt = NN1:NN2
To = NN3:NR4
Fr = NR5:NR6
Read NR5 words from NR6, and write
them to link network NN1, station
NN2, register type NN3, address
NR4.
RECVB
Receive data (Link
Network)
RECVB
To = BR1
Nt = NN3:NN4
Fr = NN5:NR6
Read the bit value from link network
NN3, station NN4, register type NN5,
bit address NR6, and store to bit
address BR1.
SENDB
Send data (Link
Network)
SENDB
Nt = NN1:NN2
To = NN3:NR4
Fr = NB5
Read the bit value of NB5, and write it
to link network NN1, station NN2,
register type NN3, bit address NR4.
Summary of Contents for D320 PLC
Page 1: ...D320 PLC User s Manual...
Page 18: ...6 D320 PLC User s Manual...
Page 28: ...16 D320 PLC User s Manual...
Page 34: ...22 D320 PLC User s Manual...
Page 78: ...66 D320 PLC User s Manual...
Page 176: ...164 D320 PLC User s Manual...
Page 210: ...198 D320 PLC User s Manual...
Page 258: ...246 D320 PLC User s Manual...