
i i
Explanations to Basic Instructions…………………………………………………………... 3-2
3.3 Pointers………………………………………………………………………………………… 3-13
3.4 Interrupt
Pointers……………………………………………………………………………… 3-13
Application Programming Instructions………………………………………………………
Numerical List of Instructions (classified according to the function)……………………..
Numerical List of Instructions (in alphabetic order)………………………………………..
Detailed Instruction Explanation……………………………………………………………..
Ports…………………………………………………………………………. 4-2
Communication Protocol ASCII mode……………………………………………………….. 4-3
ADR (Communication Address) …………………………………………………… 4-3
CMD (Command code) and DATA…………………………………………………
LRC CHK (checksum) ……………………………………………………………… 4-5
Communication Protocol RTU mode………………………………………………………… 4-7
Address (Communication Address) ……………………………………………….
CMD (Command code) and DATA…………………………………………………
CRC CHK (check sum) …………………………………………………………….. 4-8
Address…………………………………………………………………………... 4-10
Code……………………………………………………………………………….. 4-12
Command Code: 01, Read Status of Contact (Input point X is not included)…
Command Code: 02, Read Status of Contact (Input point X is included)……... 4-13
Command Code: 03, Read Content of Register (T, C, D)………………………. 4-14
Command Code: 05, Force ON/OFF single contact……………………………..
Command Code: 06, Set content of single register……………………………… 4-16
Command Code: 15, Force ON/OFF multiple contacts…………………………. 4-16
Command Code: 16, Set content of multiple registers………………………….. 4-17
Step Ladder Instruction [STL], [RET] ……………………………………………………….
Sequential Function Chart (SFC) …………………………………………………………… 5-2
The Operation of STL Program………………………………………………………………
Points to Note for Designing a Step Ladder Program……………………………………..
Types of Sequences…………………………………………………………………………..
Instruction…………………………………………………………………………………. 5-23
Common Problems and Solutions…………………………………………………………... 6-2
(Hex) …………………………………………………………................... 6-4
Devices………………………………………………………….................. 6-6
7 CANopen Funct ion and Oper ation
The Introduction of CANopen…………………………………………………………........... 7-2
The Description of the CANopen Functions………………………………………
The Input/Output Mapping Areas…………………………………………………..
The Installation and the Network Topology………………………………………………….
Dimensions…………………………………………………………................. 7-3
7.2.2
The
Profile………………………………………………………….......................... 7-4
7.2.3
The CAN Interface and the Network Topology…………………………………… 7-4
The CANopen Protocol………………………………………………………….................... 7-9
The Introduction of the CANopen Protocol……………………………………….. 7-9
The CANopen Communication Object…………………………………………….
7.3.3
The Predefined Connection Set……………………………………………………
7-15