The communication module of CJ1M+CJ1W-SCU41-V1 reads the data of register 0024 (output frequency) for 3G3MV using the protocol macro mode via Modbus-RTU protocol.
The 3G3MV site number is set to 01, the CJ1W-SCU41-V1 unit number is 0, serial port 1, and the sending command is the hexadecimal 010300240001 with a checksum.
Note: 01 is the site number, 03 is the read function code, 0024 is the register address, 0001 is the number of registers to read, and the check is CRC16 check.
The feedback command is a 16-bit checksum with the format 010302□□□□.
Note: □□□□ represents the actual data from the 0024 feedback.
Operation Steps:
1) Set the CJ1W-SCU41-V1 parameters (Serial Port 1, Port Setting to User Defined, Communication Mode to Protocol Macro, and ensure consistent Baud Rate and Data Format) through the IO Table and Unit Settings in CX-Programmer software.
Edit PMCR Commands in CX-Programmer Software:
3) Create a new project in the CX-Protocol software, right-click on "New Protocol List" to select a new protocol, and choose CS/CJ.
4) Right-click "New Protocol" and select "Create New Sequence."
5) Right-click "Send Message List" to create a new "Send Message" and edit the command:
Note: The check code for Modbus-RTU should be set as follows:
6) Right-click on "Receive Message List" to create a new "Receive Message." Edit the command (received data is stored in the channels of the DM300).
7) Right-click "New Sequence" to create a new step.
8) Online with PLC, select the download protocol, compile, then choose download and execute the PMCR command.




