Download Selectron LD-007 Programming instructions

Transcript
Section 5-23
SYSMAC NET Link/SYSMAC LINK Instructions
IORF(97) can be used to refresh I/O words allocated to the CPU or an Expansion I/O Rack only. It cannot be used for other I/O words.
Limitations
St must be less than or equal to E.
Description
When the execution condition is OFF, IORF(97) is not executed. When the
execution condition is ON, all words between St and E will be refreshed. This
will be in addition to the normal I/O refresh performed during the CPU’s cycle.
Execution Time
The execution time for IORF(97), TIORF, is computed as follows:
TIORF = 1 ms + (130 µs x number of words refreshed)
Flags
5-23
There are no flags affected by this instruction.
SYSMAC NET Link/SYSMAC LINK Instructions
The SYSMAC NET Link/SYSMAC LINK instructions are used for communicating with other PCs linked through the SYSMAC NET Link System or SYSMAC LINK System. These instructions are applicable to the CPU11-E only.
5-23-1
NETWORK SEND – SEND(90)
Operand Data Areas
Ladder Symbols
S: Source beginning word
SEND(90)
@SEND(90)
S
S
D
D
C
C
IR, SR, AR, DM, HR, TC, LR
D: Destination beginning word
IR, AR, DM, HR, TC, LR
C: First control data word
IR, AR, DM, HR, TC, LR
Limitations
Can be performed with the CPU11-E only. C through C+2 must be within the
same data area and must be within the values specified below. To be able to
use SEND(90), the system must have a SYSMAC NET Link or SYSMAC
LINK Unit mounted.
Description
When the execution condition is OFF, SEND(90) is not executed. When the
execution condition is ON, SEND(90) transfers data beginning at word S, to
addresses specified by D in the designated node on the SYSMAC NET Link/
SYSMAC LINK System. The control words, beginning with C, specify the
number of words to be sent, the destination node, and other parameters. The
contents of the control data depends on whether a transmission is being sent
in a SYSMAC NET Link System or a SYSMAC LINK System.
The status of bit 15 of C+1 determines whether the instruction is for a SYSMAC NET Link System or a SYSMAC LINK System.
Control Data
SYSMAC NET Link Systems The destination port number is always set to 0. Set the destination node
number to 0 to send the data to all nodes. Set the network number to 0 to
211