45
8-2. Operation method
It no needs to revise the program when we change the damaged input/output point mapping relation and replace
the damaged point. In PLC special registers, we allocate certain address section for users to change the mapping
relation. Users just need to find and revise the damaged input/output mapping register, and replace the value in
this special register with value of replaced input/output.
Method 1: modify the FD register, below is the table for modifying the input/output points’ mapping ID:
Table1 Mapping relation of the input and soft component
ID
Function
Description
SFD10
I00 correspond to X**
0 of input corresponds to the number of X**
SFD11
I01 correspond to X**
SFD12
I02 correspond to X**
……
……
SFD87
I77 correspond to X**
Default is 77 (octal number)
Table2 mapping relation of the output and soft component
ID
Function
Description
SFD110
O00 correspond to Y**
0 of output corresponds to the number
of Y**
SFD111
O01 correspond to Y**
SFD112
O02 correspond to Y**
……
……
SFD187* O77 correspond to Y**
Default is 77 (octal number)
As show in the table above, the default value in SFD10 is 0. If we replace it with value ‘7’, then all X0 in the
program will correspond to external input X7. But meantime you should replace the value in SFD17 with 0, to
realize exchange. Then original X0 will correspond to X7, and original X7 will correspond to external input
X0.
Note:
※
1
:
After changing the mapping relation, please power on PLC again.
※
2
:
When change the mapping relation, please pay attention, input/output data is octal number while ID is
decimal number.
※
3
:
Exchange the mapping relation when change. i.e. if modify X0 ID to be 5, make sure to change X5 ID to be
0;
※
4
:
Mapping relation, one terminal corresponds to one soft component.
※
5
:
Users can modify the SFD value in the software, please see method 2.
Содержание XG Series
Страница 1: ...1 XG series PLC User manual Hardware Wuxi Xinje Electric Co Ltd Data No PG01 20210906EN 3 6...
Страница 8: ......
Страница 26: ...18 The LAN2 port of XG2 series is used for EtherCAT bus synchronous control of 32 axis motor...
Страница 55: ...47...