Advanced Function Instruction
7 -1 2 3
FUN 151
CLINK
COMMUNICATION LINK INSTRUCTION
(WHICH MAKES PLC ACT AS THE MASTER STATION IN CPU LINK NETWORK
THROUGH PORT 1~4)
FUN 151
CLINK
Pt : Assign the port, 1
~
4
MD : Communication mode, MD0~MD3
SR : Starting register of communication table
(see example for its explanation)
WR : Starting register for instruction operation (see
example for its explanation). It controls 8 registers,
the other programs can not repeat in using.
HR
ROR
DR
K
Range
Ope-
rand
R0
∣
R3839
R5000
∣
R8071
D0
∣
D4095
Pt
1
~
4
MD
0
~
3
SR
○
○
○
WR
○
○
*
○
Description
●
This instruction provides 4 instruction modes MD0
~
MD3. Of which, three instruction modes MD0
~
MD2, are
“regular link network”, and the MD3 is the “high speed link network”. The following are the function description of
respective modes. For the details, please refer to section 12.1.2 for explanation.
h
MD0 : Master station mode for FATEK CPU LINK.
For any PLC, whose ladder program contains the FUN151:MD0 instruction, will become master
station of FATEK CPU LINK network. The master station PLC will base on the communication
program stored in data registers in which the target station, data type, data length, etc, were
specified to read or write slave station via “FATEK FB-PLC Communication Protocol” command.
With this approach up to 254 PLC stations can share the data each other
h
MD1 : Active ASCII data transmission mode.
With this mode, the FUN151 instruction will parse the communication program stored in data
registers and base on the parsing result send the data from port2 to ASCII peripherals (such as
computer, other brand PLC, inverter, moving sign, etc, this kind of device can command by ASCII
message). The operation can set to be (1) transmit only, which ignores the response from
peripherals, (2) transmit and then to receive the response from peripherals. When operate with
mode (2) then the user must base on the communication protocol of peripheral to parsing and
prepare the response message by writing the ladder instructions.
h
MD2 : Passive ASCII data receiving mode.
With this mode, the FUN151 will first wait to receive ASCII messages sent by external ASCII
peripherals (such as computer, other brand PLC, card reader, bar code reader, electronic weight,
etc. this kind of device can send ASCII message). Upon receiving the message, the user can base
on the communication protocol of peripheral to parsing and react accordingly. The operation can
set to (1) receive only without responding, or (2) receive then responding. For operation mode (2)
the user can use the table driver method to write a communication program and after received a
message this instruction can base on this communication program automatically reply the
message to peripheral.
h
MD3 : Master station mode of FATEK high speed CPU LINK.
The most distinguished difference between this mode and MD0 is that the communication
response of MD3 is much faster than MD0. With The introduction of MD3 mode CPU LINK, The
FATEK PLC can easily to implement the application of distributed control and real time data
monitoring.
Содержание FBs-CBE
Страница 78: ...MEMO ...
Страница 111: ...4 6 X0 X1 Node A Y0 Y1 Node B differential down Incerse differential up t Scan time Inverse t t ...
Страница 141: ...Basic Function Instruction 6 16 FUN 2 SKP SKIP START FUN 2 SKP Y2 Y1 Y0 T201 10S X0 X1 X2 0 10 0 ...
Страница 305: ...MEMO ...
Страница 348: ...MEMO ...