MV6100COMI卡件備件,MV6100COMI工控PLC
輸入/輸出擴展概述
SST-PB3-CLX主機支持最多1984個輸入字節(jié)和1968個輸入/輸出數(shù)據(jù)輸出4個I/O頁內(nèi)的字節(jié)。開頭為控制寄存器保留了4個字節(jié)每一頁的。每個輸入頁為500字節(jié),每個輸出頁為496字節(jié)。
主機通過寫入來控制將哪個I/O頁映射到ControlLogix I/O表ControlLogix輸出表的字節(jié)1。要更改輸入頁,(使用WORD數(shù)據(jù)類型),更新字節(jié)1的下半字節(jié)(本地:2:O.Data[0])。8–11,AOP標記本地:插槽:ModuleControl。將頁碼(0–3)更改為頁碼(0–3)。更改輸出頁面,更新字節(jié)1的上半字節(jié)(本地:插槽:O.Data[0])。

MV6100COMI卡件備件12–15,AOP標記本地:插槽:ModuleControl。將頁碼(0-3)更改為頁碼(4-7)。更改輸出頁時,更新控制寄存器(本地:插槽:I.Data[0])。12–15,AOP標記本地:插槽:ModuleControl。用輸出頁碼和輸出更改頁碼位4-7同步復(fù)制到ControlLogix輸出之前,需要同時提供數(shù)據(jù)
更改輸入頁面后,主機應(yīng)等待固件設(shè)置頁碼在輸入表的字節(jié)1中(本地:插槽:I.Data[0])。8–11,AOP標記本地:插槽:ModuleControl。當前頁位0-3)。在輸入表字節(jié)1的低半字節(jié)(本地:插槽:I.Data[0])。8–11,AOP標記本地:插槽:ModuleControl。CurrentPage位0-3)等于輸出表的低半字節(jié)字節(jié)1(本地:插槽:O.Data[0]。8–11,AOP標記本地:插槽:ModuleControl.ChangePage位0-3)。要檢索或更新頁面上的數(shù)據(jù),請使用RsLogix 5000軟件。使用CPS指令時,I/O更新無法在
您正在復(fù)制到本地緩沖區(qū)/從本地緩沖區(qū)復(fù)制。如果計劃將所有使用的輸入頁讀取到本地處理輸入數(shù)據(jù)之前的緩沖區(qū),下面是避免數(shù)據(jù)所需的示例邏輯撕裂。
I/O Expansion Overview
The SST-PB3-CLX master supports I/O data up to a maximum of 1984 input bytes and 1968
output bytes within 4 I/O pages. There are 4 bytes reserved for control registers at the beginning
of each page. Each input page is 500 bytes and each output page is 496 bytes.
The Host controls which page of I/O is mapped into the ControlLogix I/O table by writing to
Byte 1 of the ControlLogix output table. To change the input page, (WORD Data type is used),
update the lower nibble of byte 1 (Local:2:O.Data[0].8 – 11, AOP Tag
Local:Slot:ModuleControl.ChangePage Bits 0 - 3) with page number (0 – 3). To change the
output page, update the upper nibble of byte 1 (Local:Slot:O.Data[0].12 – 15, AOP Tag
Local:Slot:ModuleControl.ChangePage Bits 4 - 7) with page number (0 -3).
When changing Output Pages, updating the Control register (Local:Slot:I.Data[0].12 – 15, AOP
tag Local:Slot:ModuleControl.ChangePage Bits 4 - 7) with the output page number and output
data at the same time is required before doing a Synchronous Copy to the ControlLogix Output
table.
After changing the Input pages, the host should wait for the firmware to set the page number(s)
in byte 1 of the Input table (Local:Slot:I.Data[0].8 – 11, AOP tag
Local:Slot:ModuleControl.CurrentPage Bits 0 - 3). Input pages should not be read until the
Inpute table’s low nibble of byte 1 (Local:Slot:I.Data[0].8 – 11, AOP tag
Local:Slot:ModuleControl.CurrentPage Bits 0 - 3) is equal to the Output table’s low nibble of
byte 1 (Local:Slot:O.Data[0].8 – 11, AOP tag Local:Slot:ModuleControl.ChangePage Bits 0 - 3).
To retrieve or update the data on a page, use the CPS instruction (Synchronous Copy File) in the
RsLogix 5000 software. With the CPS instruction, an I/O update cannot change the data while
you are copying to/from the local buffer. If you plan to read all used input pages into a local
buffer prior to processing input data, below is sample logic that would be required to avoid data
tearing.
Note