Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Products
  • Automation Systems
  • Programmable Logic Controllers (PLC)

Protocol Macro Modbus

CS and CJ Protocol Macro communications for Modbus RTU

Written by Toby Kilroy

Updated at March 24th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Products
    Automation Systems Control Components Motion & Drives Quality control & Inspection Robotics Safety Sensing Services Software Switching Components
  • Amplify e-Store
    e-Store public
  • Public CSC
+ More
e

The CJ and CS series PLCs have SCU and SCB - Serial Communications Units and (daughter) Board options which are highly capable units. These units can execute Protocol Macros, which are user defined communications sequences written and loaded by the CX-Protocol program. 

The Modbus RTU protocol was a very popular protocol for use with these units. the Macro is loaded into the SCU unit, and the PMCR instruction is used in the PLC code to call the communications sequence in the unit. The unit then handled all the communications and returned the data to the user program memory location. 

To perform Modbus RTU master functions, the Protocol Macro must be loaded into the SCU or SCB. This requires the actual Macro program and CX-Protocol (part of the CX One suite of programs). 

Both the documentation and the protocol are available here

Modbus PM V5.zip


macro control modbus protocol

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • HMI to PLC cable
  • PC to C-Series PLC cable
  • How can I scale an analog input or output?
  • Grounding the 0VDC line for power supplies (PELV)
  • Major or Minor Revision mismatch for EtherNet/IP Error 0116

Definition by Author

0
0
Expand